[oe-commits] [meta-openembedded] 31/80: python-pretend: Extend recipe to support Python 3

git at git.openembedded.org git at git.openembedded.org
Wed Aug 31 17:08:50 UTC 2016


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

commit 718f8f6620ad6b2bae2f351dbd22c92d9bc5dc40
Author: Fabio Berton <fabio.berton at ossystems.com.br>
AuthorDate: Mon Aug 22 16:01:24 2016 -0300

    python-pretend: Extend recipe to support Python 3
    
    - Add Python 3 recipe
      - Add native and nativesdk to BBCLASSEXTEND
    
    Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../python/{python-pretend_1.0.8.bb => python-pretend.inc}        | 2 +-
 meta-python/recipes-devtools/python/python-pretend_1.0.8.bb       | 8 +-------
 meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb      | 2 ++
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb b/meta-python/recipes-devtools/python/python-pretend.inc
similarity index 88%
copy from meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
copy to meta-python/recipes-devtools/python/python-pretend.inc
index ddc7b62..2d21cc4 100644
--- a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
+++ b/meta-python/recipes-devtools/python/python-pretend.inc
@@ -5,4 +5,4 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
 SRC_URI[md5sum] = "7147050a95c9f494248557b42b58ad79"
 SRC_URI[sha256sum] = "930f2c1e18503e8f8c403abe2e02166c4a881941745147e712cdd4f49f3fb964"
 
-inherit pypi setuptools
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb b/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
index ddc7b62..73b8ed4 100644
--- a/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
+++ b/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
@@ -1,8 +1,2 @@
-SUMMARY = "A library for stubbing in Python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
-
-SRC_URI[md5sum] = "7147050a95c9f494248557b42b58ad79"
-SRC_URI[sha256sum] = "930f2c1e18503e8f8c403abe2e02166c4a881941745147e712cdd4f49f3fb964"
-
 inherit pypi setuptools
+require python-pretend.inc
diff --git a/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb b/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb
new file mode 100644
index 0000000..9c5d8a8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pretend.inc

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


More information about the Openembedded-commits mailing list