mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 08:37:02 +02:00
python-b2sdk: fix python3-pep517 build
This commit is contained in:
parent
adaf600b3f
commit
2783818387
2 changed files with 15 additions and 1 deletions
srcpkgs/python-b2sdk
14
srcpkgs/python-b2sdk/patches/setuptools_scm.patch
Normal file
14
srcpkgs/python-b2sdk/patches/setuptools_scm.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
The setuptools_scm version restriction isn't relevant and causes the build to
|
||||
fail, so drop it.
|
||||
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -109,7 +109,7 @@
|
||||
# for example:
|
||||
# $ pip install -e .[dev,test]
|
||||
extras_require={'doc': read_requirements('doc')},
|
||||
- setup_requires=['setuptools_scm<6.0'],
|
||||
+ setup_requires=['setuptools_scm'],
|
||||
use_scm_version=True,
|
||||
|
||||
# If there are data files included in your packages that need to be
|
|
@ -4,7 +4,7 @@ pkgname=python-b2sdk
|
|||
version=1.18.0
|
||||
revision=2
|
||||
build_style=python3-pep517
|
||||
make_install_target="b2sdk-${version}-*-*-*.whl"
|
||||
make_install_target="dist/b2sdk-${version}-*-*-*.whl"
|
||||
hostmakedepends="python3-setuptools_scm python3-wheel"
|
||||
depends="python3-logfury python3-Arrow python3-requests python3-six"
|
||||
checkdepends="python3-pytest-lazy-fixture $depends python3-dateutil
|
||||
|
|
Loading…
Add table
Reference in a new issue