python3-setuptools-scm 9.2.2-1

This commit is contained in:
2025-12-07 00:15:46 +03:00
parent 0f5a5bda33
commit ad2f3f19c9
2 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
name='python3-setuptools-scm'
version='9.2.2'
release='1'
desc='Setuptools plugin for managing versions with SCM metadata'
desc_ru='Плагин Setuptools для управления версиями с метаданными SCM'
homepage='https://github.com/pypa/setuptools_scm'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('MIT')
provides=('setuptools-scm')
conflicts=('setuptools-scm')
deps=('python3' 'python3-setuptools' 'python3-packaging' 'python3-typing-extensions')
deps_alt=('python3' 'python3-module-setuptools' 'python3-module-packaging' 'python3-module-typing-extensions')
deps_arch=('python' 'python-setuptools' 'python-packaging' 'python-typing-extensions')
deps_debian=('python3' 'python3-setuptools' 'python3-packaging' 'python3-typing-extensions')
deps_fedora=("${deps[@]}")
deps_redos=("${deps[@]}")
deps_rhel=("${deps[@]}")
deps_rosa=("${deps[@]}")
deps_alpine=('python3' 'py3-setuptools' 'py3-packaging' 'py3-typing-extensions')
build_deps=('python3' 'python3-pip' 'python3-build' 'python3-installer' 'python3-setuptools' 'python3-wheel')
build_deps_alt=('python3' 'python3-module-pip' 'python3-module-build' 'python3-module-installer' 'python3-module-setuptools' 'python3-module-wheel')
build_deps_arch=('python' 'python-pip' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
build_deps_debian=('python3' 'python3-pip' 'python3-build' 'python3-installer' 'python3-setuptools' 'python3-wheel')
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps[@]}")
build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
build_deps_alpine=('python3' 'py3-pip' 'py3-build' 'py3-installer' 'py3-setuptools' 'py3-wheel')
sources=("https://files.pythonhosted.org/packages/source/s/setuptools-scm/setuptools_scm-${version}.tar.gz")
checksums=('1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57')
build() {
cd "$srcdir/setuptools_scm-${version}"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/setuptools_scm-${version}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
files() {
files-find-lib
}