15
0

- 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
This commit is contained in:
2024-08-10 22:41:52 +00:00
committed by Git OBS Bridge
parent baac4b359b
commit bca809f7be
5 changed files with 29 additions and 12 deletions

View File

@@ -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}"