2024-04-15 20:44:15 +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-flit-core
|
2024-11-03 02:39:29 +08:00
|
|
|
pkgver=3.10.1
|
|
|
|
pkgrel=1
|
2024-04-15 20:44:15 +08:00
|
|
|
pkgdesc="A PEP 517 build backend for packages using Flit"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://pypi.org/project/flit-core/"
|
|
|
|
license=('BSD')
|
|
|
|
depends=('python')
|
2024-04-15 20:46:28 +08:00
|
|
|
makedepends=('python-build' 'python-installer')
|
2024-04-15 20:44:15 +08:00
|
|
|
source=(https://pypi.org/packages/source/f/flit-core/flit_core-${pkgver}.tar.gz)
|
2024-11-03 02:39:29 +08:00
|
|
|
sha256sums=(66e5b87874a0d6e39691f0e22f09306736b633548670ad3c09ec9db03c5662f7)
|
2024-04-15 20:44:15 +08:00
|
|
|
|
|
|
|
build() {
|
2024-11-03 02:39:29 +08:00
|
|
|
cd flit_core-${pkgver}
|
2024-04-15 20:44:15 +08:00
|
|
|
|
2024-11-03 02:39:29 +08:00
|
|
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
2024-04-15 20:44:15 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2024-11-03 02:39:29 +08:00
|
|
|
cd flit_core-${pkgver}
|
2024-04-15 20:44:15 +08:00
|
|
|
|
2024-11-03 02:39:29 +08:00
|
|
|
python3 bootstrap_install.py --install-root ${pkgdir} dist/*.whl
|
2024-04-15 20:44:15 +08:00
|
|
|
}
|