python-flit-core 3.9.0-1

This commit is contained in:
xhaa123 2024-09-07 23:39:16 +08:00
commit 0f459bed45

29
python-flit-core/PKGBUILD Normal file
View 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-flit-core
pkgver=3.9.0
pkgrel=1
pkgdesc="A PEP 517 build backend for packages using Flit"
arch=('x86_64')
url="https://pypi.org/project/flit-core/"
license=('BSD')
depends=('python')
source=(https://pypi.org/packages/source/f/flit-core/flit_core-${pkgver}.tar.gz)
sha256sums=(72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba)
build() {
cd flit_core-${pkgver}
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
}
package() {
cd flit_core-${pkgver}
pip3 install --force-reinstall --root=${pkgdir} --no-index --no-user --find-links=dist flit_core
}