summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-pyasn1
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-01 17:33:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-01 17:33:32 (GMT)
commitbdca6d6614fd6bd759714e6e50ddfc6cc0bcc297 (patch)
tree534870faf2eafd2d3845c6ed1663f02cf6db2ded /abs/core/python_modules/python-pyasn1
parente251d51b9c175b8c95a0d8bfd3817ee1343df4eb (diff)
downloadlinhes_pkgbuild-bdca6d6614fd6bd759714e6e50ddfc6cc0bcc297.zip
linhes_pkgbuild-bdca6d6614fd6bd759714e6e50ddfc6cc0bcc297.tar.gz
linhes_pkgbuild-bdca6d6614fd6bd759714e6e50ddfc6cc0bcc297.tar.bz2
python-pyasn1: update to 0.4.2
Diffstat (limited to 'abs/core/python_modules/python-pyasn1')
-rw-r--r--abs/core/python_modules/python-pyasn1/PKGBUILD14
-rw-r--r--abs/core/python_modules/python-pyasn1/__changelog1
2 files changed, 7 insertions, 8 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"
}
diff --git a/abs/core/python_modules/python-pyasn1/__changelog b/abs/core/python_modules/python-pyasn1/__changelog
deleted file mode 100644
index 60db758..0000000
--- a/abs/core/python_modules/python-pyasn1/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-PKGBUILD: remove py3 stuff