commit b5dde984d2b309403971d4c2fb2ed4fe7e8c39c7
Author: Jan Palus <[email protected]>
Date:   Sun Jan 31 18:48:12 2021 +0100

    new

 python3-tldextract.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
---
diff --git a/python3-tldextract.spec b/python3-tldextract.spec
new file mode 100644
index 0000000..6df6432
--- /dev/null
+++ b/python3-tldextract.spec
@@ -0,0 +1,47 @@
+#
+%define                module          tldextract
+Summary:       Accurately separate the TLD from the registered domain and 
subdomains of a URL
+Name:          python3-%{module}
+Version:       3.1.0
+Release:       1
+License:       BSD
+Group:         Libraries/Python
+#Source0Download: https://pypi.org/simple/tldextract/
+Source0:       
https://files.pythonhosted.org/packages/source/t/tldextract/%{module}-%{version}.tar.gz
+# Source0-md5: 7701259eabe8d80d98e031b254bf7733
+URL:           https://github.com/john-kurkowski/tldextract/stargazers
+BuildRequires: python3-modules >= 1:3.5
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires:      python3-modules >= 1:3.5
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Accurately separate the TLD from the registered domain and
+subdomains of a URL, using the Public Suffix List. By default,
+this includes the public ICANN TLDs and their exceptions. You can
+optionally support the Public Suffix List's private domains as
+well.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n python3-%{module}
+%defattr(644,root,root,755)
+%doc CHANGELOG.md README.md
+%attr(755,root,root) %{_bindir}/tldextract
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-tldextract.git/commitdiff/b5dde984d2b309403971d4c2fb2ed4fe7e8c39c7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to