All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1
@ 2020-09-25 11:23 Leon Anavi
  2020-09-25 11:23 ` [meta-python][PATCH 2/4] python3-cryptography-vectors: " Leon Anavi
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Leon Anavi @ 2020-09-25 11:23 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 3.1.1:

- Updated Windows, macOS, and manylinux wheels to be compiled with
  OpenSSL 1.1.1h.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...hon3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} (91%)

diff --git a/meta-python/recipes-devtools/python/python3-cryptography_3.1.bb b/meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-cryptography_3.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
index 9ac23cda4f..1d6a9b32e0 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography_3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
 
 LDSHARED += "-pthread"
 
-SRC_URI[md5sum] = "aa91e4974981b29e99b863c54034c361"
-SRC_URI[sha256sum] = "26409a473cc6278e4c90f782cd5968ebad04d3911ed1c402fc86908c17633e08"
+SRC_URI[md5sum] = "c3807891d36aa9de8187e9db8b2bb457"
+SRC_URI[sha256sum] = "9d9fc6a16357965d282dd4ab6531013935425d0dc4950df2e0cf2a1b1ac1017d"
 
 SRC_URI += " \
     file://run-ptest \
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-python][PATCH 2/4] python3-cryptography-vectors: Upgrade 3.1 -> 3.1.1
  2020-09-25 11:23 [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Leon Anavi
@ 2020-09-25 11:23 ` Leon Anavi
  2020-09-28 12:56   ` [oe] " Trevor Gamblin
  2020-09-25 11:23 ` [meta-python][PATCH 3/4] python3-gevent: Upgrade 20.6.2 -> 20.9.0 Leon Anavi
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Leon Anavi @ 2020-09-25 11:23 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 3.1.1:

- Updated Windows, macOS, and manylinux wheels to be compiled with
  OpenSSL 1.1.1h.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...y-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} (73%)

diff --git a/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb b/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
index 59347c94e5..9486fe2350 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0 | BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "1ba5b0743e2876e909f7cfc28b744f27"
-SRC_URI[sha256sum] = "2660bc3a720d3955341803195ae5352a236c5f26e01a178c44fc5ee1f0ef1182"
+SRC_URI[md5sum] = "fbc43f8b155b52f9ed163d3555ea5e83"
+SRC_URI[sha256sum] = "5529c516194122fec7db1682812e2314ddff4221fdf993169118f9c0d291e2f6"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-python][PATCH 3/4] python3-gevent: Upgrade 20.6.2 -> 20.9.0
  2020-09-25 11:23 [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Leon Anavi
  2020-09-25 11:23 ` [meta-python][PATCH 2/4] python3-cryptography-vectors: " Leon Anavi
@ 2020-09-25 11:23 ` Leon Anavi
  2020-09-28 12:57   ` [oe] " Trevor Gamblin
  2020-09-25 11:23 ` [meta-python][PATCH 4/4] python3-pycrypto: Consolidate in a single file Leon Anavi
  2020-09-28 12:56 ` [oe] [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Trevor Gamblin
  3 siblings, 1 reply; 8+ messages in thread
From: Leon Anavi @ 2020-09-25 11:23 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 20.9.0:

- The embedded libev is now asked to detect the availability of
  clock_gettime and use the realtime and/or monotonic clocks, if
  they are available. On Linux, this can reduce the number of
  system calls libev makes. Originally provided by Josh Snyder.
- On CPython, depend on greenlet >= 0.4.17. This version is binary
  incompatible with earlier releases on CPython 3.7 and later.
- On Python 3.7 and above, the module gevent.contextvars is no
  longer monkey-patched into the standard library. contextvars are
  now both greenlet and asyncio task local.
- The DummyThread objects created automatically by certain
  operations when the standard library threading module is
  monkey-patched now match the naming convention the standard
  library uses ("Dummy-12345"). Previously (since gevent 1.2a2)
  they used "DummyThread-12345".
- Fix compatibility with dnspython 2.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb} (89%)

diff --git a/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb b/meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
rename to meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
index dbeb3a60c1..06c45f2ed9 100644
--- a/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
+++ b/meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
@@ -20,8 +20,8 @@ SRC_URI_append = " \
     file://libev-conf.patch;patch=1;pnum=1 \
 "
 
-SRC_URI[md5sum] = "27b07fe9fdfff2d75e3d140e890489b1"
-SRC_URI[sha256sum] = "a23c2abf08e851c988723f6a2996d495f513a2c0dc70f9956af03af8debdb5d1"
+SRC_URI[md5sum] = "9366ee7eebed48003f8a748568ef1f70"
+SRC_URI[sha256sum] = "5f6d48051d336561ec08995431ee4d265ac723a64bba99cc58c3eb1a4d4f5c8d"
 
 # The python-gevent has no autoreconf ability
 # and the logic for detecting a cross compile is flawed
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [meta-python][PATCH 4/4] python3-pycrypto: Consolidate in a single file
  2020-09-25 11:23 [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Leon Anavi
  2020-09-25 11:23 ` [meta-python][PATCH 2/4] python3-cryptography-vectors: " Leon Anavi
  2020-09-25 11:23 ` [meta-python][PATCH 3/4] python3-gevent: Upgrade 20.6.2 -> 20.9.0 Leon Anavi
@ 2020-09-25 11:23 ` Leon Anavi
  2020-09-28 12:57   ` [oe] " Trevor Gamblin
  2020-09-28 12:56 ` [oe] [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Trevor Gamblin
  3 siblings, 1 reply; 8+ messages in thread
From: Leon Anavi @ 2020-09-25 11:23 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python-pycrypto.inc                | 21 ----------------
 .../CVE-2013-7459.patch                       |  0
 .../cross-compiling.patch                     |  0
 .../python/python3-pycrypto_2.6.1.bb          | 24 ++++++++++++++++---
 4 files changed, 21 insertions(+), 24 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pycrypto.inc
 rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/CVE-2013-7459.patch (100%)
 rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/cross-compiling.patch (100%)

diff --git a/meta-python/recipes-devtools/python/python-pycrypto.inc b/meta-python/recipes-devtools/python/python-pycrypto.inc
deleted file mode 100644
index 232cdb7116..0000000000
--- a/meta-python/recipes-devtools/python/python-pycrypto.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "Cryptographic modules for Python."
-HOMEPAGE = "http://www.pycrypto.org/"
-LICENSE = "PSFv2"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:"
-
-DEPENDS += " gmp"
-
-inherit pypi autotools-brokensep
-
-SRC_URI += "file://cross-compiling.patch \
-            file://CVE-2013-7459.patch \
-           "
-
-SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
-SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
-
-do_compile[noexec] = "1"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch b/meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch
rename to meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch
diff --git a/meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch b/meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch
rename to meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch
diff --git a/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
index a20eafec43..78a1ef2ac0 100644
--- a/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
@@ -1,7 +1,23 @@
-inherit distutils3
-require python-pycrypto.inc
+DESCRIPTION = "Cryptographic modules for Python."
+HOMEPAGE = "http://www.pycrypto.org/"
+LICENSE = "PSFv2"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
 
-SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
+DEPENDS += " gmp"
+
+export HOST_SYS
+
+inherit pypi autotools-brokensep distutils3
+
+SRC_URI += "file://cross-compiling.patch \
+            file://CVE-2013-7459.patch \
+            file://0001-Replace-time.clock-with-time.process_time.patch \
+           "
+
+SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
+SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
+
+do_compile[noexec] = "1"
 
 # We explicitly call distutils_do_install, since we want it to run, but
 # *don't* want the autotools install to run, since this package doesn't
@@ -9,3 +25,5 @@ SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
 do_install() {
        distutils3_do_install
 }
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [oe] [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1
  2020-09-25 11:23 [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Leon Anavi
                   ` (2 preceding siblings ...)
  2020-09-25 11:23 ` [meta-python][PATCH 4/4] python3-pycrypto: Consolidate in a single file Leon Anavi
@ 2020-09-28 12:56 ` Trevor Gamblin
  3 siblings, 0 replies; 8+ messages in thread
From: Trevor Gamblin @ 2020-09-28 12:56 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]


On 9/25/20 7:23 AM, Leon Anavi wrote:
> Upgrade to release 3.1.1:
>
> - Updated Windows, macOS, and manylinux wheels to be compiled with
>    OpenSSL 1.1.1h.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   ...hon3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>   rename meta-python/recipes-devtools/python/{python3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} (91%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-cryptography_3.1.bb b/meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
> similarity index 91%
> rename from meta-python/recipes-devtools/python/python3-cryptography_3.1.bb
> rename to meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
> index 9ac23cda4f..1d6a9b32e0 100644
> --- a/meta-python/recipes-devtools/python/python3-cryptography_3.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
> @@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
>   
>   LDSHARED += "-pthread"
>   
> -SRC_URI[md5sum] = "aa91e4974981b29e99b863c54034c361"
> -SRC_URI[sha256sum] = "26409a473cc6278e4c90f782cd5968ebad04d3911ed1c402fc86908c17633e08"
> +SRC_URI[md5sum] = "c3807891d36aa9de8187e9db8b2bb457"
> +SRC_URI[sha256sum] = "9d9fc6a16357965d282dd4ab6531013935425d0dc4950df2e0cf2a1b1ac1017d"
>   
>   SRC_URI += " \
>       file://run-ptest \
>
> 
>

[-- Attachment #2: Type: text/html, Size: 2504 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [oe] [meta-python][PATCH 2/4] python3-cryptography-vectors: Upgrade 3.1 -> 3.1.1
  2020-09-25 11:23 ` [meta-python][PATCH 2/4] python3-cryptography-vectors: " Leon Anavi
@ 2020-09-28 12:56   ` Trevor Gamblin
  0 siblings, 0 replies; 8+ messages in thread
From: Trevor Gamblin @ 2020-09-28 12:56 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1642 bytes --]


On 9/25/20 7:23 AM, Leon Anavi wrote:
> Upgrade to release 3.1.1:
>
> - Updated Windows, macOS, and manylinux wheels to be compiled with
>    OpenSSL 1.1.1h.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   ...y-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>   rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} (73%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb b/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
> similarity index 73%
> rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
> rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
> index 59347c94e5..9486fe2350 100644
> --- a/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
> @@ -4,8 +4,8 @@ SECTION = "devel/python"
>   LICENSE = "Apache-2.0 | BSD"
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
>   
> -SRC_URI[md5sum] = "1ba5b0743e2876e909f7cfc28b744f27"
> -SRC_URI[sha256sum] = "2660bc3a720d3955341803195ae5352a236c5f26e01a178c44fc5ee1f0ef1182"
> +SRC_URI[md5sum] = "fbc43f8b155b52f9ed163d3555ea5e83"
> +SRC_URI[sha256sum] = "5529c516194122fec7db1682812e2314ddff4221fdf993169118f9c0d291e2f6"
>   
>   PYPI_PACKAGE = "cryptography_vectors"
>   
>
> 
>

[-- Attachment #2: Type: text/html, Size: 2549 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [oe] [meta-python][PATCH 3/4] python3-gevent: Upgrade 20.6.2 -> 20.9.0
  2020-09-25 11:23 ` [meta-python][PATCH 3/4] python3-gevent: Upgrade 20.6.2 -> 20.9.0 Leon Anavi
@ 2020-09-28 12:57   ` Trevor Gamblin
  0 siblings, 0 replies; 8+ messages in thread
From: Trevor Gamblin @ 2020-09-28 12:57 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2390 bytes --]


On 9/25/20 7:23 AM, Leon Anavi wrote:
> Upgrade to release 20.9.0:
>
> - The embedded libev is now asked to detect the availability of
>    clock_gettime and use the realtime and/or monotonic clocks, if
>    they are available. On Linux, this can reduce the number of
>    system calls libev makes. Originally provided by Josh Snyder.
> - On CPython, depend on greenlet >= 0.4.17. This version is binary
>    incompatible with earlier releases on CPython 3.7 and later.
> - On Python 3.7 and above, the module gevent.contextvars is no
>    longer monkey-patched into the standard library. contextvars are
>    now both greenlet and asyncio task local.
> - The DummyThread objects created automatically by certain
>    operations when the standard library threading module is
>    monkey-patched now match the naming convention the standard
>    library uses ("Dummy-12345"). Previously (since gevent 1.2a2)
>    they used "DummyThread-12345".
> - Fix compatibility with dnspython 2.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb}    | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>   rename meta-python/recipes-devtools/python/{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb} (89%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb b/meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
> similarity index 89%
> rename from meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
> rename to meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
> index dbeb3a60c1..06c45f2ed9 100644
> --- a/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
> +++ b/meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
> @@ -20,8 +20,8 @@ SRC_URI_append = " \
>       file://libev-conf.patch;patch=1;pnum=1 \
>   "
>   
> -SRC_URI[md5sum] = "27b07fe9fdfff2d75e3d140e890489b1"
> -SRC_URI[sha256sum] = "a23c2abf08e851c988723f6a2996d495f513a2c0dc70f9956af03af8debdb5d1"
> +SRC_URI[md5sum] = "9366ee7eebed48003f8a748568ef1f70"
> +SRC_URI[sha256sum] = "5f6d48051d336561ec08995431ee4d265ac723a64bba99cc58c3eb1a4d4f5c8d"
>   
>   # The python-gevent has no autoreconf ability
>   # and the logic for detecting a cross compile is flawed
>
> 
>

[-- Attachment #2: Type: text/html, Size: 3242 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [oe] [meta-python][PATCH 4/4] python3-pycrypto: Consolidate in a single file
  2020-09-25 11:23 ` [meta-python][PATCH 4/4] python3-pycrypto: Consolidate in a single file Leon Anavi
@ 2020-09-28 12:57   ` Trevor Gamblin
  0 siblings, 0 replies; 8+ messages in thread
From: Trevor Gamblin @ 2020-09-28 12:57 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4072 bytes --]


On 9/25/20 7:23 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../python/python-pycrypto.inc                | 21 ----------------
>   .../CVE-2013-7459.patch                       |  0
>   .../cross-compiling.patch                     |  0
>   .../python/python3-pycrypto_2.6.1.bb          | 24 ++++++++++++++++---
>   4 files changed, 21 insertions(+), 24 deletions(-)
>   delete mode 100644 meta-python/recipes-devtools/python/python-pycrypto.inc
>   rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/CVE-2013-7459.patch (100%)
>   rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/cross-compiling.patch (100%)
>
> diff --git a/meta-python/recipes-devtools/python/python-pycrypto.inc b/meta-python/recipes-devtools/python/python-pycrypto.inc
> deleted file mode 100644
> index 232cdb7116..0000000000
> --- a/meta-python/recipes-devtools/python/python-pycrypto.inc
> +++ /dev/null
> @@ -1,21 +0,0 @@
> -DESCRIPTION = "Cryptographic modules for Python."
> -HOMEPAGE = "http://www.pycrypto.org/"
> -LICENSE = "PSFv2"
> -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
> -
> -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:"
> -
> -DEPENDS += " gmp"
> -
> -inherit pypi autotools-brokensep
> -
> -SRC_URI += "file://cross-compiling.patch \
> -            file://CVE-2013-7459.patch \
> -           "
> -
> -SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
> -SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
> -
> -do_compile[noexec] = "1"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch b/meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch
> rename to meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch
> diff --git a/meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch b/meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch
> rename to meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch
> diff --git a/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
> index a20eafec43..78a1ef2ac0 100644
> --- a/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb
> @@ -1,7 +1,23 @@
> -inherit distutils3
> -require python-pycrypto.inc
> +DESCRIPTION = "Cryptographic modules for Python."
> +HOMEPAGE = "http://www.pycrypto.org/"
> +LICENSE = "PSFv2"
> +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
>   
> -SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
> +DEPENDS += " gmp"
> +
> +export HOST_SYS
> +
> +inherit pypi autotools-brokensep distutils3
> +
> +SRC_URI += "file://cross-compiling.patch \
> +            file://CVE-2013-7459.patch \
> +            file://0001-Replace-time.clock-with-time.process_time.patch \
> +           "
> +
> +SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
> +SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
> +
> +do_compile[noexec] = "1"
>   
>   # We explicitly call distutils_do_install, since we want it to run, but
>   # *don't* want the autotools install to run, since this package doesn't
> @@ -9,3 +25,5 @@ SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
>   do_install() {
>          distutils3_do_install
>   }
> +
> +BBCLASSEXTEND = "native nativesdk"
>
> 
>

[-- Attachment #2: Type: text/html, Size: 5724 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-28 12:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 11:23 [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Leon Anavi
2020-09-25 11:23 ` [meta-python][PATCH 2/4] python3-cryptography-vectors: " Leon Anavi
2020-09-28 12:56   ` [oe] " Trevor Gamblin
2020-09-25 11:23 ` [meta-python][PATCH 3/4] python3-gevent: Upgrade 20.6.2 -> 20.9.0 Leon Anavi
2020-09-28 12:57   ` [oe] " Trevor Gamblin
2020-09-25 11:23 ` [meta-python][PATCH 4/4] python3-pycrypto: Consolidate in a single file Leon Anavi
2020-09-28 12:57   ` [oe] " Trevor Gamblin
2020-09-28 12:56 ` [oe] [meta-python][PATCH 1/4] python3-cryptography: Upgrade 3.1 -> 3.1.1 Trevor Gamblin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.