* [meta-python][PATCH 1/7] python-cffi/python-pycparser: enable native build
2015-04-16 15:16 [meta-python][PATCH 0/7] python-cryptography support Tim Orling
@ 2015-04-16 15:17 ` Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 2/7] python-py: add 1.4.26 Tim Orling
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Tim Orling @ 2015-04-16 15:17 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
meta-python/recipes-devtools/python/python-cffi_0.9.2.bb | 2 ++
meta-python/recipes-devtools/python/python-pycparser_2.10.bb | 2 ++
2 files changed, 4 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-cffi_0.9.2.bb b/meta-python/recipes-devtools/python/python-cffi_0.9.2.bb
index 6c34b67..90d8099 100644
--- a/meta-python/recipes-devtools/python/python-cffi_0.9.2.bb
+++ b/meta-python/recipes-devtools/python/python-cffi_0.9.2.bb
@@ -7,3 +7,5 @@ SRC_URI[md5sum] = "b1bf4625ae07a8a932f2f1a2eb200c54"
SRC_URI[sha256sum] = "1988ce7ff9c64ecd5077776175e90fd8f0a8c827cb241a23647175ce08126bb2"
inherit pypi
+
+BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-pycparser_2.10.bb b/meta-python/recipes-devtools/python/python-pycparser_2.10.bb
index bee4052..fbb6486 100644
--- a/meta-python/recipes-devtools/python/python-pycparser_2.10.bb
+++ b/meta-python/recipes-devtools/python/python-pycparser_2.10.bb
@@ -6,3 +6,5 @@ SRC_URI[md5sum] = "d87aed98c8a9f386aa56d365fe4d515f"
SRC_URI[sha256sum] = "957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c"
inherit pypi
+
+BBCLASSEXTEND = "native"
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [meta-python][PATCH 2/7] python-py: add 1.4.26
2015-04-16 15:16 [meta-python][PATCH 0/7] python-cryptography support Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 1/7] python-cffi/python-pycparser: enable native build Tim Orling
@ 2015-04-16 15:17 ` Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 3/7] python-pytest: add 2.7.0 Tim Orling
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Tim Orling @ 2015-04-16 15:17 UTC (permalink / raw)
To: openembedded-devel
python-py is required by python-pytest
python-pytest is required for ptest of python-cryptography
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
meta-python/recipes-devtools/python/python-py_1.4.26.bb | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-py_1.4.26.bb
diff --git a/meta-python/recipes-devtools/python/python-py_1.4.26.bb b/meta-python/recipes-devtools/python/python-py_1.4.26.bb
new file mode 100644
index 0000000..e606ed9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-py_1.4.26.bb
@@ -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] = "30c3fd92a53f1a5ed6f3591c1fe75c0e"
+SRC_URI[sha256sum] = "28dd0b90d29b386afb552efc4e355c889f4639ce93658a7872a2150ece28bb89"
+
+inherit pypi
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [meta-python][PATCH 3/7] python-pytest: add 2.7.0
2015-04-16 15:16 [meta-python][PATCH 0/7] python-cryptography support Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 1/7] python-cffi/python-pycparser: enable native build Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 2/7] python-py: add 1.4.26 Tim Orling
@ 2015-04-16 15:17 ` Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 4/7] python-iso8601: add 0.1.10 Tim Orling
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Tim Orling @ 2015-04-16 15:17 UTC (permalink / raw)
To: openembedded-devel
python-pytest is required for ptest of python-cryptography
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
meta-python/recipes-devtools/python/python-pytest_2.7.0.bb | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-pytest_2.7.0.bb
diff --git a/meta-python/recipes-devtools/python/python-pytest_2.7.0.bb b/meta-python/recipes-devtools/python/python-pytest_2.7.0.bb
new file mode 100644
index 0000000..14dc85b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pytest_2.7.0.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Simple powerful teting with Python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
+
+SRC_URI[md5sum] = "14cde91b1106c937c48497728ea37dc6"
+SRC_URI[sha256sum] = "91dc842785417208d57e5e8dc8bb40f57316c45da24a50c53b49cb8d045519d6"
+
+RDEPENDS_${PN} = "python-py"
+
+inherit pypi
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [meta-python][PATCH 4/7] python-iso8601: add 0.1.10
2015-04-16 15:16 [meta-python][PATCH 0/7] python-cryptography support Tim Orling
` (2 preceding siblings ...)
2015-04-16 15:17 ` [meta-python][PATCH 3/7] python-pytest: add 2.7.0 Tim Orling
@ 2015-04-16 15:17 ` Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 5/7] python-pretend: add 0.8.1 Tim Orling
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Tim Orling @ 2015-04-16 15:17 UTC (permalink / raw)
To: openembedded-devel
python-iso8601 is required by python-cryptography
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
meta-python/recipes-devtools/python/python-iso8601_0.1.10.bb | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-iso8601_0.1.10.bb
diff --git a/meta-python/recipes-devtools/python/python-iso8601_0.1.10.bb b/meta-python/recipes-devtools/python/python-iso8601_0.1.10.bb
new file mode 100644
index 0000000..227de54
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-iso8601_0.1.10.bb
@@ -0,0 +1,8 @@
+SUMMARY = "Simple module to parse ISO 8601 dates"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ffb8415711cf5d3b081b87c3d0aff737"
+
+SRC_URI[md5sum] = "23acb1029acfef9c32069c6c851c3a41"
+SRC_URI[sha256sum] = "e712ff3a18604833f5073e836aad795b21170b19bbef70947c441ed89d0ac0e1"
+
+inherit pypi
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [meta-python][PATCH 5/7] python-pretend: add 0.8.1
2015-04-16 15:16 [meta-python][PATCH 0/7] python-cryptography support Tim Orling
` (3 preceding siblings ...)
2015-04-16 15:17 ` [meta-python][PATCH 4/7] python-iso8601: add 0.1.10 Tim Orling
@ 2015-04-16 15:17 ` Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 6/7] python-pyasn1: add 0.1.7 Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 7/7] python-cryptography, -vectors: add 0.8.1 Tim Orling
6 siblings, 0 replies; 8+ messages in thread
From: Tim Orling @ 2015-04-16 15:17 UTC (permalink / raw)
To: openembedded-devel
python-pretend is required by python-cryptography
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
meta-python/recipes-devtools/python/python-pretend_1.0.8.bb | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
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
new file mode 100644
index 0000000..44b584e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pretend_1.0.8.bb
@@ -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"
+
+inherit pypi
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [meta-python][PATCH 6/7] python-pyasn1: add 0.1.7
2015-04-16 15:16 [meta-python][PATCH 0/7] python-cryptography support Tim Orling
` (4 preceding siblings ...)
2015-04-16 15:17 ` [meta-python][PATCH 5/7] python-pretend: add 0.8.1 Tim Orling
@ 2015-04-16 15:17 ` Tim Orling
2015-04-16 15:17 ` [meta-python][PATCH 7/7] python-cryptography, -vectors: add 0.8.1 Tim Orling
6 siblings, 0 replies; 8+ messages in thread
From: Tim Orling @ 2015-04-16 15:17 UTC (permalink / raw)
To: openembedded-devel
python-pyasn1 is required by python-cryptography
Copied directly from:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/meta-openstack/recipes-devtools/python/python-pyasn1_0.1.7.bb
Original author: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
.../recipes-devtools/python/python-pyasn1_0.1.7.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-pyasn1_0.1.7.bb
diff --git a/meta-python/recipes-devtools/python/python-pyasn1_0.1.7.bb b/meta-python/recipes-devtools/python/python-pyasn1_0.1.7.bb
new file mode 100644
index 0000000..0fe6909
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyasn1_0.1.7.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Python library implementing ASN.1 types."
+HOMEPAGE = "http://pyasn1.sourceforge.net/"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ae098273b2cf8b4af164ac20e32bddf7"
+DEPENDS = "python"
+
+SRC_URI = "https://pypi.python.org/packages/source/p/pyasn1/pyasn1-${PV}.tar.gz"
+SRC_URI[md5sum] = "2cbd80fcd4c7b1c82180d3d76fee18c8"
+SRC_URI[sha256sum] = "e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab"
+
+S = "${WORKDIR}/pyasn1-${PV}"
+
+inherit setuptools
+
+RDEPENDS_${PN} += "python-lang python-shell"
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [meta-python][PATCH 7/7] python-cryptography, -vectors: add 0.8.1
2015-04-16 15:16 [meta-python][PATCH 0/7] python-cryptography support Tim Orling
` (5 preceding siblings ...)
2015-04-16 15:17 ` [meta-python][PATCH 6/7] python-pyasn1: add 0.1.7 Tim Orling
@ 2015-04-16 15:17 ` Tim Orling
6 siblings, 0 replies; 8+ messages in thread
From: Tim Orling @ 2015-04-16 15:17 UTC (permalink / raw)
To: openembedded-devel
python-cryptography is required by python-pyopenssl >= 0.14
Includes python-cryptography-vectors package for ptest
Over 75k unit tests (100% coverage):
* tested on nuc (x86) and beaglebone (arm) hardware.
** will overload ram on default qemux86/qemuarm
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
.../python/python-cryptography-vectors_0.8.1.bb | 14 +++++++
.../python/python-cryptography/run-ptest | 2 +
.../python/python-cryptography_0.8.1.bb | 46 ++++++++++++++++++++++
3 files changed, 62 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python-cryptography-vectors_0.8.1.bb
create mode 100644 meta-python/recipes-devtools/python/python-cryptography/run-ptest
create mode 100644 meta-python/recipes-devtools/python/python-cryptography_0.8.1.bb
diff --git a/meta-python/recipes-devtools/python/python-cryptography-vectors_0.8.1.bb b/meta-python/recipes-devtools/python/python-cryptography-vectors_0.8.1.bb
new file mode 100644
index 0000000..a9b64ed
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-cryptography-vectors_0.8.1.bb
@@ -0,0 +1,14 @@
+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://pypi.python.org/packages/source/c/cryptography-vectors/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI[md5sum] = "04fcfcc61aee62e3b4beb1740cd120ac"
+SRC_URI[sha256sum] = "4a69e66026bfce4b97f75e72fe262f5e8f71daddc081f6608e5b0db89e552504"
+
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python-cryptography/run-ptest b/meta-python/recipes-devtools/python/python-cryptography/run-ptest
new file mode 100644
index 0000000..0ba239c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-cryptography/run-ptest
@@ -0,0 +1,2 @@
+#!/bin/sh
+py.test
diff --git a/meta-python/recipes-devtools/python/python-cryptography_0.8.1.bb b/meta-python/recipes-devtools/python/python-cryptography_0.8.1.bb
new file mode 100644
index 0000000..41e4acd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-cryptography_0.8.1.bb
@@ -0,0 +1,46 @@
+SUMMARY = "Provides cryptographic recipes and primitives to Python developers"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
+DEPENDS += " python-cffi-native python-cffi python-enum34 python-six python-pyasn1"
+SRCNAME = "cryptography"
+
+SRC_URI = "https://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+ file://run-ptest \
+"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI[md5sum] = "70dde78a5515abdbfd7a3d58f15689ab"
+SRC_URI[sha256sum] = "f4e041bc83c1be94d87116a7aa201c378b7c6581be4d83994b2da0a84499f73b"
+
+inherit pypi
+
+RDEPENDS_${PN} = "\
+ python-pyasn1\
+ python-six\
+ python-cffi\
+ python-enum34\
+ python-setuptools\
+ python-pycparser\
+ python-subprocess\
+ python-threading\
+ python-numbers\
+ python-contextlib\
+"
+
+RDEPENDS_${PN}-ptest = "\
+ ${PN}\
+ python-pytest\
+ python-pretend\
+ python-iso8601\
+ python-cryptography-vectors\
+"
+
+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/
+}
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread