python3-setuptools-scm 8.3.1-1
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
_name=setuptools_scm
|
_name=setuptools_scm
|
||||||
name='python3-setuptools-scm'
|
name='python3-setuptools-scm'
|
||||||
version='8.1.0'
|
version='8.3.1'
|
||||||
release='1'
|
release='1'
|
||||||
desc='Handles managing your python package versions in scm metadata.'
|
desc='Handles managing your python package versions in scm metadata.'
|
||||||
homepage='https://github.com/pypa/setuptools_scm'
|
homepage='https://github.com/pypa/setuptools_scm'
|
||||||
@ -57,8 +57,14 @@ package() {
|
|||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
|
|
||||||
# Symlink license file
|
# 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
|
install -d "$pkgdir"/usr/share/licenses/python3-setuptools-scm
|
||||||
ln -s "$site_packages"/$_name-$version.dist-info/LICENSE \
|
ln -s "$site_packages"/$_name-$version.dist-info/LICENSE \
|
||||||
"$pkgdir"/usr/share/licenses/python3-setuptools-scm/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/*
|
||||||
|
}
|
Reference in New Issue
Block a user