python-trove-classifiers/PKGBUILD

30 lines
1012 B
Bash
Raw Normal View History

2024-11-04 12:13:02 +08:00
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-trove-classifiers
pkgver=2024.10.21.16
2024-11-04 12:13:02 +08:00
pkgrel=1
pkgdesc="Canonical source for classifiers on PyPI (pypi.org)"
arch=('x86_64')
url="https://github.com/pypa/trove-classifiers"
license=('Apache-2.0')
2024-11-04 12:13:02 +08:00
depends=('python')
makedepends=('python-calver' 'python-setuptools' 'python-wheel' 'python-build' 'python-installer')
source=(https://github.com/pypa/trove-classifiers/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
sha256sums=(4c86dbaacda8ca2bee6891dcf24bc1bab2b58a1d5bc36db6d6910bc3488eacf2)
2024-11-04 12:13:02 +08:00
build() {
cd ${pkgname#*-}-${pkgver}
python3 -m build --wheel --no-isolation
}
package() {
cd ${pkgname#*-}-${pkgver}
python3 -m installer --destdir=${pkgdir} dist/*.whl
2024-11-04 12:13:02 +08:00
}