db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / python-pyasn1 / trunk / PKGBUILD
blob38ce1cf11d7b984a24a946bb2aab466415a1738e
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=python-pyasn1
4 pkgver=0.4.8
5 pkgrel=8
6 arch=('any')
7 url="https://github.com/etingof/pyasn1"
8 license=('BSD')
9 pkgdesc="ASN.1 library for Python 3"
10 depends=('python')
11 makedepends=('python-setuptools')
12 replaces=('pyasn1')
13 provides=('pyasn1')
14 source=(https://pypi.io/packages/source/p/pyasn1/pyasn1-$pkgver.tar.gz)
15 sha512sums=('e64e70b325c8067f87ace7c0673149e82fe564aa4b0fa146d29b43cb588ecd6e81b1b82803b8cfa7a17d3d0489b6d88b4af5afb3aa0052bf92e8a1769fe8f7b0')
17 check() {
18   cd pyasn1-${pkgver}
19   python setup.py test
22 package() {
23   cd pyasn1-${pkgver}
24   python setup.py install --root="${pkgdir}"
25   install -D -m 644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"