From bca809f7bec1158d826e5227c261f31292dab79f337b1196688a49ee396d8348 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 10 Aug 2024 22:41:52 +0000 Subject: [PATCH] - Update 0.42.0: - allow ASN1_{Integer,String} be initialized directly - minimal infrastructure for type hints for a C extension and some type hints for some basic modules - time_t on 32bit Linux is 32bit (integer) not 64bit (long) - EOS for CentOS 7 - correct checking for OpenSSL version number on Windows - make compatible with Python 3.13 (replace PyEval_CallObject with PyObject_CallObject) - fix typo in extern function signature (and proper type of engine_ctrl_cmd_string()) - move the package to Sorucehut - setup CI to use Sourcehut CI - setup CI on GitLab for Windows as well (remove Appveyor) - initial draft of documentation for migration to pyca/cryptography - fix Read the Docs configuration (contributed kindly by Facundo Tuesca) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=132 --- M2Crypto-0.40.0.tar.gz | 3 --- M2Crypto-0.40.0.tar.gz.asc | Bin 95 -> 0 bytes m2crypto-0.42.0.tar.gz | 3 +++ python-M2Crypto.changes | 22 ++++++++++++++++++++++ python-M2Crypto.spec | 13 ++++--------- 5 files changed, 29 insertions(+), 12 deletions(-) delete mode 100644 M2Crypto-0.40.0.tar.gz delete mode 100644 M2Crypto-0.40.0.tar.gz.asc create mode 100644 m2crypto-0.42.0.tar.gz diff --git a/M2Crypto-0.40.0.tar.gz b/M2Crypto-0.40.0.tar.gz deleted file mode 100644 index a2e78bf..0000000 --- a/M2Crypto-0.40.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7eaac7d8e90a7075b1e5a21e4a2696cec39a5df292044a13734ac7169e1e4356 -size 1265903 diff --git a/M2Crypto-0.40.0.tar.gz.asc b/M2Crypto-0.40.0.tar.gz.asc deleted file mode 100644 index c003365192e5c269cf79f99890285d692d68ec18fdb044119786b1cb49983ec4..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeB(WnmCxVvrS6Wa)hGeN3Zkzq9me)x!_wzgNAP(z1q?Db@V$dfO% vwGkTYbGO?uPwn|Bl(2KV!N)z)4D+Ma{_S@EYpUMmBibIZu;X26x?>{%=T0Y_ diff --git a/m2crypto-0.42.0.tar.gz b/m2crypto-0.42.0.tar.gz new file mode 100644 index 0000000..5565e08 --- /dev/null +++ b/m2crypto-0.42.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42b62df2caf623161b1d643a7235464c2fe2a3105049ebc498a6d47dc08f64b4 +size 240072 diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index 09f830a..e7c919b 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Aug 10 22:41:07 UTC 2024 - Matej Cepl + +- Update 0.42.0: + - allow ASN1_{Integer,String} be initialized directly + - minimal infrastructure for type hints for a C extension and + some type hints for some basic modules + - time_t on 32bit Linux is 32bit (integer) not 64bit (long) + - EOS for CentOS 7 + - correct checking for OpenSSL version number on Windows + - make compatible with Python 3.13 (replace PyEval_CallObject + with PyObject_CallObject) + - fix typo in extern function signature (and proper type of + engine_ctrl_cmd_string()) + - move the package to Sorucehut + - setup CI to use Sourcehut CI + - setup CI on GitLab for Windows as well (remove Appveyor) + - initial draft of documentation for migration to + pyca/cryptography + - fix Read the Docs configuration (contributed kindly by Facundo + Tuesca) + ------------------------------------------------------------------- Wed Apr 3 09:22:02 UTC 2024 - Daniel Garcia diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 684c5d2..3a2b3b6 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -19,18 +19,13 @@ %define oldpython python %{?sle15_python_module_pythons} Name: python-M2Crypto -Version: 0.40.0 +Version: 0.42.0 Release: 0 Summary: Crypto and SSL toolkit for Python License: MIT Group: Development/Languages/Python -URL: https://gitlab.com/m2crypto/m2crypto -Source0: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz -Source1: M2Crypto-%{version}.tar.gz.asc -Source99: python-M2Crypto.keyring -# PATCH-FIX-UPSTREAM 32bit_ASN1_Time.patch gl#m2crypto/m2crypto/-#341 mcepl@suse.com -# Not only Windows but all 32bit archs have fouled ASN1_Time. -Patch0: 32bit_ASN1_Time.patch +URL: https://sr.ht/~mcepl/m2crypto/ +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} @@ -83,7 +78,7 @@ messenger for Zope. Documentation for the Crypto and SSL toolkit for Python %prep -%autosetup -p1 -n M2Crypto-%{version} +%autosetup -p1 -n m2crypto-%{version} %build export CFLAGS="%{optflags}"