update to 3.7.0
This commit is contained in:
parent
962c321830
commit
5e9310e208
3 changed files with 18 additions and 33 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
%global forgeurl https://github.com/AnalogJ/lexicon
|
||||
Version: 3.5.3
|
||||
Version: 3.7.0
|
||||
%forgemeta
|
||||
|
||||
%global pypi_name dns-lexicon
|
||||
|
|
@ -17,7 +17,7 @@ Version: 3.5.3
|
|||
%endif
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Release: 4%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way
|
||||
|
||||
License: MIT
|
||||
|
|
@ -29,12 +29,9 @@ BuildArch: noarch
|
|||
Patch0: 0000-remove-shebang.patch
|
||||
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
BuildRequires: poetry >= 0.12
|
||||
BuildRequires: python3-pyparsing >= 2.0.2
|
||||
BuildRequires: python3-six
|
||||
BuildRequires: poetry >= 1.0.0
|
||||
|
||||
# required to run the test suite
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytest-vcr
|
||||
|
||||
|
|
@ -55,13 +52,6 @@ library.
|
|||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
Requires: python3-cryptography
|
||||
Requires: python3-future
|
||||
Requires: python3-requests
|
||||
Requires: python3-setuptools
|
||||
Requires: python3-pyOpenSSL
|
||||
Requires: python3-tldextract
|
||||
Requires: python3-pyyaml
|
||||
|
||||
# Both packages install a Python module named lexicon
|
||||
# TODO: Remove this once resolved upstream (see upstream #222)
|
||||
|
|
@ -86,6 +76,11 @@ Provides: python%{python3_version}dist(%{pypi_name}[henet]) = %{version}
|
|||
Obsoletes: python3-%{pypi_name}+hetzner < 3.4
|
||||
Provides: python3dist(%{pypi_name}[hetzner]) = %{version}
|
||||
Provides: python%{python3_version}dist(%{pypi_name}[hetzner]) = %{version}
|
||||
|
||||
# lexicon 3.6.0 removed the xmltodict dependency (and the "plesk" extra)
|
||||
Obsoletes: python3-%{pypi_name}+plesk < 3.6
|
||||
Provides: python3dist(%{pypi_name}[plesk]) = %{version}
|
||||
Provides: python%{python3_version}dist(%{pypi_name}[plesk]) = %{version}
|
||||
%endif
|
||||
# }}}
|
||||
|
||||
|
|
@ -97,18 +92,6 @@ library.
|
|||
This is the Python 3 version of the package.
|
||||
|
||||
|
||||
%package -n python3-%{pypi_name}+plesk
|
||||
Summary: Meta-package for python3-%{pypi_name} and Plesk provider
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}+plesk}
|
||||
|
||||
Requires: python3-%{pypi_name} = %{version}-%{release}
|
||||
Requires: python3-xmltodict
|
||||
|
||||
%description -n python3-%{pypi_name}+plesk
|
||||
This package installs no files. It requires python3-%{pypi_name} and all
|
||||
dependencies necessary to use the Plesk provider.
|
||||
|
||||
|
||||
%package -n python3-%{pypi_name}+route53
|
||||
Summary: Meta-package for python3-%{pypi_name} and Route 53 provider
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}+route53}
|
||||
|
|
@ -127,7 +110,7 @@ rm -rf %{pypi_name}.egg-info
|
|||
rm setup.py
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r -t -e light -x route53,plesk
|
||||
%pyproject_buildrequires -r -t -e light -x route53
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -145,7 +128,8 @@ rm setup.py
|
|||
# - NamecheapManagedProviderTests
|
||||
# - GransyProviderTests
|
||||
# - LocalzoneProviderTests
|
||||
TEST_SELECTOR="not AutoProviderTests and not GoDaddyProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests"
|
||||
# - OciProviderTests
|
||||
TEST_SELECTOR="not AutoProviderTests and not GoDaddyProviderTests and not TransipProviderTests and not SoftLayerProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests and not GransyProviderTests and not LocalzoneProviderTests and not OciProviderTests"
|
||||
# EPEL 8 does not provide the python3-pytest-vcr package
|
||||
%if 0%{?fedora}
|
||||
# The %%tox macro lacks features so we need to use pytest directly:
|
||||
|
|
@ -175,8 +159,6 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests
|
|||
# Extras meta-packages
|
||||
# {{{
|
||||
%if %{with extras}
|
||||
%files -n python3-%{pypi_name}+plesk
|
||||
%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info}
|
||||
|
||||
%files -n python3-%{pypi_name}+route53
|
||||
%{?python_extras_subpkg:%ghost %{python3_sitelib}/dns_lexicon-%{version}.dist-info}
|
||||
|
|
@ -185,6 +167,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests
|
|||
# }}}
|
||||
|
||||
%changelog
|
||||
* Thu Aug 19 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 3.7.0-1
|
||||
- update to 3.7.0
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue