15
0
forked from pool/python-pem

Accepting request 730054 from devel:languages:python

- Update to 19.2.0:
  * Added support for pem.ECPrivateKey (EC PRIVATE KEY).

OBS-URL: https://build.opensuse.org/request/show/730054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pem?expand=0&rev=3
This commit is contained in:
Ludwig Nussel
2019-09-13 12:57:42 +00:00
committed by Git OBS Bridge
4 changed files with 11 additions and 10 deletions

View File

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

3
python-pem-19.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93772e1574c8ff3442e553025fe42ed66cea3abff7ce75363baffa8eb606e596
size 32825

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 11 08:15:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 19.2.0:
* Added support for pem.ECPrivateKey (EC PRIVATE KEY).
-------------------------------------------------------------------
Fri May 17 09:25:10 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -18,19 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pem
Version: 19.1.0
Version: 19.2.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
# extra
BuildRequires: %{python_module Sphinx}
# extra dev
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pytest}
@@ -52,8 +48,7 @@ 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
%python_expand rm %{buildroot}/%{$python_sitelib}/pem/py.typed #zero length
%check
%pytest tests