Accepting request 854111 from devel:languages:python

- Update to 0.37.1:
    - Remove support for CentOS 6 and Python 2.6 (remove 
      tests.vendor module). Python 2.7 is still fully supported.
    - Remodel CI:
      - on GitHub switched from Travis-CI to GH Actions
      - on GitLab-CI: stop testing 2.7 on Fedora, add centos7
      - update appveyor.yml
    - Stop playing with swig in setup.py, we don't support swig 1.* 
      anymore.
    - Fix dereferencing of pointers (gl#m2crypto/m2crypto#281)
    - Replace deprecated PyObject_AsReadBuffer with our own shim 
      (thanks to Casey Deccio for saving my bacon there).
    - Use parametrized to create parametrized tests (new external 
      dependency).
    - Only use DigestSign() and DigestUpdate() with OpenSSL >= 1.1.1
    - Expose all the X509_V_FLAG
    - Add support for DigestSign* and DigestVerify*

OBS-URL: https://build.opensuse.org/request/show/854111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2020-12-12 19:29:12 +00:00 committed by Git OBS Bridge
commit e4b55f3ce6
4 changed files with 29 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1542c18e3ee5c01db5031d0b594677536963e3f54ecdf5315aeecb3a595b4dc1
size 1127584

3
M2Crypto-0.37.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4e42f068b78ccbf113e5d0a72ae5f480f6c3ace4940b91e4fff5598cfff6fb3
size 1247031

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Dec 8 17:58:23 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Update to 0.37.1:
- Remove support for CentOS 6 and Python 2.6 (remove
tests.vendor module). Python 2.7 is still fully supported.
- Remodel CI:
- on GitHub switched from Travis-CI to GH Actions
- on GitLab-CI: stop testing 2.7 on Fedora, add centos7
- update appveyor.yml
- Stop playing with swig in setup.py, we don't support swig 1.*
anymore.
- Fix dereferencing of pointers (gl#m2crypto/m2crypto#281)
- Replace deprecated PyObject_AsReadBuffer with our own shim
(thanks to Casey Deccio for saving my bacon there).
- Use parametrized to create parametrized tests (new external
dependency).
- Only use DigestSign() and DigestUpdate() with OpenSSL >= 1.1.1
- Expose all the X509_V_FLAG
- Add support for DigestSign* and DigestVerify*
-------------------------------------------------------------------
Mon Jul 13 21:07:34 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -19,7 +19,7 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-M2Crypto
Version: 0.36.0
Version: 0.37.1
Release: 0
Summary: Crypto and SSL toolkit for Python
License: MIT
@ -27,6 +27,7 @@ Group: Development/Languages/Python
URL: https://gitlab.com/m2crypto/m2crypto
Source: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module xml}
@ -87,6 +88,9 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_expand ls -l %{buildroot}%{$python_sitearch}/M2Crypto/*.so*
# gh#pypa/setuptools#2476
# %%pyunittest_arch discover -v -s tests
%python_exec setup.py test
%files %{python_files}