diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch | 39 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest_6.1.2.bb | 38 |
2 files changed, 0 insertions, 77 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch b/meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch deleted file mode 100644 index 8c5c17247e..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | From ff784f4803ab33f5e3389e40d038d52d1e211843 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yuan Chao <yuanc.fnst@cn.fujitsu.com> | ||
| 3 | Date: Wed, 28 Aug 2019 16:12:27 +0900 | ||
| 4 | Subject: [PATCH] [PATCH] setup.py: remove the setup_requires for | ||
| 5 | setuptools-scm | ||
| 6 | |||
| 7 | The setup_requires argument forces the download of the egg file for setuptools-scm | ||
| 8 | during the do_compile phase. This download is incompatible with the typical fetch | ||
| 9 | and mirror structure. The only usage of scm is the generation of the _version.py | ||
| 10 | file and in the release tarball it is already correctly created | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [oe specific] | ||
| 13 | |||
| 14 | Signed-off-by: Derek Straka <derek@asterius.io> | ||
| 15 | |||
| 16 | Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> | ||
| 17 | |||
| 18 | Rebase for pytest 6.1.0. | ||
| 19 | |||
| 20 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
| 21 | --- | ||
| 22 | setup.cfg | 1 - | ||
| 23 | 1 file changed, 1 deletion(-) | ||
| 24 | |||
| 25 | diff --git a/setup.cfg b/setup.cfg | ||
| 26 | index 60f6564..c4d1471 100644 | ||
| 27 | --- a/setup.cfg | ||
| 28 | +++ b/setup.cfg | ||
| 29 | @@ -55,7 +55,6 @@ package_dir = | ||
| 30 | =src | ||
| 31 | setup_requires = | ||
| 32 | setuptools>=40.0 | ||
| 33 | - setuptools-scm | ||
| 34 | zip_safe = no | ||
| 35 | |||
| 36 | [options.entry_points] | ||
| 37 | -- | ||
| 38 | 2.17.1 | ||
| 39 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pytest_6.1.2.bb b/meta-python/recipes-devtools/python/python3-pytest_6.1.2.bb deleted file mode 100644 index 6872da5cfa..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest_6.1.2.bb +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | SUMMARY = "Simple powerful testing with python" | ||
| 2 | |||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" | ||
| 5 | |||
| 6 | SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch " | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e" | ||
| 9 | |||
| 10 | inherit update-alternatives pypi setuptools3 | ||
| 11 | |||
| 12 | RDEPENDS_${PN}_class-target += " \ | ||
| 13 | ${PYTHON_PN}-attrs \ | ||
| 14 | ${PYTHON_PN}-debugger \ | ||
| 15 | ${PYTHON_PN}-doctest \ | ||
| 16 | ${PYTHON_PN}-iniconfig \ | ||
| 17 | ${PYTHON_PN}-json \ | ||
| 18 | ${PYTHON_PN}-pluggy \ | ||
| 19 | ${PYTHON_PN}-py \ | ||
| 20 | ${PYTHON_PN}-setuptools \ | ||
| 21 | ${PYTHON_PN}-six \ | ||
| 22 | ${PYTHON_PN}-atomicwrites \ | ||
| 23 | ${PYTHON_PN}-importlib-metadata \ | ||
| 24 | ${PYTHON_PN}-pathlib2 \ | ||
| 25 | ${PYTHON_PN}-wcwidth \ | ||
| 26 | ${PYTHON_PN}-more-itertools \ | ||
| 27 | ${PYTHON_PN}-packaging \ | ||
| 28 | " | ||
| 29 | |||
| 30 | ALTERNATIVE_${PN} += "py.test pytest" | ||
| 31 | |||
| 32 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" | ||
| 33 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" | ||
| 34 | |||
| 35 | ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" | ||
| 36 | ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" | ||
| 37 | |||
| 38 | BBCLASSEXTEND = "native nativesdk" | ||
