From fa2e1ec5dd39274ace2950bcfa889f98784bab8c525c1916e81792031deb6e9f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 21 Jun 2016 12:28:35 +0000 Subject: [PATCH] Accepting request 403603 from home:archie172 New python package OBS-URL: https://build.opensuse.org/request/show/403603 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dns-lexicon?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-dns-lexicon.changes | 5 +++ python-dns-lexicon.spec | 70 ++++++++++++++++++++++++++++++++++++++ v1.1.6.tar.gz | 3 ++ 5 files changed, 102 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-dns-lexicon.changes create mode 100644 python-dns-lexicon.spec create mode 100644 v1.1.6.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-dns-lexicon.changes b/python-dns-lexicon.changes new file mode 100644 index 0000000..2fac189 --- /dev/null +++ b/python-dns-lexicon.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Jun 19 16:35:55 CDT 2016 - archie.cobbs@gmail.com + +- Initial creation of package, version 1.1.6 + diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec new file mode 100644 index 0000000..066a7d4 --- /dev/null +++ b/python-dns-lexicon.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-dns-lexicon +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +# See also http://en.opensuse.org/openSUSE:Specfile_guidelines + +Name: python-dns-lexicon +Version: 1.1.6 +Release: 0 +Summary: Manipulate DNS records on various DNS providers in a standardized way +License: MIT +Group: Productivity/Networking/DNS/Utilities +Url: https://github.com/AnalogJ/lexicon +Source0: https://github.com/AnalogJ/lexicon/archive/v%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +BuildRequires: fdupes +BuildRequires: pkg-config +BuildRequires: pkgconfig(python) >= 2.6.6 +BuildRequires: python-setuptools + +Requires: python-requests +Requires: python-tldextract + +%description +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 library. + +Lexicon was designed to be used in automation, specifically letsencrypt. + +%prep +%setup -q -n lexicon-%{version} + +# rpmlint +find -type f -name ".gitignore" -exec rm {} \; + +%build +python setup.py build + +# rpmlint +find -type f -name ".buildinfo" -exec rm {} \; + +%install +python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot} + +%files +%defattr(-,root,root) +%{python_sitelib}/lexicon +%{python_sitelib}/dns_lexicon-* +%doc LICENSE README.md +%{_bindir}/lexicon + +%changelog diff --git a/v1.1.6.tar.gz b/v1.1.6.tar.gz new file mode 100644 index 0000000..6b1a70f --- /dev/null +++ b/v1.1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac04bbea520636ceaf5db4f64a85777a12a3c800a81e0a27a4a821db33701254 +size 90954