diff options
author | Derek Straka <derek@asterius.io> | 2017-07-05 10:00:22 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-14 23:44:31 +0200 |
commit | c974fbf9ebf185552ab65301e07af44f36517abf (patch) | |
tree | e5df11fa16ca50f17ad4ea1d81c64ff588609690 /meta-python/recipes-devtools/python/python-pytest | |
parent | 941ad264a6f9e6b21860c3834ce235b791912972 (diff) | |
download | meta-openembedded-contrib-c974fbf9ebf185552ab65301e07af44f36517abf.tar.gz |
python-pytest: remove fetch during do_compile phase
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pytest')
-rw-r--r-- | meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch b/meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch new file mode 100644 index 00000000000..e283b17c455 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch @@ -0,0 +1,29 @@ +From e2d81009c790b4ebeced8408b6bae78060cabcaf Mon Sep 17 00:00:00 2001 +From: Derek Straka <derek@asterius.io> +Date: Wed, 5 Jul 2017 09:35:51 -0400 +Subject: [PATCH 1/1] setup.py: remove the setup_requires for setuptools-scm + +The setup_requires argument forces the download of the egg file for setuptools-scm +during the do_compile phase. This download is incompatible with the typical fetch +and mirror structure. The only usage of scm is the generation of the _version.py +file and in the release tarball it is already correctly created + +Signed-off-by: Derek Straka <derek@asterius.io> +--- + setup.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 751868c..ef6ebf1 100644 +--- a/setup.py ++++ b/setup.py +@@ -71,7 +71,6 @@ def main(): + keywords="test unittest", + cmdclass={'test': PyTest}, + # the following should be enabled for release +- setup_requires=['setuptools-scm'], + install_requires=install_requires, + extras_require=extras_require, + packages=['_pytest', '_pytest.assertion', '_pytest._code', '_pytest.vendored_packages'], +-- +2.7.4 |