From 53dc80c32a9ee22333554ce3256d117f3b2187a31a94fafe72ed8f8a7674fccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Wed, 30 Oct 2024 16:24:40 +0100 Subject: [PATCH 1/2] new tarball --- m2crypto-0.42.0.tar.gz | 3 --- m2crypto-0.43.0.tar.gz | 3 +++ python-M2Crypto.spec | 11 +++++++---- 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 m2crypto-0.42.0.tar.gz create mode 100644 m2crypto-0.43.0.tar.gz diff --git a/m2crypto-0.42.0.tar.gz b/m2crypto-0.42.0.tar.gz deleted file mode 100644 index 5565e08..0000000 --- a/m2crypto-0.42.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42b62df2caf623161b1d643a7235464c2fe2a3105049ebc498a6d47dc08f64b4 -size 240072 diff --git a/m2crypto-0.43.0.tar.gz b/m2crypto-0.43.0.tar.gz new file mode 100644 index 0000000..4747cf0 --- /dev/null +++ b/m2crypto-0.43.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91fe89d8fa35b704c75108b62e774240c62e17bb10ebc9f87632d33701eb1391 +size 255515 diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 3a2b3b6..494cdee 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -19,19 +19,22 @@ %define oldpython python %{?sle15_python_module_pythons} Name: python-M2Crypto -Version: 0.42.0 +Version: 0.43.0~pre1 +%define up_version 0.43.0 Release: 0 Summary: Crypto and SSL toolkit for Python License: MIT Group: Development/Languages/Python URL: https://sr.ht/~mcepl/m2crypto/ -Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{up_version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing} BuildRequires: %{python_module wheel} +# For debugging +BuildRequires: %{python_module readline} BuildRequires: fdupes BuildRequires: openssl BuildRequires: openssl-devel @@ -78,7 +81,7 @@ messenger for Zope. Documentation for the Crypto and SSL toolkit for Python %prep -%autosetup -p1 -n m2crypto-%{version} +%autosetup -p1 -n m2crypto-%{up_version} %build export CFLAGS="%{optflags}" @@ -98,7 +101,7 @@ donttest="test_verify_with_static_callback" %files %{python_files} %doc CHANGES LICENCE README.rst %{python_sitearch}/M2Crypto -%{python_sitearch}/M2Crypto-%{version}*-info +%{python_sitearch}/M2Crypto-%{up_version}*-info %files -n %{name}-doc %doc doc/*.rst From 06d9f4cf69ca62d1065c25bc713473c743d5f1bd9b2518ae901c8113ba5af3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Wed, 30 Oct 2024 19:43:28 +0100 Subject: [PATCH 2/2] Update to 0.43.0: - feat[m2]: add m2.time_t_bits to checking for 32bitness. - fix[tests]: Use only X509_VERSION_1 (0) as version for CSR. - fix[EC]: raise ValueError when load_key_bio() cannot read the file. - ci: use -mpip wheel instead of -mbuild - fix: use PyMem_Malloc() instead of malloc() - fix[hints]: more work on conversion of type hints to the py3k ones - fix: make the package build even on Python 3.6 - ci[local]: skip freezing local tests - fix[hints]: remove AnyStr type - test: add suggested test for RSA.{get,set}_ex_data - fix: implement interfaces for RSA_{get,set}_ex_new_{data,index} - fix: generate src/SWIG/x509_v_flag.h to overcome weaknesses of swig - fix: replace literal enumeration of all VERIFY_ constants by a cycle - test: unify various test cases in test_ssl related to ftpslib - fix: replace deprecated url keyword in setup.cfg with complete project_urls map --- m2crypto-0.43.0.tar.gz | 4 ++-- python-M2Crypto.changes | 24 ++++++++++++++++++++++++ python-M2Crypto.spec | 9 ++++----- 3 files changed, 30 insertions(+), 7 deletions(-) diff --git a/m2crypto-0.43.0.tar.gz b/m2crypto-0.43.0.tar.gz index 4747cf0..1ca49e0 100644 --- a/m2crypto-0.43.0.tar.gz +++ b/m2crypto-0.43.0.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91fe89d8fa35b704c75108b62e774240c62e17bb10ebc9f87632d33701eb1391 -size 255515 +oid sha256:6c2c1c7bb0e8aa768f7ca803da7dbc2666d4003b26bd7adf70233afc59d8cf33 +size 366785 diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index 482dfaf..a14f672 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Wed Oct 30 18:42:41 UTC 2024 - Matej Cepl + +- Update to 0.43.0: + - feat[m2]: add m2.time_t_bits to checking for 32bitness. + - fix[tests]: Use only X509_VERSION_1 (0) as version for CSR. + - fix[EC]: raise ValueError when load_key_bio() cannot read the + file (bsc#1231589). + - ci: use -mpip wheel instead of -mbuild + - fix: use PyMem_Malloc() instead of malloc() + - fix[hints]: more work on conversion of type hints to the py3k ones + - fix: make the package build even on Python 3.6 + - ci[local]: skip freezing local tests + - fix[hints]: remove AnyStr type + - test: add suggested test for RSA.{get,set}_ex_data + - fix: implement interfaces for RSA_{get,set}_ex_new_{data,index} + - fix: generate src/SWIG/x509_v_flag.h to overcome weaknesses of + swig + - fix: replace literal enumeration of all VERIFY_ constants by a + cycle + - test: unify various test cases in test_ssl related to ftpslib + - fix: replace deprecated url keyword in setup.cfg with complete + project_urls map + ------------------------------------------------------------------- Sat Aug 10 22:41:07 UTC 2024 - Matej Cepl diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 494cdee..86f6fdd 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -19,14 +19,13 @@ %define oldpython python %{?sle15_python_module_pythons} Name: python-M2Crypto -Version: 0.43.0~pre1 -%define up_version 0.43.0 +Version: 0.43.0 Release: 0 Summary: Crypto and SSL toolkit for Python License: MIT Group: Development/Languages/Python URL: https://sr.ht/~mcepl/m2crypto/ -Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{up_version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -81,7 +80,7 @@ messenger for Zope. Documentation for the Crypto and SSL toolkit for Python %prep -%autosetup -p1 -n m2crypto-%{up_version} +%autosetup -p1 -n m2crypto-%{version} %build export CFLAGS="%{optflags}" @@ -101,7 +100,7 @@ donttest="test_verify_with_static_callback" %files %{python_files} %doc CHANGES LICENCE README.rst %{python_sitearch}/M2Crypto -%{python_sitearch}/M2Crypto-%{up_version}*-info +%{python_sitearch}/M2Crypto-%{version}*-info %files -n %{name}-doc %doc doc/*.rst