summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-pyasn1/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/python_modules/python-pyasn1/PKGBUILD')
-rw-r--r--abs/core/python_modules/python-pyasn1/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/abs/core/python_modules/python-pyasn1/PKGBUILD b/abs/core/python_modules/python-pyasn1/PKGBUILD
index ae8b69c..dbfab2a 100644
--- a/abs/core/python_modules/python-pyasn1/PKGBUILD
+++ b/abs/core/python_modules/python-pyasn1/PKGBUILD
@@ -2,17 +2,17 @@
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgbase=python-pyasn1
-pkgname=('python2-pyasn1')
-pkgver=0.1.9
+pkgname=('python-pyasn1' 'python2-pyasn1')
+pkgver=0.4.2
pkgrel=1
arch=('any')
url="http://sourceforge.net/projects/pyasn1/"
license=('BSD')
-makedepends=('python2-setuptools')
+makedepends=('python-setuptools' 'python2-setuptools')
replaces=('pyasn1')
provides=('pyasn1')
-source=(http://downloads.sourceforge.net/sourceforge/pyasn1/pyasn1-${pkgver}.tar.gz)
-sha1sums=('d19599c5d9d039ead21ffcd1a2392c29a838ae03')
+source=(https://pypi.io/packages/source/p/pyasn1/pyasn1-$pkgver.tar.gz)
+sha512sums=('30e7cdfd2f7b182081f951bd94169a300a577f95fbfcb4ddb6dc288617b2776265018d246ae0adb649650ee94aab9122a428313d7a61559f97ed7f02b9670709')
check() {
cd pyasn1-${pkgver}
@@ -26,7 +26,7 @@ package_python-pyasn1() {
cd pyasn1-${pkgver}
python setup.py install --root="${pkgdir}"
- install -D -m 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m 644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_python2-pyasn1() {
@@ -35,5 +35,5 @@ package_python2-pyasn1() {
cd pyasn1-${pkgver}
python2 setup.py install --root="${pkgdir}"
- install -D -m 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m 644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}