Skip to contentSkip to conversation

package/python-m2crypto: bump to version 0.42.0

PATCH In review James Hilliard 2 participants 3 messages Sep 15, 2024 – Sep 16, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-m2crypto: bump to version 0.42.0

Set openssl path via env instead of build options.

---
 package/python-m2crypto/python-m2crypto.hash |  4 ++--
 package/python-m2crypto/python-m2crypto.mk   | 10 ++++------
 2 files changed, 6 insertions(+), 8 deletions(-)
package/python-m2crypto/python-m2crypto.hash +2 -2
index 782837081e..aa8fe09c14 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/m2crypto/json
-md5  280c20072afbe7010cf9e9620ea25c7b  M2Crypto-0.40.1.tar.gz
-sha256  bbfd113ec55708c05816252a4f09e4237df4f3bbfc8171cbbc33057d257bbb30  M2Crypto-0.40.1.tar.gz
+md5  b88bcb1d4aeb817f91eb627d08b673a2  m2crypto-0.42.0.tar.gz
+sha256  42b62df2caf623161b1d643a7235464c2fe2a3105049ebc498a6d47dc08f64b4  m2crypto-0.42.0.tar.gz
 # Locally computed sha256 checksums
 sha256  4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0  LICENCE
package/python-m2crypto/python-m2crypto.mk +4 -6
index 6c07f42d06..79dfc1beb2 100644
@@ -4,17 +4,15 @@
 #
 ################################################################################
 
-PYTHON_M2CRYPTO_VERSION = 0.40.1
-PYTHON_M2CRYPTO_SOURCE = M2Crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
-PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/9e/a3/9433817493ea250db67a05de3361cb0a1d58531847d50406f2f28455e68c
+PYTHON_M2CRYPTO_VERSION = 0.42.0
+PYTHON_M2CRYPTO_SOURCE = m2crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
+PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/85/9f/b8977ce2971cf5f823db3fdb31e7e061b9662da318a17b6bf0c653f84aee
 PYTHON_M2CRYPTO_SETUP_TYPE = setuptools
 PYTHON_M2CRYPTO_LICENSE = MIT
 PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE
 PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project
 PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto
 PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig
-PYTHON_M2CRYPTO_BUILD_OPTS = \
-	-C--build-option=build_ext \
-	-C--build-option=--openssl=$(STAGING_DIR)/usr
+PYTHON_M2CRYPTO_ENV = OPENSSL_PATH="$(STAGING_DIR)/usr"
 
 $(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

James, All,

On 2024-09-15 15:28 -0600, James Hilliard spake thusly:

Quoted 1 line

Set openssl path via env instead of build options.

You are _describing_ the change, you are not _explaining_ it. It is pretty easy to spot that the options are dropped and that the path is now passed in an environment variable.

But why is that needed? What's the rationale for doing it? Is it required by the bump, or is it something that can be done before or after? Explaining this may ring a bell that maybe the change should (or should not) be backported.

Regards,
Yann E. MORIN.

Quoted 51 lines
---
 package/python-m2crypto/python-m2crypto.hash |  4 ++--
 package/python-m2crypto/python-m2crypto.mk   | 10 ++++------
 2 files changed, 6 insertions(+), 8 deletions(-)
package/python-m2crypto/python-m2crypto.hash +2 -2
index 782837081e..aa8fe09c14 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/m2crypto/json
-md5  280c20072afbe7010cf9e9620ea25c7b  M2Crypto-0.40.1.tar.gz
-sha256  bbfd113ec55708c05816252a4f09e4237df4f3bbfc8171cbbc33057d257bbb30  M2Crypto-0.40.1.tar.gz
+md5  b88bcb1d4aeb817f91eb627d08b673a2  m2crypto-0.42.0.tar.gz
+sha256  42b62df2caf623161b1d643a7235464c2fe2a3105049ebc498a6d47dc08f64b4  m2crypto-0.42.0.tar.gz
 # Locally computed sha256 checksums
 sha256  4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0  LICENCE
package/python-m2crypto/python-m2crypto.mk +4 -6
index 6c07f42d06..79dfc1beb2 100644
@@ -4,17 +4,15 @@
 #
 ################################################################################
 
-PYTHON_M2CRYPTO_VERSION = 0.40.1
-PYTHON_M2CRYPTO_SOURCE = M2Crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
-PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/9e/a3/9433817493ea250db67a05de3361cb0a1d58531847d50406f2f28455e68c
+PYTHON_M2CRYPTO_VERSION = 0.42.0
+PYTHON_M2CRYPTO_SOURCE = m2crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
+PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/85/9f/b8977ce2971cf5f823db3fdb31e7e061b9662da318a17b6bf0c653f84aee
 PYTHON_M2CRYPTO_SETUP_TYPE = setuptools
 PYTHON_M2CRYPTO_LICENSE = MIT
 PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE
 PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project
 PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto
 PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig
-PYTHON_M2CRYPTO_BUILD_OPTS = \
-	-C--build-option=build_ext \
-	-C--build-option=--openssl=$(STAGING_DIR)/usr
+PYTHON_M2CRYPTO_ENV = OPENSSL_PATH="$(STAGING_DIR)/usr"
 
 $(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 6 lines · Yann E. MORIN

James, All,

On 2024-09-15 15:28 -0600, James Hilliard spake thusly:

Quoted 1 line

Set openssl path via env instead of build options.

Quoted 8 lines

You are _describing_ the change, you are not _explaining_ it. It is pretty easy to spot that the options are dropped and that the path is now passed in an environment variable.

But why is that needed? What's the rationale for doing it? Is it required by the bump, or is it something that can be done before or after? Explaining this may ring a bell that maybe the change should (or should not) be backported.

It is required as the build option was removed. Presumably doesn't need to be backported to versions with the build option.

Quoted 58 lines

Regards,
Yann E. MORIN.

Quoted 47 lines
---
 package/python-m2crypto/python-m2crypto.hash |  4 ++--
 package/python-m2crypto/python-m2crypto.mk   | 10 ++++------
 2 files changed, 6 insertions(+), 8 deletions(-)
package/python-m2crypto/python-m2crypto.hash +2 -2
index 782837081e..aa8fe09c14 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/m2crypto/json
-md5  280c20072afbe7010cf9e9620ea25c7b  M2Crypto-0.40.1.tar.gz
-sha256  bbfd113ec55708c05816252a4f09e4237df4f3bbfc8171cbbc33057d257bbb30  M2Crypto-0.40.1.tar.gz
+md5  b88bcb1d4aeb817f91eb627d08b673a2  m2crypto-0.42.0.tar.gz
+sha256  42b62df2caf623161b1d643a7235464c2fe2a3105049ebc498a6d47dc08f64b4  m2crypto-0.42.0.tar.gz
 # Locally computed sha256 checksums
 sha256  4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0  LICENCE
package/python-m2crypto/python-m2crypto.mk +4 -7
index 6c07f42d06..79dfc1beb2 100644
@@ -4,17 +4,15 @@
 #
 ################################################################################
 
-PYTHON_M2CRYPTO_VERSION = 0.40.1
-PYTHON_M2CRYPTO_SOURCE = M2Crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
-PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/9e/a3/9433817493ea250db67a05de3361cb0a1d58531847d50406f2f28455e68c
+PYTHON_M2CRYPTO_VERSION = 0.42.0
+PYTHON_M2CRYPTO_SOURCE = m2crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
+PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/85/9f/b8977ce2971cf5f823db3fdb31e7e061b9662da318a17b6bf0c653f84aee
 PYTHON_M2CRYPTO_SETUP_TYPE = setuptools
 PYTHON_M2CRYPTO_LICENSE = MIT
 PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE
 PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project
 PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto
 PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig
-PYTHON_M2CRYPTO_BUILD_OPTS = \
-     -C--build-option=build_ext \
-     -C--build-option=--openssl=$(STAGING_DIR)/usr
+PYTHON_M2CRYPTO_ENV = OPENSSL_PATH="$(STAGING_DIR)/usr"
 
 $(eval $(python-package))
--

2.34.1

Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

Quoted 5 lines
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot