update to 12.4-systemd: python-packaging-25.0

This commit is contained in:
2025-12-22 00:12:01 -05:00
parent 53343727b6
commit 73e68f1634

View File

@@ -0,0 +1,21 @@
pkgname=python-packaging
_name=${pkgname#python-}
pkgver=25.0
pkgdesc="Core utilities for Python packages"
homepage="https://pypi.org/project/packaging/"
license=('Apache-2.0')
sources=("${_name}-${pkgver}.tar.gz")
urls=("https://files.pythonhosted.org/packages/source/p/${_name}/${sources[0]}")
md5sums=("ab0ef21ddebe09d1803575120d3f99f8")
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 ${_name}
}