diff --git a/pem-23.1.0.tar.gz b/pem-23.1.0.tar.gz new file mode 100644 index 0000000..1ec2958 --- /dev/null +++ b/pem-23.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06503ff2441a111f853ce4e8b9eb9d5fedb488ebdbf560115d3dd53a1b4afc73 +size 43796 diff --git a/python-pem-21.2.0.tar.gz b/python-pem-21.2.0.tar.gz deleted file mode 100644 index 724bb7f..0000000 --- a/python-pem-21.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae8be24d4a3cf445fd31be88f5d3083aaa1f56a36cabf88cd3e0a63a3993be00 -size 35899 diff --git a/python-pem.changes b/python-pem.changes index 3afa6b1..f1a5c09 100644 --- a/python-pem.changes +++ b/python-pem.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Jan 7 21:59:56 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-pem.spec b/python-pem.spec index 8569fdb..1c15fdd 100644 --- a/python-pem.spec +++ b/python-pem.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,23 @@ %{?sle15_python_module_pythons} Name: python-pem -Version: 21.2.0 +Version: 23.1.0 Release: 0 Summary: PEM file parsing in Python License: MIT Group: Development/Languages/Python 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 certifi} +BuildRequires: %{python_module hatch-fancy-pypi-readme} +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pretend} BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -43,10 +48,10 @@ i.e. Base64 encoded DER keys and certificates. %setup -q -n pem-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %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} %license LICENSE -%doc README.rst +%doc README.md CHANGELOG.md %{python_sitelib}/pem -%{python_sitelib}/pem-%{version}*-info +%{python_sitelib}/pem-%{version}.dist-info %changelog