summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2019-06-02 09:30:59 -0400
committerVirgil Dupras <vdupras@gentoo.org>2019-06-02 09:30:59 -0400
commita8c2fb9df70121e653cde6d9d7a14789a54edc1f (patch)
tree29caa9732181f4e3ad4d9ad85c7fd6fea4b0f790 /dev-python/pytest-xdist/files
parentnet-nds/389-ds-base: Maintainer retired (diff)
downloadgentoo-a8c2fb9df70121e653cde6d9d7a14789a54edc1f.tar.gz
gentoo-a8c2fb9df70121e653cde6d9d7a14789a54edc1f.tar.bz2
gentoo-a8c2fb9df70121e653cde6d9d7a14789a54edc1f.zip
dev-python/pytest-xdist: bump to 1.28.0
Had to drop keywords because of new dev-python/filelock dep. Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-python/pytest-xdist/files')
-rw-r--r--dev-python/pytest-xdist/files/pytest-xdist-1.28.0-strip-setuptools-scm.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pytest-xdist/files/pytest-xdist-1.28.0-strip-setuptools-scm.patch b/dev-python/pytest-xdist/files/pytest-xdist-1.28.0-strip-setuptools-scm.patch
new file mode 100644
index 000000000000..8ef0272d2b5b
--- /dev/null
+++ b/dev-python/pytest-xdist/files/pytest-xdist-1.28.0-strip-setuptools-scm.patch
@@ -0,0 +1,27 @@
+diff --git a/setup.py b/setup.py
+index 17abe9a..81422db 100644
+--- a/setup.py
++++ b/setup.py
+@@ -6,9 +6,13 @@ install_requires = ["execnet>=1.1", "pytest>=4.4.0", "pytest-forked", "six"]
+ with open("README.rst") as f:
+ long_description = f.read()
+
++import os
++with open("xdist/_version.py", 'wt') as fp:
++ fp.write('version = "{}"'.format(os.environ['PV']))
++
+ setup(
+ name="pytest-xdist",
+- use_scm_version={"write_to": "xdist/_version.py"},
++ version=os.environ['PV'],
+ description="pytest xdist plugin for distributed testing"
+ " and loop-on-failing modes",
+ long_description=long_description,
+@@ -24,7 +28,6 @@ setup(
+ zip_safe=False,
+ python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
+ install_requires=install_requires,
+- setup_requires=["setuptools_scm"],
+ classifiers=[
+ "Development Status :: 5 - Production/Stable",
+ "Framework :: Pytest",