From 99d18a6bc1a915ef5f07116e0fe684f56825a165 Mon Sep 17 00:00:00 2001 From: Huang Qiyu Date: Wed, 21 Mar 2018 11:36:17 +0800 Subject: python-pytest: 3.4.1 -> 3.4.2 1.Upgrade python-pytest from 3.4.1 to 3.4.2. 2.Modify pytest_version_fix.patch, since the data has been changed. Signed-off-by: Huang Qiyu --- meta-python/recipes-devtools/python/python-pytest.inc | 4 ++-- .../python/python-pytest/pytest_version_fix.patch | 2 +- meta-python/recipes-devtools/python/python-pytest_3.4.1.bb | 8 -------- meta-python/recipes-devtools/python/python-pytest_3.4.2.bb | 8 ++++++++ 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pytest_3.4.1.bb create mode 100644 meta-python/recipes-devtools/python/python-pytest_3.4.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-pytest.inc b/meta-python/recipes-devtools/python/python-pytest.inc index 60ff83008..4feb9a03c 100644 --- a/meta-python/recipes-devtools/python/python-pytest.inc +++ b/meta-python/recipes-devtools/python/python-pytest.inc @@ -3,8 +3,8 @@ HOMEPAGE = "http://pytest.org" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c39b24965f4aef64222cb35de9d47cc4" -SRC_URI[md5sum] = "6768537cbb150022387c565051904a1c" -SRC_URI[sha256sum] = "9ddcb879c8cc859d2540204b5399011f842e5e8823674bf429f70ada281b3cc6" +SRC_URI[md5sum] = "1b83a25d45fad893f430fc5031653c56" +SRC_URI[sha256sum] = "117bad36c1a787e1a8a659df35de53ba05f9f3398fb9e4ac17e80ad5903eb8c5" SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \ file://pytest_version_fix.patch " diff --git a/meta-python/recipes-devtools/python/python-pytest/pytest_version_fix.patch b/meta-python/recipes-devtools/python/python-pytest/pytest_version_fix.patch index 908f862b5..b373d93e8 100644 --- a/meta-python/recipes-devtools/python/python-pytest/pytest_version_fix.patch +++ b/meta-python/recipes-devtools/python/python-pytest/pytest_version_fix.patch @@ -36,7 +36,7 @@ Index: pytest-3.2.2/setup.py + return version_match.group(1) + raise RuntimeError("Unable to find version string.") - def has_environment_marker_support(): + def get_environment_marker_support_level(): """ @@ -59,9 +72,7 @@ def main(): name='pytest', diff --git a/meta-python/recipes-devtools/python/python-pytest_3.4.1.bb b/meta-python/recipes-devtools/python/python-pytest_3.4.1.bb deleted file mode 100644 index 201ab050c..000000000 --- a/meta-python/recipes-devtools/python/python-pytest_3.4.1.bb +++ /dev/null @@ -1,8 +0,0 @@ -inherit pypi setuptools -require python-pytest.inc - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-argparse \ - ${PYTHON_PN}-compiler \ - ${PYTHON_PN}-funcsigs \ -" diff --git a/meta-python/recipes-devtools/python/python-pytest_3.4.2.bb b/meta-python/recipes-devtools/python/python-pytest_3.4.2.bb new file mode 100644 index 000000000..201ab050c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pytest_3.4.2.bb @@ -0,0 +1,8 @@ +inherit pypi setuptools +require python-pytest.inc + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-argparse \ + ${PYTHON_PN}-compiler \ + ${PYTHON_PN}-funcsigs \ +" -- cgit v1.2.3-54-g00ecf