Browse Source

[trunk] -> [staging] 'python-asn1crypto-1.4.0-5' add

master
artoo 9 months ago
parent
commit
804072596c
  1. 2
      trunk/PKGBUILD
  2. 31
      x86_64/staging/PKGBUILD

2
trunk/PKGBUILD

@ -4,7 +4,7 @@
pkgname=python-asn1crypto
pkgver=1.4.0
pkgrel=4
pkgrel=5
arch=('any')
license=('MIT')
pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API"

31
x86_64/staging/PKGBUILD

@ -0,0 +1,31 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com >
pkgname=python-asn1crypto
pkgver=1.4.0
pkgrel=5
arch=('any')
license=('MIT')
pkgdesc="Python ASN.1 library with a focus on performance and a pythonic API"
url="https://github.com/wbond/asn1crypto"
depends=('python')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/wbond/asn1crypto/archive/$pkgver.tar.gz")
sha512sums=('989e4e0650252c29477d71263549b99f2c51c87f0768c20264b3de65f32edd8e7922e8af23bb1a7e29567a4ad8c4c5d596cdf7db3c766352c7f19d4f93361cd0')
build() {
cd "$srcdir"/asn1crypto-$pkgver
python setup.py build
}
check() {
cd "$srcdir"/asn1crypto-$pkgver
python run.py tests
}
package() {
cd asn1crypto-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-asn1crypto/LICENSE
}
Loading…
Cancel
Save