16
0

27 Commits

Author SHA256 Message Date
6483c4c990 Accepting request 1308623 from devel:languages:python
- Update to 0.46.2:
  - fix[m2xmlrpclib]: make the module compatible with Python 3.6

- Update to 0.46.1:
  - M2Crypto closes SSL connection on closing HTTPS Connection,
    and some other related issues (#203, #278)
  - Modernize C API by eliminating use of deprecated
    PyBytes_AsStringAndSize and related functions with Python
    Buffer Protocol (#375)
  - Whole project is completely covered with type hints and is
    checked by mypy (also while doing that, the whole project was
    blackened) (#344)
  - Add logging support to C extension code sending messages to
    the Python logging
  - Introducing first efforts to support Engine object (#229)
  - Reworked and fixed M2Crypto.m2xmlrpclib module (#163)
  - Reverted removal of demo/ subdirectory
  - Improve SMIME documentation (#377)
  - Some other minor bugs, improvements, and removal of dead code
  - Correct license to BSD-2-Clause and update references
  - Specify in setup.cfg that we require Python >= 3.6

OBS-URL: https://build.opensuse.org/request/show/1308623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=58
2025-10-03 13:42:55 +00:00
1b0edd6217 - Update to 0.46.2:
- fix[m2xmlrpclib]: make the module compatible with Python 3.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=150
2025-10-02 12:28:09 +00:00
192bc786d1 Refreshed tarball.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=149
2025-10-02 11:38:56 +00:00
3c0cae432d Fresh tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=148
2025-10-02 11:02:51 +00:00
6999c5eefe - Update to 0.46.1:
- Correct license to BSD-2-Clause and update references
  - Specify in setup.cfg that we require Python >= 3.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=147
2025-10-02 09:12:06 +00:00
c466b11959 - Update to 0.46.0:
- M2Crypto closes SSL connection on closing HTTPS Connection,
    and some other related issues (#203, #278)
  - Modernize C API by eliminating use of deprecated
    PyBytes_AsStringAndSize and related functions with Python
    Buffer Protocol (#375)
  - Whole project is completely covered with type hints and is
    checked by mypy (also while doing that, the whole project was
    blackened) (#344)
  - Add logging support to C extension code sending messages to
    the Python logging
  - Introducing first efforts to support Engine object (#229)
  - Reworked and fixed M2Crypto.m2xmlrpclib module (#163)
  - Reverted removal of demo/ subdirectory
  - Improve SMIME documentation (#377)
  - Some other minor bugs, improvements, and removal of dead code
- Temporarily removed LICENCE

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=146
2025-10-02 07:38:02 +00:00
cf6358ed12 Remove *.obs* files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=145
2025-08-11 17:51:27 +00:00
06b82687ba Accepting request 1272225 from devel:languages:python
- Update to 0.45.1:
  - ci: switch from using sha1 to sha256.
  - ci(keys): regenerate rsa*.pem keys as well
  - fix: make the package compatible with OpenSSL >= 3.4 (don’t
    rely on LEGACY crypto-policies)
  - chore: package also system_shadowing directory to make builds more reliable

- Update to 0.45.0:
  - chore: preparing 0.45.0 release
  - fix(lib,ssl): rewrite ssl_accept, ssl_{read,write}_nbio for better error handling
  - fix: replace m2_PyBuffer_Release with native PyBuffer_Release
  - chore: build Windows builds with Python 3.13 as well
  - fix: remove support for Engine
  - chore: use actual license of the project
  - ci(Debian): make M2Crypto buildable on Debian (bsc#1240965)
  - swig: Workaround for reading sys/select.h ending with wrong types.
  - ci: bump required setuptools version because of change in naming strategy
  - fix: add fix for build with older GCC
  - fix: remove AnyStr and Any types

OBS-URL: https://build.opensuse.org/request/show/1272225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=57
2025-04-25 20:18:03 +00:00
OBS User unknown
7c184cf47d [info=b2ef9ed9b2a2669cd9074feb46acbd060e8c1d3f4b6df992678b74d795ef94b6]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=144
2025-04-23 15:18:42 +00:00
OBS User unknown
742a8e6970 [info=84719d15958723c50ce3c421816606b4b175f5b71c6aa0f22a7a3a90f2a78fd6]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=143
2025-04-22 22:05:22 +00:00
OBS User unknown
09e1b32db2 [info=86344b7783030609ad34907e5d32dbbdfc63f3eb05e2e6aa80180350e9009a85]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=142
2025-04-22 22:03:18 +00:00
OBS User unknown
fa370bef54 [info=d27aea094b7cfce9d16c7f8a8592c7cf92643f2c50ee46bb080dafdb866ceecf]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=141
2025-04-17 04:17:37 +00:00
9239f0e76b Accepting request 1266446 from devel:languages:python
- Allow for ambiguity in first letter of directories in
  %{python_sitearch}.

- Change macro to %{?sle15allpythons} so we build both Python 3.6
  and Python 3.11 on SLE-15.

OBS-URL: https://build.opensuse.org/request/show/1266446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=56
2025-04-11 14:45:26 +00:00
OBS User unknown
b42edc6a43 [info=d2c9633f216267d3de5e701742dd42720abc05ef684eeedb44a410d46946332f]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=140
2025-04-02 11:13:59 +00:00
90e6cdc7e2 [info=ed50e5ce3b7bc9f0b5e3cfc44d1e3b04f28f2c78038a34e2206c6e8b4a1f43ca]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=139
2025-04-02 10:22:27 +00:00
OBS User unknown
655c23d60d [info=489495c74822d8daf79a2edc0a5ec9e0d6c8b7ab3cb355200934de2bd2a8506d]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=138
2025-03-31 12:47:09 +00:00
OBS User unknown
5274ab63c1 [info=6ba6f16f8d09e73b13442afb316453ffc1cece236d276d10ff041a62889a0744]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=137
2025-02-19 14:08:09 +00:00
be84f87af3 Accepting request 1246575 from devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:2
update_to_0.44.0

- fix(rsa): introduce internal cache for rsa.check_key()
  (bsc#1236664, srht#mcepl/m2crypto#369)
- fix[authcookie]: modernize the module
- fix(_lib): add missing #include for windows
- ci: relax fedora crypto policy to legacy.
- enhance setup.py for macos compatibility
- prefer packaging.version over distutils.version
- fix segfault with openssl 3.4.0
- fix[ec]: raise ioerror instead when load_key_bio() cannot read
  the file.
- doc: update installation instructions for windows.
- fix setting x509.verify_* variables
- fix building against openssl in non-standard location
- test_x509: use only x509_version_1 (0) as version for csr. 

(🤖: Submission of python-M2Crypto via #2 by mcepl)

OBS-URL: https://build.opensuse.org/request/show/1246575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=55
2025-02-18 18:08:59 +00:00
Git SCM Staging
f2b01693d5 [info=1e9ea663b887e692ed320c46c3c2adfc1085ed1a969b42cc66ae7079da625fea]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:2/python-M2Crypto?expand=0&rev=5
2025-02-18 08:01:41 +00:00
Git SCM Staging
779795b7c8 [info=de8b891696f3ab04e7305191e3cbee6cbab36ec4117f08f0fd66f7b8a9a5cb4b]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:2/python-M2Crypto?expand=0&rev=4
2025-02-18 07:25:22 +00:00
Git SCM Staging
316fdaec20 [info=80528487c6a34e654e4ebf0fd663af07b21d087bbc3cd5d3713bb3ca647fc842]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:2/python-M2Crypto?expand=0&rev=3
2025-02-17 17:57:44 +00:00
Git SCM Staging
8750b455c9 [info=9761c6bca47804fda333a7c0f18211847a2fb7fff105f03e2033336d562cdc3d]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:2/python-M2Crypto?expand=0&rev=2
2025-02-17 17:48:36 +00:00
Git SCM Staging
93535431b3 [info=0481399a509f0429822481acc45b97e931fea0f4b3e8f4c555af1402fb311c06]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:2/python-M2Crypto?expand=0&rev=1
2025-02-17 17:47:41 +00:00
OBS User unknown
0579903a45 [info=107cc599a168170a50b2d8ba14508a078094e99d48551ce823631bfe724ce80d]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=136
2024-11-01 20:00:48 +00:00
07abe58677 Accepting request 1219703 from devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:1
factory



(🤖: Submission of python-M2Crypto via #1 by mcepl)

OBS-URL: https://build.opensuse.org/request/show/1219703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=54
2024-11-01 20:00:40 +00:00
Git SCM Staging
5d5097734e [info=06d9f4cf69ca62d1065c25bc713473c743d5f1bd9b2518ae901c8113ba5af3b5]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-M2Crypto:1/python-M2Crypto?expand=0&rev=1
2024-10-30 18:54:59 +00:00
18ea3054c6 [info=489495c74822d8daf79a2edc0a5ec9e0d6c8b7ab3cb355200934de2bd2a8506d]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=135
2024-10-03 19:01:34 +00:00
5 changed files with 134 additions and 10 deletions

Binary file not shown.

3
m2crypto-0.46.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,124 @@
-------------------------------------------------------------------
Thu Oct 2 12:27:31 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.46.2:
- fix[m2xmlrpclib]: make the module compatible with Python 3.6
-------------------------------------------------------------------
Thu Oct 2 09:10:34 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.46.1:
- M2Crypto closes SSL connection on closing HTTPS Connection,
and some other related issues (#203, #278)
- Modernize C API by eliminating use of deprecated
PyBytes_AsStringAndSize and related functions with Python
Buffer Protocol (#375)
- Whole project is completely covered with type hints and is
checked by mypy (also while doing that, the whole project was
blackened) (#344)
- Add logging support to C extension code sending messages to
the Python logging
- Introducing first efforts to support Engine object (#229)
- Reworked and fixed M2Crypto.m2xmlrpclib module (#163)
- Reverted removal of demo/ subdirectory
- Improve SMIME documentation (#377)
- Some other minor bugs, improvements, and removal of dead code
- Correct license to BSD-2-Clause and update references
- Specify in setup.cfg that we require Python >= 3.6
-------------------------------------------------------------------
Wed Apr 23 15:10:46 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.45.1:
- ci: switch from using sha1 to sha256.
- ci(keys): regenerate rsa*.pem keys as well
- fix: make the package compatible with OpenSSL >= 3.4 (dont
rely on LEGACY crypto-policies)
- chore: package also system_shadowing directory to make builds more reliable
-------------------------------------------------------------------
Thu Apr 17 04:09:44 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.45.0:
- chore: preparing 0.45.0 release
- fix(lib,ssl): rewrite ssl_accept, ssl_{read,write}_nbio for better error handling
- fix: replace m2_PyBuffer_Release with native PyBuffer_Release
- chore: build Windows builds with Python 3.13 as well
- fix: remove support for Engine
- chore: use actual license of the project
- ci(Debian): make M2Crypto buildable on Debian (bsc#1240965)
- swig: Workaround for reading sys/select.h ending with wrong types.
- ci: bump required setuptools version because of change in naming strategy
- fix: add fix for build with older GCC
- fix: remove AnyStr and Any types
-------------------------------------------------------------------
Wed Apr 2 10:11:31 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Allow for ambiguity in first letter of directories in
%{python_sitearch}.
-------------------------------------------------------------------
Wed Feb 19 10:52:49 UTC 2025 - Matej Cepl <mcepl@suse.com>
- Change macro to %{?sle15allpythons} so we build both Python 3.6
and Python 3.11 on SLE-15.
-------------------------------------------------------------------
Tue Feb 18 07:24:17 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Fix spelling of BSD-2-Clause license.
- Add rpmlintrc … overflow of ignorable rpmlint warnings caused
me not to see the previous problem.
-------------------------------------------------------------------
Mon Feb 17 17:42:35 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 0.44.0:
- fix(rsa): introduce internal cache for rsa.check_key()
(bsc#1236664, srht#mcepl/m2crypto#369)
- fix[authcookie]: modernize the module
- fix(_lib): add missing #include for windows
- ci: relax fedora crypto policy to legacy.
- enhance setup.py for macos compatibility
- prefer packaging.version over distutils.version
- fix segfault with openssl 3.4.0
- fix[ec]: raise ioerror instead when load_key_bio() cannot read
the file.
- doc: update installation instructions for windows.
- fix setting x509.verify_* variables
- fix building against openssl in non-standard location
- test_x509: use only x509_version_1 (0) as version for csr.
-------------------------------------------------------------------
Wed Feb 12 11:01:06 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- The real license is BSD 2-Clause, not MIT.
-------------------------------------------------------------------
Wed Oct 30 18:42:41 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- 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 <mcepl@cepl.eu>

View File

@@ -0,0 +1 @@
addFilter("python-bytecode-inconsistent-mtime")

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-M2Crypto
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,16 @@
%define oldpython python
%{?sle15_python_module_pythons}
%{?sle15allpythons}
Name: python-M2Crypto
Version: 0.42.0
Version: 0.46.2
Release: 0
Summary: Crypto and SSL toolkit for Python
License: MIT
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://sr.ht/~mcepl/m2crypto/
Source0: https://files.pythonhosted.org/packages/source/M/M2crypto/m2crypto-%{version}.tar.gz
Source99: python-M2Crypto.rpmlintrc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -96,9 +97,10 @@ donttest="test_verify_with_static_callback"
%pytest_arch -k "not ($donttest)" tests
%files %{python_files}
%doc CHANGES LICENCE README.rst
%{python_sitearch}/M2Crypto
%{python_sitearch}/M2Crypto-%{version}*-info
%license LICENSES/BSD-2-Clause.txt
%doc CHANGES README.rst
%{python_sitearch}/[Mm]2[Cc]rypto
%{python_sitearch}/[Mm]2[Cc]rypto-%{version}*-info
%files -n %{name}-doc
%doc doc/*.rst