update to 12.3: python-flit-core
This commit is contained in:
@@ -1,14 +1,22 @@
|
|||||||
pkgname=python-flit-core
|
pkgname=python-flit-core
|
||||||
_name=${pkgname#python-}
|
_name=${pkgname#python-}
|
||||||
pkgver=3.9.0
|
pkgver=3.11.0
|
||||||
pkgdesc="A PEP 517 build backend for packages using Flit"
|
pkgdesc="A PEP 517 build backend for packages using Flit"
|
||||||
homepage="https://github.com/pypa/flit/tree/main/flit_core"
|
homepage="https://github.com/pypa/flit/tree/main/flit_core"
|
||||||
license=(BSD-3-Clause)
|
license=(BSD-3-Clause)
|
||||||
sources=("flit_core-${pkgver}.tar.gz")
|
sources=("flit_core-${pkgver}.tar.gz")
|
||||||
urls=("https://pypi.org/packages/source/f/${_name}/${sources[0]}")
|
urls=("https://pypi.org/packages/source/f/${_name}/${sources[0]}")
|
||||||
md5sums=("3bc52f1952b9a78361114147da63c35b")
|
md5sums=("6d677b1acef1769c4c7156c7508e0dbd")
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
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
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user