1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-trove-classifiers
6 pkgdesc="Canonical source for classifiers on PyPI (pypi.org)"
7 url="https://github.com/pypa/trove-classifiers"
11 makedepends=('python-calver' 'python-setuptools')
12 checkdepends=('python-pytest')
13 source=("https://github.com/pypa/trove-classifiers/archive/$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('61b776e2c4cb79788a14c17cf10f3cafaa3364bce3927e0e328b2129b65efdac9948e54d74e4454df3a094b25e6eb23074b577c5eb5735cc1939342f5c5d06ce')
17 cd trove-classifiers-$pkgver
18 echo "Version: $pkgver" > PKG-INFO
22 cd trove-classifiers-$pkgver
27 cd trove-classifiers-$pkgver
29 PYTHONPATH="$PWD"/build/lib python -m tests.lib
33 cd trove-classifiers-$pkgver
34 python setup.py install --root="$pkgdir" --optimize=1