update to 12.4-systemd: python-flit-core-3.12.0

This commit is contained in:
2025-12-21 23:14:50 -05:00
parent 2a9969ee82
commit 53343727b6

View File

@@ -0,0 +1,22 @@
pkgname=python-flit-core
_name=${pkgname#python-}
pkgver=3.12.0
pkgdesc="A PEP 517 build backend for packages using Flit"
homepage="https://github.com/pypa/flit/tree/main/flit_core"
license=(BSD-3-Clause)
sources=("flit_core-${pkgver}.tar.gz")
urls=("https://pypi.org/packages/source/f/${_name}/${sources[0]}")
md5sums=("c538415c1f27bd69cbbbf3cdd5135d39")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
}
src_install() {
pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist flit_core
}