aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-cryptography
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-07-29 19:07:45 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-08-02 05:42:05 +0000
commita9777969d2c8f8c03efc0475f157d44a5693baab (patch)
tree4f4a30b859bcce42f650ed4e6c908f92521d136b /main/py-cryptography
parent9c79948c2c938cb92c7093af8133c340fb618b21 (diff)
downloadaports-a9777969d2c8f8c03efc0475f157d44a5693baab.tar.bz2
aports-a9777969d2c8f8c03efc0475f157d44a5693baab.tar.xz
main/py-cryptography: upgrade to 2.0.2 and modernize abuild
Diffstat (limited to 'main/py-cryptography')
-rw-r--r--main/py-cryptography/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/py-cryptography/APKBUILD b/main/py-cryptography/APKBUILD
index 583581226a..ddd8a40206 100644
--- a/main/py-cryptography/APKBUILD
+++ b/main/py-cryptography/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=py-cryptography
_pkgname=${pkgname#py-}
-pkgver=1.9
+pkgver=2.0.2
pkgrel=0
pkgdesc="A package which provides cryptographic recipes and primitives"
url="http://pypi.python.org/pypi/cryptography"
@@ -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() {
@@ -31,7 +31,7 @@ _py() {
cd "$builddir"
$python setup.py install --prefix=/usr \
- --root="$subpkgdir" --optimize=1 || return 1
+ --root="$subpkgdir" --optimize=1
}
_py2() {
@@ -45,4 +45,4 @@ _py3() {
_py python3
}
-sha512sums="815e9c09366935f8603a3e6e74c28ce79175596d00dbcd19d3792505237bd1cf953a4f401c2b97e4beaa7f2bbdcf9d7f95c4753d001a07fa816830af97cdd24e cryptography-1.9.tar.gz"
+sha512sums="a71219ff52006a7c8bf1553d0f132c747566c630281ef89aac40c65b193b1f0074fc9cda1de7057c76b452113dfb6188c83baef3ed9c05ff18adbc8b7bba646b cryptography-2.0.2.tar.gz"