Package Details: python-pydeprecate 0.3.2-2

Git Clone URL: https://aur.archlinux.org/python-pydeprecate.git (read-only, click to copy)
Package Base: python-pydeprecate
Description: Python module for deprecation documentation
Upstream URL: https://github.com/Borda/pydeprecate
Licenses: Apache-2.0
Submitter: 7Z0nE
Maintainer: envolution
Last Packager: envolution
Votes: 1
Popularity: 0.000000
First Submitted: 2021-05-10 10:36 (UTC)
Last Updated: 2024-11-29 18:31 (UTC)

Latest Comments

ChrisMorgan commented on 2022-09-05 15:44 (UTC)

Minor packaging error: /usr/share/license should be /usr/share/licenses.

hottea commented on 2021-09-08 13:56 (UTC)

@7Z0nE Maybe you could follow this PKGBUILD. There are issues in the current PKGBUILD in AUR: 1. a pkg should not provides itself and conflicts itself. 2. BSD license is not listed in licenses, so we need to install the LICENSE file. 3. run updpkgsums to update src tarball checksum instead of marking it as SKIP

7Z0nE commented on 2021-09-08 06:51 (UTC)

@trougnouf appearently makepkg downloads the sources before updating the pkgver. A work around can be to just run makepkg twice. First updating the version in the PKGBUILD secondly installing the most recent version. However, I removed the pkgver() and updated the static version.

hottea commented on 2021-09-03 09:27 (UTC)

@trougnouf try this PKGBUILD.

trougnouf commented on 2021-09-03 09:22 (UTC) (edited on 2021-09-03 09:27 (UTC) by trougnouf)

Installation fails, I assume because the PKGBUILD tries to update pkgver which may not be possible ? Changing the version manually works.

Running twice also works, but since you need to run this anyway to update, you might as well add the checksum and run updpkgsums.

[trougnouf@d]: ~/tmp/python-pydeprecate>$ makepkg
==> Making package: python-pydeprecate 0.3.0-1 (Fri 03 Sep 2021 11:23:38 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading pyDeprecate-v0.3.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   125  100   125    0     0    478      0 --:--:-- --:--:-- --:--:--   478
100 16737    0 16737    0     0  26182      0 --:--:-- --:--:-- --:--:--  137k
==> Validating source files with sha256sums...
    pyDeprecate-v0.3.0.tar.gz ... Skipped
==> Extracting sources...
  -> Extracting pyDeprecate-v0.3.0.tar.gz with bsdtar
==> Starting pkgver()...
==> Updated version: python-pydeprecate 0.3.2-1
==> Entering fakeroot environment...
==> Starting package()...
/orb/tmp/hometmp/python-pydeprecate/PKGBUILD: line 29: cd: /orb/tmp/hometmp/python-pydeprecate/src/pyDeprecate-0.3.2: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

7Z0nE commented on 2021-05-17 06:11 (UTC)

@hottea Thanks for pointing out! Can I put 'BSD3' as argument to license? Or does the PKGBUILD only support 'BSD'?

hottea commented on 2021-05-15 15:13 (UTC)

The license is BSD not MIT.