db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / python-trove-classifiers / trunk / PKGBUILD
blob212f28283d2f7550acc7ad574433fc5fb5aab661
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-trove-classifiers
4 pkgver=2023.4.22
5 _commit=dc9cd5ed70f17ce4ccdd791ad8b2ee989772e127
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