Skip to contentSkip to conversation

python-cffi: Extend recipe to support Python 3

PATCH Superseded Fabio Berton 2 participants 19 messages Aug 22, 2016 – Sep 1, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/17 python-cffi: Extend recipe to support Python 3

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

---
 meta-python/recipes-devtools/python/python-cffi.inc       |  9 +++++++++
 meta-python/recipes-devtools/python/python-cffi_1.7.0.bb  | 11 +----------
 meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb |  2 ++
 3 files changed, 12 insertions(+), 10 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-cffi.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb
meta-python/recipes-devtools/python/python-cffi.inc new file +9 -0
new file mode 100644
index 0000000..7038d90
@@ -0,0 +1,9 @@
+SUMMARY = "Foreign Function Interface for Python calling C code"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
+DEPENDS = "libffi ${PYTHON_PN}-pycparser"
+
+SRC_URI[md5sum] = "34122a545060cee58bab88feab57006d"
+SRC_URI[sha256sum] = "6ed5dd6afd8361f34819c68aaebf9e8fc12b5a5893f91f50c9e50c8886bb60df"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-cffi_1.7.0.bb +1 -10
index 6f4d77a..1d2d241 100644
@@ -1,11 +1,2 @@
-SUMMARY = "Foreign Function Interface for Python calling C code"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
-DEPENDS = "libffi python-pycparser"
-
-SRC_URI[md5sum] = "34122a545060cee58bab88feab57006d"
-SRC_URI[sha256sum] = "6ed5dd6afd8361f34819c68aaebf9e8fc12b5a5893f91f50c9e50c8886bb60df"
-
 inherit pypi setuptools
-
-BBCLASSEXTEND = "native"
+require python-cffi.inc
meta-python/recipes-devtools/python/python3-cffi_1.7.0.bb new file +2 -0
new file mode 100644
index 0000000..e888084
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-cffi.inc
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/17 python-cryptography: Extend recipe to support Python 3

- Add Python 3 recipe
- Change DEPENDS and RDEPENDS code style
- Add native and nativesdk to BBCLASSEXTEND

---
 .../python/python-cryptography.inc                 | 48 ++++++++++++++++++++
 .../python/python-cryptography_1.4.bb              | 53 ++++------------------
 .../python/python3-cryptography/run-ptest          |  2 +
 .../python/python3-cryptography_1.4.bb             | 10 ++++
 4 files changed, 70 insertions(+), 43 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-cryptography.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-cryptography/run-ptest
 create mode 100644 meta-python/recipes-devtools/python/python3-cryptography_1.4.bb
meta-python/recipes-devtools/python/python-cryptography.inc new file +48 -0
new file mode 100644
index 0000000..d4767b1
@@ -0,0 +1,48 @@
+SUMMARY = "Provides cryptographic recipes and primitives to python developers"
+LICENSE = "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
+
+DEPENDS += " \
+    ${PYTHON_PN}-cffi \
+    ${PYTHON_PN}-cffi-native \
+    ${PYTHON_PN}-pyasn1 \
+    ${PYTHON_PN}-six \
+"
+
+SRC_URI[md5sum] = "a9763e3831cc7cdb402c028fac1ceb39"
+SRC_URI[sha256sum] = "bb149540ed90c4b2171bf694fe6991d6331bc149ae623c8ff419324f4222d128"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-cffi \
+    ${PYTHON_PN}-idna \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pyasn1 \
+    ${PYTHON_PN}-pycparser \
+    ${PYTHON_PN}-setuptools \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-threading \
+"
+
+RDEPENDS_${PN}-ptest += " \
+    ${PN} \
+    ${PYTHON_PN}-cryptography-vectors \
+    ${PYTHON_PN}-iso8601 \
+    ${PYTHON_PN}-pretend \
+    ${PYTHON_PN}-pytest \
+"
+
+inherit ptest
+
+do_install_ptest() {
+    install -d ${D}${PTEST_PATH}/tests
+    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+    install -d ${D}${PTEST_PATH}/tests/hazmat
+    cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/
+}
+
+FILES_${PN}-dbg += " \
+    ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \
+"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-cryptography_1.4.bb +10 -43

59 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-cryptography/run-ptest new file +2 -0
new file mode 100644
index 0000000..0ba239c
@@ -0,0 +1,2 @@
+#!/bin/sh
+py.test
meta-python/recipes-devtools/python/python3-cryptography_1.4.bb new file +10 -0
new file mode 100644
index 0000000..f807042
@@ -0,0 +1,10 @@
+inherit pypi setuptools3
+require python-cryptography.inc
+
+SRC_URI += " \
+    file://run-ptest \
+"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-lang \
+"
Signature · 1 line
2.1.4
#2 lore raw

PATCH 3/17 python-idna: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

---
 meta-python/recipes-devtools/python/python-idna.inc     |  9 +++++++++
 meta-python/recipes-devtools/python/python-idna_2.1.bb  | 11 +----------
 meta-python/recipes-devtools/python/python3-idna_2.1.bb |  2 ++
 3 files changed, 12 insertions(+), 10 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-idna.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-idna_2.1.bb
meta-python/recipes-devtools/python/python-idna.inc new file +9 -0
new file mode 100644
index 0000000..8e1fcb4
@@ -0,0 +1,9 @@
+SUMMARY = "Internationalised Domain Names in Applications"
+HOMEPAGE = "https://github.com/kjd/idna"
+LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=134bdad79491c37bdae32811572b4bc6"
+
+SRC_URI[md5sum] = "f6473caa9c5e0cc1ad3fd5d04c3c114b"
+SRC_URI[sha256sum] = "ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-idna_2.1.bb +1 -10
index 90f47ae..2dcf72a 100644
@@ -1,11 +1,2 @@
-SUMMARY = "Internationalised Domain Names in Applications"
-HOMEPAGE = "https://github.com/kjd/idna"
-LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=134bdad79491c37bdae32811572b4bc6"
-
-DEPENDS += "python-pip"
-
-SRC_URI[md5sum] = "f6473caa9c5e0cc1ad3fd5d04c3c114b"
-SRC_URI[sha256sum] = "ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676"
-
 inherit pypi setuptools
+require python-idna.inc
meta-python/recipes-devtools/python/python3-idna_2.1.bb new file +2 -0
new file mode 100644
index 0000000..a08ca71
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-idna.inc
Signature · 1 line
2.1.4
#3 lore raw

PATCH 4/17 python-pyasn1: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND
- Add python-lang and python-shell to RDEPENDS

---
 meta-python/recipes-devtools/python/python-pyasn1.inc      | 14 ++++++++++++++
 meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb | 11 +----------
 .../recipes-devtools/python/python3-pyasn1_0.1.9.bb        |  2 ++
 3 files changed, 17 insertions(+), 10 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pyasn1.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb
meta-python/recipes-devtools/python/python-pyasn1.inc new file +14 -0
new file mode 100644
index 0000000..7c25de8
@@ -0,0 +1,14 @@
+SUMMARY = "Python library implementing ASN.1 types."
+HOMEPAGE = "http://pyasn1.sourceforge.net/"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=425e62320d430219736139b134db2fc4"
+
+SRC_URI[md5sum] = "f00a02a631d4016818659d1cc38d229a"
+SRC_URI[sha256sum] = "853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-lang \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb +1 -10
index 017adfe..4461918 100644
@@ -1,11 +1,2 @@
-SUMMARY = "Python library implementing ASN.1 types."
-HOMEPAGE = "http://pyasn1.sourceforge.net/"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=425e62320d430219736139b134db2fc4"
-
-SRC_URI[md5sum] = "f00a02a631d4016818659d1cc38d229a"
-SRC_URI[sha256sum] = "853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "python-lang python-shell"
+require python-pyasn1.inc
meta-python/recipes-devtools/python/python3-pyasn1_0.1.9.bb new file +2 -0
new file mode 100644
index 0000000..a5e2a71
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyasn1.inc
Signature · 1 line
2.1.4
#4 lore raw

PATCH 5/17 python-pycparser: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

---
 meta-python/recipes-devtools/python/python-pycparser.inc      |  8 ++++++++
 meta-python/recipes-devtools/python/python-pycparser_2.14.bb  | 10 +---------
 meta-python/recipes-devtools/python/python3-pycparser_2.14.bb |  2 ++
 3 files changed, 11 insertions(+), 9 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pycparser.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
meta-python/recipes-devtools/python/python-pycparser.inc new file +8 -0
new file mode 100644
index 0000000..bf3b757
@@ -0,0 +1,8 @@
+SUMMARY = "Parser of the C language, written in pure Python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8fb364772b1441821d391591f340c35a"
+
+SRC_URI[md5sum] = "a2bc8d28c923b4fe2b2c3b4b51a4f935"
+SRC_URI[sha256sum] = "7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-pycparser_2.14.bb +1 -9
index 18006ca..adbc1a8 100644
@@ -1,10 +1,2 @@
-SUMMARY = "Parser of the C language, written in pure Python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8fb364772b1441821d391591f340c35a"
-
-SRC_URI[md5sum] = "a2bc8d28c923b4fe2b2c3b4b51a4f935"
-SRC_URI[sha256sum] = "7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73"
-
 inherit pypi setuptools
-
-BBCLASSEXTEND = "native"
+require python-pycparser.inc
meta-python/recipes-devtools/python/python3-pycparser_2.14.bb new file +2 -0
new file mode 100644
index 0000000..b30db54
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pycparser.inc
Signature · 1 line
2.1.4
#5 lore raw

PATCH 6/17 python-pyopenssl: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

---
 .../recipes-devtools/python/python-pyopenssl.inc       | 18 ++++++++++++++++++
 .../recipes-devtools/python/python-pyopenssl_16.0.0.bb | 17 +----------------
 .../python/python3-pyopenssl_16.0.0.bb                 |  2 ++
 3 files changed, 21 insertions(+), 16 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pyopenssl.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb
meta-python/recipes-devtools/python/python-pyopenssl.inc new file +18 -0
new file mode 100644
index 0000000..88b4306
@@ -0,0 +1,18 @@
+SUMMARY = "Simple Python wrapper around the OpenSSL library"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS = "openssl ${PYTHON_PN}-cryptography"
+
+SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
+SRC_URI[sha256sum] = "363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d"
+
+PYPI_PACKAGE = "pyOpenSSL"
+
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+
+RDEPENDS_${PN} = "python-threading python-six python-cryptography"
+RDEPENDS_${PN}-tests = "${PN}"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-pyopenssl_16.0.0.bb +1 -16
index 8173858..d7177e2 100644
@@ -1,17 +1,2 @@
-SUMMARY = "Simple Python wrapper around the OpenSSL library"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-DEPENDS = "openssl python-cryptography"
-
-SRC_URI[md5sum] = "9587d813dcf656e9f2760e41a3682dc3"
-SRC_URI[sha256sum] = "363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d"
-
-PYPI_PACKAGE = "pyOpenSSL"
 inherit pypi setuptools
-
-PACKAGES =+ "${PN}-tests"
-FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
-
-RDEPENDS_${PN} = "python-threading python-six python-cryptography"
-RDEPENDS_${PN}-tests = "${PN}"
+require python-pyopenssl.inc
meta-python/recipes-devtools/python/python3-pyopenssl_16.0.0.bb new file +2 -0
new file mode 100644
index 0000000..0f0f83e
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyopenssl.inc
Signature · 1 line
2.1.4
#6 lore raw

PATCH 7/17 python-urllib3: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND
- Add python-certifi, python-cryptography, python-idna and python-pyopenssl to RDEPENDS

---
 .../recipes-devtools/python/python-urllib3.inc        | 19 +++++++++++++++++++
 .../recipes-devtools/python/python-urllib3_1.16.bb    | 16 +---------------
 .../recipes-devtools/python/python3-urllib3_1.16.bb   |  2 ++
 3 files changed, 22 insertions(+), 15 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-urllib3.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-urllib3_1.16.bb
meta-python/recipes-devtools/python/python-urllib3.inc new file +19 -0
new file mode 100644
index 0000000..7b62be5
@@ -0,0 +1,19 @@
+SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more"
+HOMEPAGE = "https://github.com/shazow/urllib3"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067"
+
+SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59"
+SRC_URI[sha256sum] = "63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-certifi \
+    ${PYTHON_PN}-cryptography \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-idna \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-pyopenssl \
+    ${PYTHON_PN}-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-urllib3_1.16.bb +1 -15
index 87a2852..6c81f1d 100644
@@ -1,16 +1,2 @@
-SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more"
-HOMEPAGE = "https://github.com/shazow/urllib3"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067"
-
-SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59"
-SRC_URI[sha256sum] = "63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-email \
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-threading \
-    ${PYTHON_PN}-zlib \
-    "
+require python-urllib3.inc
meta-python/recipes-devtools/python/python3-urllib3_1.16.bb new file +2 -0
new file mode 100644
index 0000000..19eb702
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-urllib3.inc
Signature · 1 line
2.1.4
#7 lore raw

PATCH 8/17 python-cryptography-vectors: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND
- Use pyppi class

---
 .../python/python-cryptography-vectors.inc               | 15 +++++++++++++++
 .../python/python-cryptography-vectors_1.4.bb            | 16 ++--------------
 .../python/python3-cryptography-vectors_1.4.bb           |  2 ++
 3 files changed, 19 insertions(+), 14 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-cryptography-vectors.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb
meta-python/recipes-devtools/python/python-cryptography-vectors.inc new file +15 -0
new file mode 100644
index 0000000..62dfbfd
@@ -0,0 +1,15 @@
+SUMMARY = "Test vectors for the cryptography package."
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
+
+DEPENDS = " \
+    ${PYTHON_PN}-cryptography \
+"
+
+SRC_URI[md5sum] = "b8555dfadafc4ecab4ee4650430d9cab"
+SRC_URI[sha256sum] = "0728815ef0c53d67fd437aa5220450a9752d41ecb28108f5df628a092ff466ea"
+
+PYPI_PACKAGE = "cryptography_vectors"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-cryptography-vectors_1.4.bb +2 -14
index 0313c81..4975278 100644
@@ -1,14 +1,2 @@
-SUMMARY = "Test vectors for the cryptography package."
-SECTION = "devel/python"
-LICENSE = "Apache-2.0 | BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
-DEPENDS = "python-cryptography"
-SRCNAME = "cryptography_vectors"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/c/cryptography-vectors/${SRCNAME}-${PV}.tar.gz"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-SRC_URI[md5sum] = "b8555dfadafc4ecab4ee4650430d9cab"
-SRC_URI[sha256sum] = "0728815ef0c53d67fd437aa5220450a9752d41ecb28108f5df628a092ff466ea"
-
-inherit setuptools
+inherit pypi setuptools
+require python-cryptography-vectors.inc
meta-python/recipes-devtools/python/python3-cryptography-vectors_1.4.bb new file +2 -0
new file mode 100644
index 0000000..58994ff
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-cryptography-vectors.inc
Signature · 1 line
2.1.4
#8 lore raw

PATCH 9/17 python-iso8601: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

---
 meta-python/recipes-devtools/python/python-iso8601.inc        | 8 ++++++++
 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, 11 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-iso8601.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb
meta-python/recipes-devtools/python/python-iso8601.inc new file +8 -0
new file mode 100644
index 0000000..dd4b83c
@@ -0,0 +1,8 @@
+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"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-iso8601_0.1.11.bb +1 -7
index 484cf12..c543cf9 100644
@@ -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
meta-python/recipes-devtools/python/python3-iso8601_0.1.11.bb new file +2 -0
new file mode 100644
index 0000000..4a332b5
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-iso8601.inc
Signature · 1 line
2.1.4
#9 lore raw

PATCH 10/17 python-pretend: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

---
 meta-python/recipes-devtools/python/python-pretend.inc       | 8 ++++++++
 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, 11 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pretend.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb
meta-python/recipes-devtools/python/python-pretend.inc new file +8 -0
new file mode 100644
index 0000000..2d21cc4
@@ -0,0 +1,8 @@
+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"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-pretend_1.0.8.bb +1 -7
index ddc7b62..73b8ed4 100644
@@ -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
meta-python/recipes-devtools/python/python3-pretend_1.0.8.bb new file +2 -0
new file mode 100644
index 0000000..9c5d8a8
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pretend.inc
Signature · 1 line
2.1.4
#10 lore raw

PATCH 11/17 python-pytest: Extend support to python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND
- Change code style for RDEPENDS

---
 meta-python/recipes-devtools/python/python-pytest.inc    | 16 ++++++++++++++++
 .../recipes-devtools/python/python-pytest_2.9.1.bb       | 10 +---------
 .../recipes-devtools/python/python3-pytest_2.9.1.bb      |  2 ++
 3 files changed, 19 insertions(+), 9 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pytest.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest_2.9.1.bb
meta-python/recipes-devtools/python/python-pytest.inc new file +16 -0
new file mode 100644
index 0000000..4877358
@@ -0,0 +1,16 @@
+SUMMARY = "Simple powerful teting with python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8a5609608d9a5a180705b0fa298ae01"
+
+SRC_URI[md5sum] = "05165740ea50928e4e971378630163ec"
+SRC_URI[sha256sum] = "0d48d27a127644fbe7c8158157e08b35f8255045d4476df694b91eb3a8147e65"
+
+RDEPENDS_${PN} = " \
+    ${PYTHON_PN}-argparse \
+    ${PYTHON_PN}-debugger \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-py \
+    ${PYTHON_PN}-setuptools \
+"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-pytest_2.9.1.bb +1 -9
index e21c4f4..d322f09 100644
@@ -1,10 +1,2 @@
-SUMMARY = "Simple powerful teting with Python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d8a5609608d9a5a180705b0fa298ae01"
-
-SRC_URI[md5sum] = "05165740ea50928e4e971378630163ec"
-SRC_URI[sha256sum] = "0d48d27a127644fbe7c8158157e08b35f8255045d4476df694b91eb3a8147e65"
-
-RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger python-json"
-
 inherit pypi setuptools
+require python-pytest.inc
meta-python/recipes-devtools/python/python3-pytest_2.9.1.bb new file +2 -0
new file mode 100644
index 0000000..466cfa8
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pytest.inc
Signature · 1 line
2.1.4
#11 lore raw

PATCH 12/17 python-py: Extend recipe to support Python 3

In reply to Fabio Berton

- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND

---
 meta-python/recipes-devtools/python/python-py.inc        | 8 ++++++++
 meta-python/recipes-devtools/python/python-py_1.4.31.bb  | 8 +-------
 meta-python/recipes-devtools/python/python3-py_1.4.31.bb | 2 ++
 3 files changed, 11 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-py.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-py_1.4.31.bb
meta-python/recipes-devtools/python/python-py.inc new file +8 -0
new file mode 100644
index 0000000..9e33b16
@@ -0,0 +1,8 @@
+SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
+
+SRC_URI[md5sum] = "5d2c63c56dc3f2115ec35c066ecd582b"
+SRC_URI[sha256sum] = "a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-py_1.4.31.bb +1 -7
index 592bc04..5ad2c19 100644
@@ -1,8 +1,2 @@
-SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
-
-SRC_URI[md5sum] = "5d2c63c56dc3f2115ec35c066ecd582b"
-SRC_URI[sha256sum] = "a6501963c725fc2554dabfece8ae9a8fb5e149c0ac0a42fd2b02c5c1c57fc114"
-
 inherit pypi setuptools
+require python-py.inc
meta-python/recipes-devtools/python/python3-py_1.4.31.bb new file +2 -0
new file mode 100644
index 0000000..0ee373d
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-py.inc
Signature · 1 line
2.1.4
#12 lore raw

PATCH 13/17 python-requests, python3-requests: Update to version 2.11.1

In reply to Fabio Berton

This commit also change RDEPENDS code style and add python-urllib3 as runtime dependence.

---
 meta-python/recipes-devtools/python/python-requests.inc | 17 ++++++++++++++---
 ...hon-requests_2.10.0.bb => python-requests_2.11.1.bb} |  0
 ...n3-requests_2.10.0.bb => python3-requests_2.11.1.bb} |  0
 3 files changed, 14 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.10.0.bb => python-requests_2.11.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-requests_2.10.0.bb => python3-requests_2.11.1.bb} (100%)
meta-python/recipes-devtools/python/python-requests.inc +14 -3
index e00b257..287078a 100644
@@ -3,7 +3,18 @@ HOMEPAGE = "http://python-requests.org"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9bb3515869c0f426cb8441c899ae7f5"
 
-SRC_URI[md5sum] = "a36f7a64600f1bfec4d55ae021d232ae"
-SRC_URI[sha256sum] = "63f1815788157130cee16a933b2ee184038e975f0017306d723ac326b5525b54"
+SRC_URI[md5sum] = "ad5f9c47b5c5dfdb28363ad7546b0763"
+SRC_URI[sha256sum] = "5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133"
 
-RDEPENDS_${PN} = "${PYTHON_PN}-email ${PYTHON_PN}-json ${PYTHON_PN}-netserver"
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-ndg-httpsclient \
+    ${PYTHON_PN}-netserver \
+    ${PYTHON_PN}-pyasn1 \
+    ${PYTHON_PN}-pyopenssl \
+    ${PYTHON_PN}-pysocks \
+    ${PYTHON_PN}-urllib3 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-requests_2.11.1.bb renamed from meta-python/recipes-devtools/python/python-requests_2.10.0.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-requests_2.10.0.bb
rename to meta-python/recipes-devtools/python/python-requests_2.11.1.bb
meta-python/recipes-devtools/python/python3-requests_2.11.1.bb renamed from meta-python/recipes-devtools/python/python3-requests_2.10.0.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-requests_2.10.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.11.1.bb
Signature · 1 line
2.1.4
#13 lore raw

Re: [meta-python][PATCH 13/17] python-requests, python3-requests: Update to version 2.11.1

Quoted 26 lines · Fabio Berton

This commit also change RDEPENDS code style and add python-urllib3 as runtime dependence.

---
 meta-python/recipes-devtools/python/python-requests.inc | 17 ++++++++++++++---
 ...hon-requests_2.10.0.bb => python-requests_2.11.1.bb} |  0
 ...n3-requests_2.10.0.bb => python3-requests_2.11.1.bb} |  0
 3 files changed, 14 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.10.0.bb => python-requests_2.11.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-requests_2.10.0.bb => python3-requests_2.11.1.bb} (100%)
meta-python/recipes-devtools/python/python-requests.inc +2 -3
index e00b257..287078a 100644
@@ -3,7 +3,18 @@ HOMEPAGE = "http://python-requests.org"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9bb3515869c0f426cb8441c899ae7f5"
 
-SRC_URI[md5sum] = "a36f7a64600f1bfec4d55ae021d232ae"
-SRC_URI[sha256sum] = "63f1815788157130cee16a933b2ee184038e975f0017306d723ac326b5525b54"
+SRC_URI[md5sum] = "ad5f9c47b5c5dfdb28363ad7546b0763"
+SRC_URI[sha256sum] = "5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133"
 
-RDEPENDS_${PN} = "${PYTHON_PN}-email ${PYTHON_PN}-json ${PYTHON_PN}-netserver"

meta-python/recipes-devtools/python/python-requests.inc HOMEPAGE = "http://python-requests.org" · line 18

Quoted 10 lines
meta-python/recipes-devtools/python/python-requests.inc +10 -0
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-ndg-httpsclient \
+    ${PYTHON_PN}-netserver \
+    ${PYTHON_PN}-pyasn1 \
+    ${PYTHON_PN}-pyopenssl \
+    ${PYTHON_PN}-pysocks \
+    ${PYTHON_PN}-urllib3 \
+"

There is already 2.11.0 version in master-next and this RDEPENDS additions break python3 version:

ERROR: Nothing RPROVIDES 'python3-pysocks' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.11.1.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-pysocks' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pysocks']
NOTE: Runtime target 'python3-requests' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-requests', 'python3-pysocks']
NOTE: Runtime target 'python3-pymisp' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pymisp', 'python3-requests', 'python3-pysocks']
NOTE: Runtime target 'python3-pymisp-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pymisp-dev', 'python3-requests', 'python3-pysocks']

Quoted 18 lines
meta-python/recipes-devtools/python/python-requests.inc +2 -0
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-requests_2.11.1.bb renamed from meta-python/recipes-devtools/python/python-requests_2.10.0.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-requests_2.10.0.bb
rename to meta-python/recipes-devtools/python/python-requests_2.11.1.bb
meta-python/recipes-devtools/python/python3-requests_2.11.1.bb renamed from meta-python/recipes-devtools/python/python3-requests_2.10.0.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-requests_2.10.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.11.1.bb
Signature · 7 lines
2.1.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#14 lore raw

Re: [meta-python][PATCH 13/17] python-requests, python3-requests: Update to version 2.11.1

Hi Martin,

I see that you rebase and sent this recipe to master-next, thanks.

I sent python-pysocks on the same patchset that I sent python-requests,
https://patchwork.openembedded.org/patch/129907/

Fabio

Quoted 99 lines · Martin Jansa
Quoted 6 lines · Fabio Berton

This commit also change RDEPENDS code style and add python-urllib3 as runtime dependence.

---
 meta-python/recipes-devtools/python/python-requests.inc | 17

++++++++++++++---

Quoted 4 lines
 ...hon-requests_2.10.0.bb => python-requests_2.11.1.bb} |  0
 ...n3-requests_2.10.0.bb => python3-requests_2.11.1.bb} |  0
 3 files changed, 14 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.10.0.bb

=> python-requests_2.11.1.bb} (100%)

Quoted 1 line
 rename meta-python/recipes-devtools/python/{python3-requests_2.10.0.bb

=> python3-requests_2.11.1.bb} (100%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-requests.inc

meta-python/recipes-devtools/python/python-requests.inc HOMEPAGE = "http://python-requests.org" · line 4

Quoted 6 lines

index e00b257..287078a 100644

meta-python/recipes-devtools/python/python-requests.inc +0 -0
@@ -3,7 +3,18 @@ HOMEPAGE = "http://python-requests.org"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9bb3515869c0f426cb8441c899ae7

f5"

meta-python/recipes-devtools/python/python-requests.inc HOMEPAGE = "http://python-requests.org" · line 6

Quoted 3 lines
meta-python/recipes-devtools/python/python-requests.inc +0 -2
-SRC_URI[md5sum] = "a36f7a64600f1bfec4d55ae021d232ae"
-SRC_URI[sha256sum] = "63f1815788157130cee16a933b2ee1

84038e975f0017306d723ac326b5525b54"

meta-python/recipes-devtools/python/python-requests.inc HOMEPAGE = "http://python-requests.org" · line 6

Quoted 2 lines
meta-python/recipes-devtools/python/python-requests.inc +2 -0
+SRC_URI[md5sum] = "ad5f9c47b5c5dfdb28363ad7546b0763"
+SRC_URI[sha256sum] = "5acf980358283faba0b897c73959ce

cf8b841205bb4b2ad3ef545f46eae1a133"

meta-python/recipes-devtools/python/python-requests.inc HOMEPAGE = "http://python-requests.org" · line 7

Quoted 2 lines
meta-python/recipes-devtools/python/python-requests.inc +0 -1
-RDEPENDS_${PN} = "${PYTHON_PN}-email ${PYTHON_PN}-json

${PYTHON_PN}-netserver"

meta-python/recipes-devtools/python/python-requests.inc HOMEPAGE = "http://python-requests.org" · line 18

Quoted 10 lines
meta-python/recipes-devtools/python/python-requests.inc +10 -0
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-ndg-httpsclient \
+    ${PYTHON_PN}-netserver \
+    ${PYTHON_PN}-pyasn1 \
+    ${PYTHON_PN}-pyopenssl \
+    ${PYTHON_PN}-pysocks \
+    ${PYTHON_PN}-urllib3 \
+"

There is already 2.11.0 version in master-next and this RDEPENDS additions break python3 version:

ERROR: Nothing RPROVIDES 'python3-pysocks' (but /home/jenkins/oe/world/shr- core/meta-openembedded/meta-python/recipes-devtools/python/ python3-requests_2.11.1.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-pysocks' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-pysocks']
NOTE: Runtime target 'python3-requests' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-requests', 'python3-pysocks']
NOTE: Runtime target 'python3-pymisp' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-pymisp', 'python3-requests', 'python3-pysocks']
NOTE: Runtime target 'python3-pymisp-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-pymisp-dev', 'python3-requests', 'python3-pysocks']

Review

Quoted 3 lines
meta-python/recipes-devtools/python/python-requests.inc +2 -0
+
+BBCLASSEXTEND = "native nativesdk"
(quoted diff) +0 -0

requests_2.10.0.bb b/meta-python/recipes-devtools/python/python- requests_2.11.1.bb

Quoted 2 lines

similarity index 100%
rename from meta-python/recipes-devtools/python/python-requests_2.10.0.

bb

Review

Quoted 2 lines

rename to meta-python/recipes-devtools/python/python-requests_2.11.1.bb

(quoted diff) +0 -0

requests_2.10.0.bb b/meta-python/recipes-devtools/python/python3- requests_2.11.1.bb

Quoted 2 lines

similarity index 100%
rename from meta-python/recipes-devtools/python/python3-requests_2.10.

0.bb

Quoted 9 lines

rename to meta-python/recipes-devtools/python/python3-requests_2.11.1.bb --
2.1.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#15 lore raw

PATCH 14/17 python-pysocks, python3-pysocks: Add recipe for version 1.5.7

In reply to Fabio Berton
---
 meta-python/recipes-devtools/python/python-pysocks.inc       | 11 +++++++++++
 meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb  |  2 ++
 meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb |  2 ++
 3 files changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pysocks.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb
meta-python/recipes-devtools/python/python-pysocks.inc new file +11 -0
new file mode 100644
index 0000000..0697fd7
@@ -0,0 +1,11 @@
+DESCRIPTION = "A Python SOCKS client module"
+HOMEPAGE = "http://python-requests.org"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16"
+
+SRC_URI[md5sum] = "68f4ad7a8d4fa725656ae3e9dd142d29"
+SRC_URI[sha256sum] = "e51c7694b10288e6fd9a28e15c0bcce9aca0327e7b32ebcd9af05fcd56f38b88"
+
+PYPI_PACKAGE = "PySocks"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-pysocks_1.5.7.bb new file +2 -0
new file mode 100644
index 0000000..8a24e4c
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pysocks.inc
meta-python/recipes-devtools/python/python3-pysocks_1.5.7.bb new file +2 -0
new file mode 100644
index 0000000..6b09355
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pysocks.inc
Signature · 1 line
2.1.4
#16 lore raw

PATCH 15/17 python-wcwidth, python3-wcwidth: Add recipe for version 0.1.7

In reply to Fabio Berton
---
 meta-python/recipes-devtools/python/python-wcwidth.inc       | 8 ++++++++
 meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb  | 2 ++
 meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb | 2 ++
 3 files changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-wcwidth.inc
 create mode 100644 meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb
meta-python/recipes-devtools/python/python-wcwidth.inc new file +8 -0
new file mode 100644
index 0000000..1429450
@@ -0,0 +1,8 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=11fba47286258744a6bc6e43530c32a1"
+
+SRC_URI[md5sum] = "b3b6a0a08f0c8a34d1de8cf44150a4ad"
+SRC_URI[sha256sum] = "3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb new file +2 -0
new file mode 100644
index 0000000..ef107c1
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-wcwidth.inc
meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb new file +2 -0
new file mode 100644
index 0000000..5f6259b
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-wcwidth.inc
Signature · 1 line
2.1.4
#17 lore raw

PATCH 16/17 python-ndg-httpsclient, python3-ndg-httpsclient: Add recipe for version 0.4.2

In reply to Fabio Berton
---
 .../python/python-ndg-httpsclient.inc                 | 19 +++++++++++++++++++
 .../python/python-ndg-httpsclient_0.4.2.bb            |  2 ++
 .../python/python3-ndg-httpsclient_0.4.2.bb           |  2 ++
 3 files changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-ndg-httpsclient.inc
 create mode 100644 meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.2.bb
meta-python/recipes-devtools/python/python-ndg-httpsclient.inc new file +19 -0
new file mode 100644
index 0000000..ae2bca1
@@ -0,0 +1,19 @@
+DESCRIPTION = "Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
+HOMEPAGE = "http://python-requests.org"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0"
+
+SRC_URI[md5sum] = "b3a958c0e9aaf4d3f8dd933f46f8c1a9"
+SRC_URI[sha256sum] = "580987ef194334c50389e0d7de885fccf15605c13c6eecaabd8d6c43768eb8ac"
+
+PYPI_PACKAGE = "ndg_httpsclient"
+
+DEPENDS = " \
+    ${PYTHON_PN}-pyopenssl \
+"
+
+DEPENDS = " \
+    ${PYTHON_PN}-pyasn1 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.2.bb new file +2 -0
new file mode 100644
index 0000000..2da1112
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-ndg-httpsclient.inc
meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.2.bb new file +2 -0
new file mode 100644
index 0000000..3f07b2e
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-ndg-httpsclient.inc
Signature · 1 line
2.1.4
#18 lore raw

PATCH 17/17 python-prompt-toolkit, python3-prompt-toolkit: Add recipe for version 1.0.6

In reply to Fabio Berton
---
 .../recipes-devtools/python/python-prompt-toolkit.inc | 19 +++++++++++++++++++
 .../python/python-prompt-toolkit_1.0.6.bb             |  2 ++
 .../python/python3-prompt-toolkit_1.0.6.bb            |  9 +++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-prompt-toolkit.inc
 create mode 100644 meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb
meta-python/recipes-devtools/python/python-prompt-toolkit.inc new file +19 -0
new file mode 100644
index 0000000..ac860b7
@@ -0,0 +1,19 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
+
+SRC_URI[md5sum] = "9e0be24993b13b204e04ffd20b2873d2"
+SRC_URI[sha256sum] = "fa8f0c3668afbc85abbb4601ebc8db1db9d5009c8a833feea107fc63f1e7ef22"
+
+PYPI_PACKAGE = "prompt_toolkit"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-terminal \
+    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-wcwidth \
+"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb new file +2 -0
new file mode 100644
index 0000000..76e8410
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-prompt-toolkit.inc
meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb new file +9 -0
new file mode 100644
index 0000000..d8f6389
@@ -0,0 +1,9 @@
+inherit pypi setuptools3
+require python-prompt-toolkit.inc
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-enum \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-textutils \
+"
Signature · 1 line
2.1.4