30 lines
1012 B
Bash
30 lines
1012 B
Bash
# 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
|
|
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')
|
|
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)
|
|
|
|
build() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
|
}
|