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:
commit
e4b55f3ce6
@ -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
3
M2Crypto-0.37.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e4e42f068b78ccbf113e5d0a72ae5f480f6c3ace4940b91e4fff5598cfff6fb3
|
||||||
|
size 1247031
|
@ -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>
|
Mon Jul 13 21:07:34 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%define oldpython python
|
%define oldpython python
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-M2Crypto
|
Name: python-M2Crypto
|
||||||
Version: 0.36.0
|
Version: 0.37.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Crypto and SSL toolkit for Python
|
Summary: Crypto and SSL toolkit for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -27,6 +27,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://gitlab.com/m2crypto/m2crypto
|
URL: https://gitlab.com/m2crypto/m2crypto
|
||||||
Source: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module parameterized}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module typing}
|
BuildRequires: %{python_module typing}
|
||||||
BuildRequires: %{python_module xml}
|
BuildRequires: %{python_module xml}
|
||||||
@ -87,6 +88,9 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%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
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user