forked from pool/python-pem
Accepting request 1137454 from devel:languages:python
- update to 23.1.0: * Support for Python 2.7, 3.5, and 3.6 has been dropped. * Support for RFC 4880 OpenPGP private & public keys: `pem.OpenPGPPublicKey` and `pem.OpenPGPPrivateKey`. * Support for intra-payload headers like the ones used in OpenPGP keys using the `meta_headers` property. * `pem.parse_file()` now accepts also `pathlib.Path` objects. * `pem.parse()` now also accepts `str`. * Added `text_payload`, `bytes_payload` and `decoded_payload` properties to all PEM objects that allow to directly access the payload without the envelope and possible headers. OBS-URL: https://build.opensuse.org/request/show/1137454 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pem?expand=0&rev=7
This commit is contained in:
3
pem-23.1.0.tar.gz
Normal file
3
pem-23.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:06503ff2441a111f853ce4e8b9eb9d5fedb488ebdbf560115d3dd53a1b4afc73
|
||||||
|
size 43796
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ae8be24d4a3cf445fd31be88f5d3083aaa1f56a36cabf88cd3e0a63a3993be00
|
|
||||||
size 35899
|
|
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 7 21:59:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 23.1.0:
|
||||||
|
* Support for Python 2.7, 3.5, and 3.6 has been dropped.
|
||||||
|
* Support for RFC 4880 OpenPGP private & public keys:
|
||||||
|
`pem.OpenPGPPublicKey` and `pem.OpenPGPPrivateKey`.
|
||||||
|
* Support for intra-payload headers like the ones used in
|
||||||
|
OpenPGP keys using the `meta_headers` property.
|
||||||
|
* `pem.parse_file()` now accepts also `pathlib.Path` objects.
|
||||||
|
* `pem.parse()` now also accepts `str`.
|
||||||
|
* Added `text_payload`, `bytes_payload` and `decoded_payload`
|
||||||
|
properties to all PEM objects that allow to directly access
|
||||||
|
the payload without the envelope and possible headers.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 3 11:37:48 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Mon Jul 3 11:37:48 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pem
|
# spec file for package python-pem
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,18 +18,23 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pem
|
Name: python-pem
|
||||||
Version: 21.2.0
|
Version: 23.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: PEM file parsing in Python
|
Summary: PEM file parsing in Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/hynek/pem
|
URL: https://github.com/hynek/pem
|
||||||
Source0: https://github.com/hynek/pem/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pem/pem-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Twisted-tls}
|
BuildRequires: %{python_module Twisted-tls}
|
||||||
BuildRequires: %{python_module certifi}
|
BuildRequires: %{python_module certifi}
|
||||||
|
BuildRequires: %{python_module hatch-fancy-pypi-readme}
|
||||||
|
BuildRequires: %{python_module hatch_vcs}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pretend}
|
BuildRequires: %{python_module pretend}
|
||||||
BuildRequires: %{python_module pyOpenSSL}
|
BuildRequires: %{python_module pyOpenSSL}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -43,10 +48,10 @@ i.e. Base64 encoded DER keys and certificates.
|
|||||||
%setup -q -n pem-%{version}
|
%setup -q -n pem-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_expand rm %{buildroot}/%{$python_sitelib}/pem/py.typed #zero length
|
%python_expand rm %{buildroot}/%{$python_sitelib}/pem/py.typed #zero length
|
||||||
|
|
||||||
@@ -55,8 +60,8 @@ i.e. Base64 encoded DER keys and certificates.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.md CHANGELOG.md
|
||||||
%{python_sitelib}/pem
|
%{python_sitelib}/pem
|
||||||
%{python_sitelib}/pem-%{version}*-info
|
%{python_sitelib}/pem-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user