archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-trove-classifiers / trunk / PKGBUILD
blob8a881234ca616496519d879c92c557767ce93246
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-trove-classifiers
4 pkgver=2023.4.25
5 _commit=f9c794a4d34e7b02916074ee3dc317905ab21111
6 pkgrel=1
7 pkgdesc="Canonical source for classifiers on PyPI (pypi.org)"
8 url="https://github.com/pypa/trove-classifiers"
9 license=('Apache')
10 arch=('any')
11 depends=('python')
12 makedepends=('git' 'python-calver' 'python-setuptools')
13 checkdepends=('python-pytest')
14 source=("git+https://github.com/pypa/trove-classifiers.git#commit=$_commit")
15 sha512sums=('SKIP')
17 build() {
18   cd trove-classifiers
19   python setup.py build
22 check() {
23   cd trove-classifiers
24   pytest
25   PYTHONPATH="$PWD"/build/lib python -m tests.lib
28 package() {
29   cd trove-classifiers
30   python setup.py install --root="$pkgdir" --optimize=1