]> git.pld-linux.org Git - packages/python3-tldextract.git/blob - python3-tldextract.spec
40a70cb61a68f4b1b6f8a8d7f2d1bdf235fe3269
[packages/python3-tldextract.git] / python3-tldextract.spec
1 #
2 %define         module          tldextract
3 Summary:        Accurately separate the TLD from the registered domain and subdomains of a URL
4 Name:           python3-%{module}
5 Version:        3.2.0
6 Release:        2
7 License:        BSD
8 Group:          Libraries/Python
9 #Source0Download: https://pypi.org/simple/tldextract/
10 Source0:        https://files.pythonhosted.org/packages/source/t/tldextract/%{module}-%{version}.tar.gz
11 # Source0-md5:  6eec76d6318a1019ae9b72be08a8bbd8
12 URL:            https://github.com/john-kurkowski/tldextract/stargazers
13 BuildRequires:  python3-modules >= 1:3.6
14 BuildRequires:  python3-setuptools
15 BuildRequires:  python3-setuptools_scm
16 BuildRequires:  rpm-pythonprov
17 BuildRequires:  rpmbuild(macros) >= 1.714
18 Requires:       python3-modules >= 1:3.6
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Accurately separate the TLD from the registered domain and
24 subdomains of a URL, using the Public Suffix List. By default,
25 this includes the public ICANN TLDs and their exceptions. You can
26 optionally support the Public Suffix List's private domains as
27 well.
28
29 %prep
30 %setup -q -n %{module}-%{version}
31
32 %build
33 %py3_build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %py3_install
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files -n python3-%{module}
44 %defattr(644,root,root,755)
45 %doc CHANGELOG.md README.md
46 %attr(755,root,root) %{_bindir}/tldextract
47 %{py3_sitescriptdir}/%{module}
48 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
This page took 0.18393 seconds and 2 git commands to generate.