mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/py-asn1: upgrade to 0.3.1 and modernize abuild
This commit is contained in:
parent
a9777969d2
commit
d046134eeb
@ -2,7 +2,7 @@
|
||||
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
||||
pkgname=py-asn1
|
||||
_pkgname=pyasn1
|
||||
pkgver=0.2.3
|
||||
pkgver=0.3.1
|
||||
pkgrel=0
|
||||
pkgdesc="A python ASN1 library"
|
||||
url="http://pyasn1.sourceforge.net/"
|
||||
@ -16,8 +16,8 @@ builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python2 setup.py build || return 1
|
||||
python3 setup.py build || return 1
|
||||
python2 setup.py build
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -43,4 +43,4 @@ _py3() {
|
||||
_py python3
|
||||
}
|
||||
|
||||
sha512sums="b268dd458bca41f879389412570b4ce72585ac0c671275e0f4edec2ede5cf44d2473b08349f7d8b827cb21d14561c0209a5bf3698596a01ea770c2166eaa7fbf pyasn1-0.2.3.tar.gz"
|
||||
sha512sums="608c6bb32b2077d3ff21b3c789c451e75e31e9cba514800bcb3d987da91b8331cae5dc855c469d8acf299c550be24adcdaeaae2b2c46f9878597bd6576984868 pyasn1-0.3.1.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user