python-trove-classifiers 2024.3.3-1
This commit is contained in:
commit
97803a0d69
29
PKGBUILD
Normal file
29
PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# 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.3.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Canonical source for classifiers on PyPI (pypi.org)"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/pypa/trove-classifiers"
|
||||||
|
license=('Apache')
|
||||||
|
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=(eff4f71003be1273a2b561864f6ba33f39c450c50a6f56ede784bec5cd78513a)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m build --wheel --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user