Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
python-pyasn1-modules
Commits:
1d5f640a by Daniel M. Capella at 2024-08-01T22:52:09-04:00
upgpkg: 0.4.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,16 @@
pkgbase = python-pyasn1-modules
pkgdesc = A collection of ASN.1-based protocols modules
- pkgver = 0.3.0
- pkgrel = 2
+ pkgver = 0.4.0
+ pkgrel = 1
url = https://github.com/pyasn1/pyasn1-modules
arch = any
- license = BSD
+ license = BSD-2-Clause
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
depends = python-pyasn1
- source =
https://github.com/pyasn1/pyasn1-modules/archive/v0.3.0/pyasn1-modules-0.3.0.tar.gz
- sha512sums =
74628ae1df081f92f9029fc5357fe6f6c3ef91c3ee3f7dcf3e6a2cb53724db5b95632bbe0339612cd0627680147f93ded2e24a43d549c5e528f9acf53339954e
+ source =
https://github.com/pyasn1/pyasn1-modules/archive/v0.4.0/pyasn1-modules-0.4.0.tar.gz
+ sha512sums =
63469221598f7aa5eebebbcd847f41f26b8fbbf4ea4ebfa062ab7d43c68c32659293fece68733c56e1818c83ecceb4ee067786a57ea29faed99e65bed9d46201
pkgname = python-pyasn1-modules
=====================================
PKGBUILD
=====================================
@@ -1,16 +1,16 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=python-pyasn1-modules
-pkgver=0.3.0
-pkgrel=2
+pkgver=0.4.0
+pkgrel=1
pkgdesc="A collection of ASN.1-based protocols modules"
arch=('any')
-license=('BSD')
+license=('BSD-2-Clause')
url="https://github.com/pyasn1/pyasn1-modules"
depends=('python-pyasn1')
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
source=("https://github.com/pyasn1/pyasn1-modules/archive/v$pkgver/pyasn1-modules-$pkgver.tar.gz")
-sha512sums=('74628ae1df081f92f9029fc5357fe6f6c3ef91c3ee3f7dcf3e6a2cb53724db5b95632bbe0339612cd0627680147f93ded2e24a43d549c5e528f9acf53339954e')
+sha512sums=('63469221598f7aa5eebebbcd847f41f26b8fbbf4ea4ebfa062ab7d43c68c32659293fece68733c56e1818c83ecceb4ee067786a57ea29faed99e65bed9d46201')
build() {
cd pyasn1-modules-$pkgver
@@ -25,5 +25,10 @@ check() {
package() {
cd pyasn1-modules-$pkgver
python -m installer -d "$pkgdir" dist/*.whl
- install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+
+ # Symlink license file
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/pyasn1_modules-$pkgver.dist-info/LICENSE.txt \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyasn1-modules/-/commit/1d5f640a67d01b2c2d4b062347519f2aa2fd2cb7
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyasn1-modules/-/commit/1d5f640a67d01b2c2d4b062347519f2aa2fd2cb7
You're receiving this email because of your account on gitlab.archlinux.org.