python3-pikepdf: use python3-setuptools_scm
This commit is contained in:
parent
9c8d003e88
commit
34e751e869
|
@ -1,11 +0,0 @@
|
|||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -90,8 +90,6 @@ if __name__ == '__main__':
|
||||
setup_requires=[
|
||||
'setuptools >= 50',
|
||||
'wheel >= 0.35',
|
||||
- 'setuptools_scm[toml] >= 4.1',
|
||||
- 'setuptools_scm_git_archive',
|
||||
'pybind11 >= 2.6.0, <3',
|
||||
],
|
||||
extras_require={'docs': docs_require},
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'python3-pikepdf'
|
||||
pkgname=python3-pikepdf
|
||||
version=2.11.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="pikepdf-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-pybind11 python3-setuptools python3-toml python3-wheel"
|
||||
hostmakedepends="python3-pybind11 python3-setuptools_scm python3-toml python3-wheel"
|
||||
makedepends="libqpdf-devel python3-pybind11"
|
||||
depends="python3-lxml python3-Pillow"
|
||||
checkdepends="python3-dateutil python3-hypothesis python3-lxml python3-Pillow python3-psutil python3-pytest"
|
||||
|
@ -16,7 +16,7 @@ distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz"
|
|||
checksum=810488f80a1d93652498222f9d1391d9287b3b842971d7a8878e69a287c2476f
|
||||
|
||||
pre_build() {
|
||||
vsed -i "s/__version__.*/__version__ = '${version}'/g" setup.py
|
||||
vsed -e '/setuptools_scm_git_archive/d' -i setup.py
|
||||
}
|
||||
|
||||
do_check() {
|
||||
|
|
Loading…
Reference in New Issue