From e676674d9b874dabcbfcf21f14faad2a2c6258e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Fri, 2 May 2025 22:33:20 +0300 Subject: [PATCH] python3-setuptools-scm 8.3.1-1 --- python3-setuptools-scm/alr.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python3-setuptools-scm/alr.sh b/python3-setuptools-scm/alr.sh index b135476..44b62bc 100644 --- a/python3-setuptools-scm/alr.sh +++ b/python3-setuptools-scm/alr.sh @@ -1,6 +1,6 @@ _name=setuptools_scm name='python3-setuptools-scm' -version='8.1.0' +version='8.3.1' release='1' desc='Handles managing your python package versions in scm metadata.' homepage='https://github.com/pypa/setuptools_scm' @@ -57,8 +57,14 @@ package() { python -m installer --destdir="$pkgdir" dist/*.whl # Symlink license file - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + site_packages=$(python -c "import site; print(site.getsitepackages()[0])") install -d "$pkgdir"/usr/share/licenses/python3-setuptools-scm ln -s "$site_packages"/$_name-$version.dist-info/LICENSE \ "$pkgdir"/usr/share/licenses/python3-setuptools-scm/LICENSE } + +files() { + echo /usr/share/licenses/python3-setuptools-scm + printf '"%s" ' ./usr/local/lib/python3.*/site-packages/setuptools_scm/**/* + printf '"%s" ' ./usr/local/lib/python3.*/site-packages/setuptools_scm-*.dist-info/* +} \ No newline at end of file