Update to 3.0.2

This commit is contained in:
Eli Young 2018-11-14 12:50:33 -08:00
commit 929d07fe99
6 changed files with 53 additions and 12 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@
/dns-lexicon-2.4.5.tar.gz
/dns-lexicon-2.7.0.tar.gz
/dns-lexicon-2.7.9.tar.gz
/dns-lexicon-3.0.2.tar.gz

View file

@ -0,0 +1,9 @@
diff --git a/lexicon/cli.py b/lexicon/cli.py
index 9b55b8e..d065039 100644
--- a/lexicon/cli.py
+++ b/lexicon/cli.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import print_function

View file

@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index ab653e3..40035eb 100644
--- a/setup.py
+++ b/setup.py
@@ -81,7 +81,7 @@ setup(
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
- install_requires=['requests[security]', 'tldextract', 'future', 'cryptography', 'pyyaml'],
+ install_requires=['requests', 'tldextract', 'future', 'cryptography', 'pyyaml'],
# Each dependency group in extras_require should match a provider name
# When adding a new depenency group here, please ensure that it has been

View file

@ -7,7 +7,7 @@
%endif
Name: python-%{pypi_name}
Version: 2.7.9
Version: 3.0.2
Release: 1%{?dist}
Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way
@ -16,19 +16,33 @@ URL: https://github.com/AnalogJ/lexicon
Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
Patch0: remove-shebang.patch
Patch0: 0000-remove-shebang.patch
%if 0%{?rhel} && 0%{?rhel} <= 7
Patch1: 0001-fix-requirements.patch
%endif
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-cryptography
BuildRequires: python2-future
BuildRequires: python2-pyyaml
BuildRequires: python2-tldextract
%if 0%{?rhel} && 0%{?rhel} <= 7
# EL7 has an unversioned name for this packages
BuildRequires: pyOpenSSL
%else
BuildRequires: python2-pyOpenSSL
%endif
%if %{with python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-cryptography
BuildRequires: python3-future
BuildRequires: python3-pyOpenSSL
BuildRequires: python3-pyyaml
BuildRequires: python3-tldextract
%endif
@ -45,8 +59,16 @@ Requires: python2-cryptography
Requires: python2-future
Requires: python2-requests
Requires: python2-setuptools
Requires: python2-pyyaml
Requires: python2-tldextract
%if 0%{?rhel} && 0%{?rhel} <= 7
# EL7 has an unversioned name for this packages
Requires: pyOpenSSL
%else
Requires: python2-pyOpenSSL
%endif
%description -n python2-%{pypi_name}
Lexicon provides a way to manipulate DNS records on multiple DNS providers in a
standardized way. Lexicon has a CLI but it can also be used as a python
@ -63,6 +85,8 @@ Requires: python3-cryptography
Requires: python3-future
Requires: python3-requests
Requires: python3-setuptools
Requires: python3-pyOpenSSL
Requires: python3-pyyaml
Requires: python3-tldextract
%description -n python3-%{pypi_name}
@ -118,6 +142,9 @@ ln -s %{_bindir}/lexicon-%{python3_version} %{buildroot}/%{_bindir}/lexicon-3
%endif
%changelog
* Wed Nov 14 2018 Eli Young <elyscape@gmail.com> - 3.0.2-1
- Update to 3.0.2
* Mon Oct 08 2018 Eli Young <elyscape@gmail.com> - 2.7.9-1
- Update to 2.7.9 (#1637142)

View file

@ -1,9 +0,0 @@
diff --git a/lexicon/__main__.py b/lexicon/__main__.py
index d674809..829e2f6 100644
--- a/lexicon/__main__.py
+++ b/lexicon/__main__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import print_function

View file

@ -1 +1 @@
SHA512 (dns-lexicon-2.7.9.tar.gz) = 84255483938ff6c6fa0d02ea6f11d8b4a3c8261cf9a4e77aff21077e34ea9718c025803e87c9ff61d27d252164d6e4c91936f4fc07a718ff96f424b7e7b17f7e
SHA512 (dns-lexicon-3.0.2.tar.gz) = 0ddf900e63870005ee2aba0cdb009284da502b97aeb62db20cb79b6c6926111f6fbf20d38e3f45a7a1255582ef597c36389676e6167268f60572352fbc0ed35d