From 779caeca9309e75244c7616bef0370727b60a604 Mon Sep 17 00:00:00 2001 From: alium Date: Sun, 20 Oct 2019 11:04:18 +0200 Subject: [PATCH] [community] 'python-asn1crypto-1.2.0-1' remove --- repos/community-any/PKGBUILD | 51 ------------------------------------ 1 file changed, 51 deletions(-) delete mode 100644 repos/community-any/PKGBUILD diff --git a/repos/community-any/PKGBUILD b/repos/community-any/PKGBUILD deleted file mode 100644 index ed53a94..0000000 --- a/repos/community-any/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Ionut Biru -# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com > - -pkgbase=python-asn1crypto -pkgname=('python-asn1crypto' 'python2-asn1crypto') -pkgver=1.2.0 -pkgrel=1 -arch=('any') -license=('MIT') -pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API" -url="https://github.com/wbond/asn1crypto" -makedepends=('python-setuptools' 'python2-setuptools') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/wbond/asn1crypto/archive/$pkgver.tar.gz") -sha512sums=('00d7d67e717fde9651aacc35141b872e4fcb6c46457af5e971aceae7f9acf1d018dfef94eddfa05eac7c7f3a4c768edc8a1ca0474101c1e77ee377aa4771274b') - -prepare() { - cp -a asn1crypto-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/asn1crypto-$pkgver - python setup.py build - - cd "$srcdir"/asn1crypto-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/asn1crypto-$pkgver - python run.py tests - - cd "$srcdir"/asn1crypto-$pkgver-py2 - python2 run.py tests -} - -package_python-asn1crypto() { - depends=('python') - - cd asn1crypto-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-asn1crypto/LICENSE -} - -package_python2-asn1crypto() { - depends=('python2') - - cd asn1crypto-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python2-asn1crypto/LICENSE -}