forked from pool/python-pem
Accepting request 703712 from home:mcalabkova:branches:devel:languages:python
Thank you. Something like this? - update to version 19.1.0 * You can now load encrypted PKCS#8 PEM key as ``pem.Key``. * Added support for ``pem.PublicKey`` (``PUBLIC KEY``). * Added support for ``pem.RSAPublicKey`` (``RSA PUBLIC KEY``). OBS-URL: https://build.opensuse.org/request/show/703712 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pem?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
ccb6dd4d8f
commit
0b7b56750e
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pem
|
||||
Version: 18.2.0
|
||||
Version: 19.1.0
|
||||
Release: 0
|
||||
Summary: PEM file parsing in Python
|
||||
License: MIT
|
||||
@@ -52,9 +52,11 @@ i.e. Base64 encoded DER keys and certificates.
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
rm -f %{buildroot}/%{python_sitelib}/pem/py.typed #zero length
|
||||
rm -f %{buildroot}/%{python3_sitelib}/pem/py.typed #zero length
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} tests
|
||||
%pytest tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user