Skip to contentSkip to conversation

python-future: make recipe available as python3 version

PATCH New S. Lockwood-Childs 1 participant 1 message Aug 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-future: make recipe available as python3 version

---
 meta-python/recipes-devtools/python/python-future.inc     | 13 +++++++++++++
 .../recipes-devtools/python/python-future_0.16.0.bb       | 15 ++-------------
 .../recipes-devtools/python/python3-future_0.16.0.bb      |  2 ++
 3 files changed, 17 insertions(+), 13 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-future.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-future_0.16.0.bb
meta-python/recipes-devtools/python/python-future.inc new file +13 -0
new file mode 100644
index 0000000..2247561
@@ -0,0 +1,13 @@
+DESCRIPTION = "Clean single-source support for Python 3 and 2"
+HOMEPAGE = "https://python-future.org"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f457538b297bd0ef86564b8ac216ad7"
+
+SRC_URI[md5sum] = "3e8e88a2bda48d54b1da7634d04760d7"
+SRC_URI[sha256sum] = "e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb"
+
+PYPI_PACKAGE_HASH = "99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d"
+
+inherit pypi
+
+BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python-future_0.16.0.bb +2 -13
index 46f7fe5..d95e1ba 100644
@@ -1,13 +1,2 @@
-DESCRIPTION = "Clean single-source support for Python 3 and 2"
-HOMEPAGE = "https://python-future.org"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f457538b297bd0ef86564b8ac216ad7"
-
-SRC_URI[md5sum] = "3e8e88a2bda48d54b1da7634d04760d7"
-SRC_URI[sha256sum] = "e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb"
-
-PYPI_PACKAGE_HASH = "99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d"
-
-inherit pypi setuptools
-
-BBCLASSEXTEND = "native"
+inherit setuptools
+require python-future.inc
meta-python/recipes-devtools/python/python3-future_0.16.0.bb new file +2 -0
new file mode 100644
index 0000000..f059186
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-future.inc
Signature · 1 line
1.9.4