aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-04-03 13:08:36 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-03 15:49:06 +0000
commit5b042fb6e82d4a76ab47b67e788d5457ba8bfc51 (patch)
tree14eadd16f59b26b6b1179840ac8c690325c30f3a
parentebf6af9ba3b5d697b744974704eaa823ac786caa (diff)
downloadaports-5b042fb6e82d4a76ab47b67e788d5457ba8bfc51.tar.bz2
aports-5b042fb6e82d4a76ab47b67e788d5457ba8bfc51.tar.xz
main/py3-cryptography: upgrade to 2.9, modernize
-rw-r--r--main/py3-cryptography/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/main/py3-cryptography/APKBUILD b/main/py3-cryptography/APKBUILD
index 67d5daaa25..cc749a5b90 100644
--- a/main/py3-cryptography/APKBUILD
+++ b/main/py3-cryptography/APKBUILD
@@ -2,35 +2,30 @@
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=py3-cryptography
_pkgname=cryptography
-pkgver=2.8
-pkgrel=1
+pkgver=2.9
+pkgrel=0
pkgdesc="A package which provides cryptographic recipes and primitives"
url="https://pypi.python.org/pypi/cryptography"
arch="all"
license="Apache-2.0 OR BSD-3-Clause"
depends="python3 py3-cffi py3-idna py3-asn1crypto py3-six"
makedepends="python3-dev py3-setuptools libffi-dev openssl-dev"
-source="
- https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
-"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-cryptography" # Backwards compatibility
provides="py-cryptography=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py check
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="bf3ca44123c693b0602be19445925f9efebd46c469909e47b7907d57141fb6bd99268c33e1fe3f42a08ab8b4edd4f98f21b6a682f530352313334dfd31ba91e7 cryptography-2.8.tar.gz"
+sha512sums="7db2846b901e42ddc4caa9851235e5a0894ef702d4c4692eb60fcae17bc4e7833782a8001679ea41b78f9273d7d68a4b85810248590e12ca33cfade3208e2849 cryptography-2.9.tar.gz"