Skip to contentSkip to conversation

gateone: move to meta-python

PATCH In review Andreas Oberritter 2 participants 4 messages Mar 27, 2015 – Apr 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 gateone: move to meta-python

---
 .../0001-configuration.py-Hack-around-broken-gethostname-thin.patch       | 0
 {meta-oe => meta-python}/recipes-connectivity/gateone/gateone/80oe.conf   | 0
 .../recipes-connectivity/gateone/gateone/gateone-avahi.service            | 0
 .../recipes-connectivity/gateone/gateone/gateone-init                     | 0
 .../recipes-connectivity/gateone/gateone/gateone.service                  | 0
 {meta-oe => meta-python}/recipes-connectivity/gateone/gateone_git.bb      | 0
 6 files changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe => meta-python}/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch (100%)
 rename {meta-oe => meta-python}/recipes-connectivity/gateone/gateone/80oe.conf (100%)
 rename {meta-oe => meta-python}/recipes-connectivity/gateone/gateone/gateone-avahi.service (100%)
 rename {meta-oe => meta-python}/recipes-connectivity/gateone/gateone/gateone-init (100%)
 rename {meta-oe => meta-python}/recipes-connectivity/gateone/gateone/gateone.service (100%)
 rename {meta-oe => meta-python}/recipes-connectivity/gateone/gateone_git.bb (100%)
meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch renamed from meta-oe/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch +0 -0
similarity index 100%
rename from meta-oe/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch
rename to meta-python/recipes-connectivity/gateone/gateone/0001-configuration.py-Hack-around-broken-gethostname-thin.patch
meta-python/recipes-connectivity/gateone/gateone/80oe.conf renamed from meta-oe/recipes-connectivity/gateone/gateone/80oe.conf +0 -0
similarity index 100%
rename from meta-oe/recipes-connectivity/gateone/gateone/80oe.conf
rename to meta-python/recipes-connectivity/gateone/gateone/80oe.conf
meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service renamed from meta-oe/recipes-connectivity/gateone/gateone/gateone-avahi.service +0 -0
similarity index 100%
rename from meta-oe/recipes-connectivity/gateone/gateone/gateone-avahi.service
rename to meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service
meta-python/recipes-connectivity/gateone/gateone/gateone-init renamed from meta-oe/recipes-connectivity/gateone/gateone/gateone-init +0 -0
similarity index 100%
rename from meta-oe/recipes-connectivity/gateone/gateone/gateone-init
rename to meta-python/recipes-connectivity/gateone/gateone/gateone-init
meta-python/recipes-connectivity/gateone/gateone/gateone.service renamed from meta-oe/recipes-connectivity/gateone/gateone/gateone.service +0 -0
similarity index 100%
rename from meta-oe/recipes-connectivity/gateone/gateone/gateone.service
rename to meta-python/recipes-connectivity/gateone/gateone/gateone.service
meta-python/recipes-connectivity/gateone/gateone_git.bb renamed from meta-oe/recipes-connectivity/gateone/gateone_git.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-connectivity/gateone/gateone_git.bb
rename to meta-python/recipes-connectivity/gateone/gateone_git.bb
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/3 python-pyopenssl: move to meta-python

---
 {meta-oe => meta-python}/recipes-devtools/python/python-pyopenssl_0.14.bb | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe => meta-python}/recipes-devtools/python/python-pyopenssl_0.14.bb (100%)
meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb renamed from meta-oe/recipes-devtools/python/python-pyopenssl_0.14.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-devtools/python/python-pyopenssl_0.14.bb
rename to meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb
Signature · 1 line
1.9.1
#2 lore raw

PATCH 3/3 python-pyopenssl: Downgrade to 0.13

In reply to Andreas Oberritter

Version 0.14 depends python-cryptography, which is currently unavailable in meta-openembedded.

---
 .../python-pyopenssl-0.13/x509_revoked_dup.patch      | 19 +++++++++++++++++++
 ...hon-pyopenssl_0.14.bb => python-pyopenssl_0.13.bb} | 11 ++++++-----
 2 files changed, 25 insertions(+), 5 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch
 rename meta-python/recipes-devtools/python/{python-pyopenssl_0.14.bb => python-pyopenssl_0.13.bb} (68%)
meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch new file +19 -0
new file mode 100644
index 0000000..c386e9c
@@ -0,0 +1,19 @@
+diff -Naur pyOpenSSL-0.13.orig/OpenSSL/crypto/crl.c pyOpenSSL-0.13/OpenSSL/crypto/crl.c
+--- pyOpenSSL-0.13.orig/OpenSSL/crypto/crl.c	2011-09-02 17:46:13.000000000 +0200
++++ pyOpenSSL-0.13/OpenSSL/crypto/crl.c	2015-03-26 20:53:08.984999223 +0100
+@@ -3,6 +3,7 @@
+ #include "crypto.h"
+ 
+ 
++#if 0
+ static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
+     X509_REVOKED *dupe = NULL;
+ 
+@@ -32,6 +33,7 @@
+     dupe->sequence = orig->sequence;
+     return dupe;
+ }
++#endif
+ 
+ static char crypto_CRL_get_revoked_doc[] = "\n\
+ Return revoked portion of the CRL structure (by value\n\
meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb renamed from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb +6 -5
similarity index 68%
rename from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb
rename to meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb
index 1f609e3..cf9d73e 100644
@@ -7,15 +7,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 SRCNAME = "pyOpenSSL"
 
 DEPENDS = "openssl"
+PE = "1"
 
-SRC_URI = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "8579ff3a1d858858acfba5f046a4ddf7"
-SRC_URI[sha256sum] = "a99db8e59c120138ad8a72eecedcc24b4510d2eed3ce48213b7e32f22cc4ee6e"
+SRC_URI = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${PV}.tar.gz \
+           file://x509_revoked_dup.patch"
+SRC_URI[md5sum] = "767bca18a71178ca353dff9e10941929"
+SRC_URI[sha256sum] = "21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit setuptools
+inherit distutils
 
 PACKAGES =+ "${PN}-tests"
 FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
Signature · 1 line
1.9.1
#3 lore raw

Re: [meta-oe][PATCH 3/3] python-pyopenssl: Downgrade to 0.13

I have python-cryptography building. After testing on multiple architectures and dependency checking, I will submit to ML. ETA 1 to 2 days.

--Tim

Quoted 90 lines · Andreas Oberritter

Version 0.14 depends python-cryptography, which is currently unavailable in meta-openembedded.

---
 .../python-pyopenssl-0.13/x509_revoked_dup.patch      | 19
+++++++++++++++++++
 ...hon-pyopenssl_0.14.bb => python-pyopenssl_0.13.bb} | 11 ++++++-----
 2 files changed, 25 insertions(+), 5 deletions(-)
 create mode 100644
meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch
 rename meta-python/recipes-devtools/python/{python-pyopenssl_0.14.bb =>

python-pyopenssl_0.13.bb} (68%)

diff --git a/meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch b/meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch new file mode 100644
index 0000000..c386e9c
--- /dev/null
+++
b/meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch

(quoted diff) +1 -0
@@ -0,0 +1,19 @@
+diff -Naur pyOpenSSL-0.13.orig/OpenSSL/crypto/crl.c

pyOpenSSL-0.13/OpenSSL/crypto/crl.c
+--- pyOpenSSL-0.13.orig/OpenSSL/crypto/crl.c 2011-09-02
17:46:13.000000000 +0200
++++ pyOpenSSL-0.13/OpenSSL/crypto/crl.c 2015-03-26
20:53:08.984999223 +0100
+@@ -3,6 +3,7 @@
+ #include "crypto.h"

meta-python/recipes-devtools/python/python-pyopenssl-0.13/x509_revoked_dup.patch new file +14 -0
+
+
++#if 0
+ static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
+     X509_REVOKED *dupe = NULL;
+
+@@ -32,6 +33,7 @@
+     dupe->sequence = orig->sequence;
+     return dupe;
+ }
++#endif
+
+ static char crypto_CRL_get_revoked_doc[] = "\n\
+ Return revoked portion of the CRL structure (by value\n\
meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb renamed from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb +0 -0
similarity index 68%
rename from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb
rename to meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb
index 1f609e3..cf9d73e 100644
@@ -7,15 +7,16 @@ LIC_FILES_CHKSUM =

"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRCNAME = "pyOpenSSL"

DEPENDS = "openssl"

meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb renamed from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb +1 -1
+PE = "1"
 
-SRC_URI = "

http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${PV}.tar.gz"

meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb renamed from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb +0 -3
-
-SRC_URI[md5sum] = "8579ff3a1d858858acfba5f046a4ddf7"
-SRC_URI[sha256sum] =

"a99db8e59c120138ad8a72eecedcc24b4510d2eed3ce48213b7e32f22cc4ee6e" +SRC_URI = "
http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${PV}.tar.gz
\

meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb renamed from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb +3 -0
+           file://x509_revoked_dup.patch"
+SRC_URI[md5sum] = "767bca18a71178ca353dff9e10941929"
+SRC_URI[sha256sum] =

"21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b"

S = "${WORKDIR}/${SRCNAME}-${PV}"

meta-python/recipes-devtools/python/python-pyopenssl_0.13.bb renamed from meta-python/recipes-devtools/python/python-pyopenssl_0.14.bb +1 -2
-inherit setuptools
+inherit distutils
 
 PACKAGES =+ "${PN}-tests"
 FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
--

1.9.1

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