[oe-commits] [meta-openembedded] 22/83: python-iso8601: Extend recipe to support Python 3
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 1 12:14:15 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 6ba4f3ff0db9202012a447e0d0d935fcd714dfc1
Author: Fabio Berton <fabio.berton at ossystems.com.br>
AuthorDate: Mon Aug 22 16:01:23 2016 -0300
python-iso8601: 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-iso8601_0.1.11.bb => python-iso8601.inc} | 2 +-
meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb | 8 +-------
meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb | 2 ++
3 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb b/meta-python/recipes-devtools/python/python-iso8601.inc
similarity index 88%
copy from meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
copy to meta-python/recipes-devtools/python/python-iso8601.inc
index 484cf12..dd4b83c 100644
--- a/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
+++ b/meta-python/recipes-devtools/python/python-iso8601.inc
@@ -5,4 +5,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844"
SRC_URI[md5sum] = "b06d11cd14a64096f907086044f0fe38"
SRC_URI[sha256sum] = "e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30"
-inherit pypi setuptools
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb b/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
index 484cf12..c543cf9 100644
--- a/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
+++ b/meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb
@@ -1,8 +1,2 @@
-SUMMARY = "Simple module to parse ISO 8601 dates"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844"
-
-SRC_URI[md5sum] = "b06d11cd14a64096f907086044f0fe38"
-SRC_URI[sha256sum] = "e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30"
-
inherit pypi setuptools
+require python-iso8601.inc
diff --git a/meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb b/meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb
new file mode 100644
index 0000000..4a332b5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-iso8601.inc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list