new blfs: dev-python/trove-classifiers-2025.8.6.13
This commit is contained in:
24
dev-python/trove-classifiers-2025.8.6.13.PKGBUILD
Normal file
24
dev-python/trove-classifiers-2025.8.6.13.PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
pkgname=trove-classifiers
|
||||
pkgver=2025.8.6.13
|
||||
pkgdesc="Canonical source for classifiers on PyPI (pypi.org)"
|
||||
homepage="https://github.com/pypa/trove-classifiers"
|
||||
license=('Apache-2.0')
|
||||
arch=('any')
|
||||
sources=("${pkgname/-/_}-${pkgver}.tar.gz")
|
||||
urls=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${sources[0]}")
|
||||
md5sums=("939166b6e238cdafdbe63becd398e906")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
#sed -i '/calver/s/^/#/;$iversion="${pkgver}"' setup.py
|
||||
}
|
||||
|
||||
src_build() {
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
# check need pytest, but trove-classifiers is needed by pytest
|
||||
|
||||
src_install() {
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
Reference in New Issue
Block a user