diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 09:48:17 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 10:14:50 +0000 |
commit | b7de218bccea8f8c8a02018291315d6d09f1416a (patch) | |
tree | 9b291998f10db91745409ae6d4d793b71f8e3fd0 /testing/py-service_identity | |
parent | 6b6c99fed61f7da0b17efbbc2aacc484a82bd3ba (diff) | |
download | aports-b7de218bccea8f8c8a02018291315d6d09f1416a.tar.bz2 aports-b7de218bccea8f8c8a02018291315d6d09f1416a.tar.xz |
community/py-service_identity: upgrade to 16.0.0, moved from testing, added python3 support, added py2 and py3 subpackage
Diffstat (limited to 'testing/py-service_identity')
-rw-r--r-- | testing/py-service_identity/APKBUILD | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/testing/py-service_identity/APKBUILD b/testing/py-service_identity/APKBUILD deleted file mode 100644 index 0d3bd7baa4..0000000000 --- a/testing/py-service_identity/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py-service_identity -_pkgname=service_identity -pkgver=14.0.0 -pkgrel=0 -pkgdesc="Service Identity Verification for pyOpenSSL" -url="https://service-identity.readthedocs.org/" -arch="noarch" -license="MIT" -depends="py-asn1 py-asn1-modules py-openssl py-characteristic" -depends_dev="" -makedepends="$depends_dev py-setuptools pytest" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python -Walways setup.py test - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -md5sums="cea0b0156d73b025ecef660fb51f0d9a service_identity-14.0.0.tar.gz" -sha256sums="3105a319a7c558490666694f599be0c377ad54824eefb404cde4ce49e74a4f5a service_identity-14.0.0.tar.gz" -sha512sums="d504ad388defb38a86ca82c8ff9582dbb664a929e4b4ee7f6732b2da5326c33b1764384a8d849972f83ae7800c775daf90c1f3fbc61b8d2c29294f44c7cd36d2 service_identity-14.0.0.tar.gz" |