python-hatchling: Update to 1.16.1
and add new dependencies
This commit is contained in:
36
python-trove-classifiers/PKGBUILD
Normal file
36
python-trove-classifiers/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
||||
|
||||
_pyname=trove-classifiers
|
||||
pkgname=python-trove-classifiers
|
||||
pkgver=2023.5.2
|
||||
pkgrel=1
|
||||
pkgdesc="Canonical source for classifiers on PyPI (pypi.org)"
|
||||
arch=('any')
|
||||
url="https://github.com/pypa/trove-classifiers"
|
||||
license=('spdx:Apache-2.0')
|
||||
depends=(
|
||||
'python'
|
||||
)
|
||||
makedepends=(
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-setuptools'
|
||||
'python-wheel'
|
||||
'python-calver'
|
||||
)
|
||||
source=("https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
|
||||
sha256sums=('c46d6e40a9581599b16c712e0164fec3764872a4085c673c07559787caedb867')
|
||||
|
||||
build() {
|
||||
cd "${_pyname}-${pkgver}"
|
||||
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_pyname}-${pkgver}"
|
||||
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
Reference in New Issue
Block a user