From 672c62323dc1df22914b05b747db82474895a8ff Mon Sep 17 00:00:00 2001 From: zangrc Date: Wed, 4 Dec 2019 15:46:49 +0800 Subject: python-pytest-salt: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-pytest-salt.inc | 21 ++++++++++++++++++++ .../python/python-pytest-salt_2017.7.0.bb | 23 +--------------------- .../python/python3-pytest-salt_2017.7.0.bb | 2 ++ 3 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-pytest-salt.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-pytest-salt_2017.7.0.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-pytest-salt.inc b/meta-openstack/recipes-devtools/python/python-pytest-salt.inc new file mode 100644 index 0000000..1f82763 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-pytest-salt.inc @@ -0,0 +1,21 @@ +SUMMARY = "This pytest plugin will allow the Salt Daemons to be used in tests." +HOMEPAGE = "https://github.com/saltstack/pytest-salt" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" + +SRCNAME = "pytest-salt" +SRC_URI = "git://github.com/saltstack/${SRCNAME}.git;branch=master" + +SRC_URI[md5sum] = "c598d7db87ea52cdeb067d7596b3b0b1" +SRC_URI[sha256sum] = "7052459cda9fbdbbfff9a25b24243b0b96cf56835a2c41135d754cc5b65e2494" + +SRCREV = "feb5031f80cf84b113ebe69543cdd44b6a373d21" +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytest-tempdir \ + ${PYTHON_PN}-pytest-helpers-namespace \ + ${PYTHON_PN}-psutil \ + " diff --git a/meta-openstack/recipes-devtools/python/python-pytest-salt_2017.7.0.bb b/meta-openstack/recipes-devtools/python/python-pytest-salt_2017.7.0.bb index e2cf1cd..e599e77 100644 --- a/meta-openstack/recipes-devtools/python/python-pytest-salt_2017.7.0.bb +++ b/meta-openstack/recipes-devtools/python/python-pytest-salt_2017.7.0.bb @@ -1,23 +1,2 @@ -SUMMARY = "This pytest plugin will allow the Salt Daemons to be used in tests." -HOMEPAGE = "https://github.com/saltstack/pytest-salt" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" - -SRCNAME = "pytest-salt" -SRC_URI = "git://github.com/saltstack/${SRCNAME}.git;branch=master" - -SRC_URI[md5sum] = "c598d7db87ea52cdeb067d7596b3b0b1" -SRC_URI[sha256sum] = "7052459cda9fbdbbfff9a25b24243b0b96cf56835a2c41135d754cc5b65e2494" - -SRCREV = "feb5031f80cf84b113ebe69543cdd44b6a373d21" -S = "${WORKDIR}/git" - +require python-pytest-salt.inc inherit setuptools - -RDEPENDS_${PN} = " \ - python-pytest \ - python-pytest-tempdir \ - python-pytest-helpers-namespace \ - python-psutil \ - " diff --git a/meta-openstack/recipes-devtools/python/python3-pytest-salt_2017.7.0.bb b/meta-openstack/recipes-devtools/python/python3-pytest-salt_2017.7.0.bb new file mode 100644 index 0000000..4e33265 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-pytest-salt_2017.7.0.bb @@ -0,0 +1,2 @@ +require python-pytest-salt.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf