14
0

Accepting request 680512 from devel:languages:python

- update to 18.1.0
- drop fetch-intersphinx-inventories.sh
- drop local-intersphinx-inventories.patch
- cleanup spec + enable tests
 * pyOpenSSL is optional now if you use service_identity.cryptography.* only.
 * Added support for iPAddress subjectAltNames.

- add fetch-intersphinx-inventories.sh to the sources

- add local-intersphinx-inventories.patch for generating the docs
  correctly
- add fetch-intersphinx-inventories.sh to fetch the inventories

OBS-URL: https://build.opensuse.org/request/show/680512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-service_identity?expand=0&rev=7
This commit is contained in:
Stephan Kulow
2019-03-01 19:30:07 +00:00
committed by Git OBS Bridge
4 changed files with 42 additions and 25 deletions

3
18.1.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Mar 1 14:02:29 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 18.1.0
- drop fetch-intersphinx-inventories.sh
- drop local-intersphinx-inventories.patch
- cleanup spec + enable tests
* pyOpenSSL is optional now if you use service_identity.cryptography.* only.
* Added support for iPAddress subjectAltNames.
-------------------------------------------------------------------
Mon Feb 25 19:48:17 UTC 2019 - Todd R <toddrme2178@gmail.com>
- add fetch-intersphinx-inventories.sh to the sources
-------------------------------------------------------------------
Mon Feb 4 19:49:08 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
- add local-intersphinx-inventories.patch for generating the docs
correctly
- add fetch-intersphinx-inventories.sh to fetch the inventories
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:54:12 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:54:12 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,8 +1,7 @@
# #
# spec file for package python-service_identity # spec file for package python-service_identity
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 LISA GmbH, Bingen, Germany.
# #
# 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
@@ -20,28 +19,34 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oname service_identity %define oname service_identity
Name: python-service_identity Name: python-service_identity
Version: 17.0.0 Version: 18.1.0
Release: 0 Release: 0
Summary: Service identity verification for pyOpenSSL Summary: Service identity verification for pyOpenSSL
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/pyca/service_identity URL: https://github.com/pyca/service_identity
Source0: https://pypi.io/packages/source/s/%{oname}/%{oname}-%{version}.tar.gz # no tests in upstream tarball
# Documentation Source: https://github.com/pyca/service_identity/archive/%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module attrs} BuildRequires: %{python_module attrs}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module idna}
BuildRequires: %{python_module pyOpenSSL >= 0.14} BuildRequires: %{python_module pyOpenSSL >= 0.14}
BuildRequires: %{python_module pyasn1-modules} BuildRequires: %{python_module pyasn1-modules}
BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-attrs Requires: python-attrs
Requires: python-pyOpenSSL >= 0.14 Requires: python-cryptography
Requires: python-pyasn1 Requires: python-pyasn1
Requires: python-pyasn1-modules Requires: python-pyasn1-modules
Requires: python-setuptools Recommends: python-idna
Recommends: python-pyOpenSSL
BuildArch: noarch BuildArch: noarch
%ifpython2
Requires: python-ipaddress
%endif
%python_subpackages %python_subpackages
%description %description
@@ -58,26 +63,16 @@ relevant RFCs too.
%build %build
%python_build %python_build
# make man and documentation
cd docs
# do not run these in parallel to ensure reproducible builds (boo#1102408)
make %{?_smp_mflags} man
make %{?_smp_mflags} singlehtml
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# install man %check
install -Dm 0644 docs/_build/man/%{oname}.1 %{buildroot}%{_mandir}/man1/%{oname}.1 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%python_clone %{buildroot}%{_mandir}/man1/%{oname}.1
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{oname}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc AUTHORS.rst README.rst docs/_build/singlehtml/index.html %doc AUTHORS.rst README.rst
%{_mandir}/man1/*-%{python_bin_suffix}.1%{?ext_man}
%python3_only %{_mandir}/man1/%{oname}.1%{?ext_man}
%{python_sitelib}/%{oname} %{python_sitelib}/%{oname}
%{python_sitelib}/%{oname}-%{version}-py%{py_ver}.egg-info %{python_sitelib}/%{oname}-%{version}-py%{py_ver}.egg-info

View File

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