[oe-commits] [meta-openembedded] 10/11: python3-pytest-helpers-namespace: add recipe

git at git.openembedded.org git at git.openembedded.org
Fri Aug 31 06:18:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 00deeeec3bd138d585382e542c0bfca91204fb61
Author: Alejandro del Castillo <alejandro.delcastillo at ni.com>
AuthorDate: Wed Aug 29 13:14:56 2018 +0300

    python3-pytest-helpers-namespace: add recipe
    
    Signed-off-by: Alejandro del Castillo <alejandro.delcastillo at ni.com>
    Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 ...space_2016.7.10.bb => python-pytest-helpers-namespace.inc} |  6 +-----
 .../python/python-pytest-helpers-namespace_2016.7.10.bb       | 11 ++---------
 .../python/python3-pytest-helpers-namespace_2016.7.10.bb      |  7 +++++++
 3 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb b/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc
similarity index 88%
copy from meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb
copy to meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc
index afca487..a69867d 100644
--- a/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb
+++ b/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc
@@ -7,8 +7,4 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=71fac4dfeee99c39c51f617e9486237c"
 SRC_URI[md5sum] = "80fe3e515f640b1459709b539f6b857e"
 SRC_URI[sha256sum] = "d8bdb017c0f7271699c08850b6b12e1ce9e52913cbd4461b5febd21082a29113"
 
-inherit pypi setuptools
-
-RDEPENDS_${PN} += " \
-    python-pytest \
-    "
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb b/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb
index afca487..2b6ee85 100644
--- a/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb
+++ b/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb
@@ -1,13 +1,6 @@
-DESCRIPTION = "This plugin does not provide any helpers to pytest, it does, however, provide a helpers namespace in pytest which enables you to register helper functions in your conftest.py to be used within your tests without having to import them."
-HOMEPAGE = "https://github.com/saltstack/pytest-helpers-namespace"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=71fac4dfeee99c39c51f617e9486237c"
+require python-pytest-helpers-namespace.inc
 
-SRC_URI[md5sum] = "80fe3e515f640b1459709b539f6b857e"
-SRC_URI[sha256sum] = "d8bdb017c0f7271699c08850b6b12e1ce9e52913cbd4461b5febd21082a29113"
-
-inherit pypi setuptools
+inherit setuptools
 
 RDEPENDS_${PN} += " \
     python-pytest \
diff --git a/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb b/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb
new file mode 100644
index 0000000..f03f5d4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb
@@ -0,0 +1,7 @@
+require python-pytest-helpers-namespace.inc
+
+inherit setuptools3
+
+RDEPENDS_${PN} += " \
+    python3-pytest \
+    "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list