public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-publicsuffix2] epel10: initial commit (#1842475)
Date: Fri, 30 Oct 2026 22:47:12 GMT [thread overview]
Message-ID: <179340043213.1.6455132406614013915.rpms-python-publicsuffix2-7e5894620685@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-publicsuffix2
Branch : epel10
Commit : 7e58946206855e8538aa098d33f2bc49cd9df3bc
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2020-06-15T00:55:38+02:00
Stats : +59/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-publicsuffix2/c/7e58946206855e8538aa098d33f2bc49cd9df3bc?branch=epel10
Log:
initial commit (#1842475)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7547fff
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/publicsuffix2-2.20191221.tar.gz
diff --git a/python-publicsuffix2.spec b/python-publicsuffix2.spec
new file mode 100644
index 0000000..f55d814
--- /dev/null
+++ b/python-publicsuffix2.spec
@@ -0,0 +1,57 @@
+%global pypi_name publicsuffix2
+
+%global desc This module allows you to get the public suffix, as well as the registrable\
+domain, of a domain name using the Public Suffix List from\
+http://publicsuffix.org\
+\
+This module builds the public suffix list as a Trie structure, making it more\
+efficient than other string-based modules available for the same purpose. It can\
+be used effectively in large-scale distributed environments, such as PySpark.\
+\
+The code is a fork of the publicsuffix package and includes the same base API.\
+In addition, it contains a few variants useful for certain use cases, such as\
+the option to ignore wildcards or return only the extended TLD (eTLD). You just\
+need to import publicsuffix2 instead.
+
+Name: python-%{pypi_name}
+Version: 2.20191221
+Release: 1%{?dist}
+Summary: Get a public suffix for a domain name using the Public Suffix List
+License: MIT
+URL: https://github.com/nexb/python-publicsuffix2
+Source0: %{pypi_source}
+BuildArch: noarch
+
+%description
+%{desc}
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+BuildRequires: python3-devel
+BuildRequires: python3-requests
+Requires: publicsuffix-list
+
+%description -n python3-%{pypi_name}
+%{desc}
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+rm -r src/%{pypi_name}.egg-info
+
+%build
+%py3_build
+
+%install
+%py3_install
+rm %{buildroot}%{python3_sitelib}/%{pypi_name}/public_suffix_list.dat
+ln -s ../../../../share/publicsuffix/public_suffix_list.dat %{buildroot}%{python3_sitelib}/%{pypi_name}
+
+%files -n python3-%{pypi_name}
+%doc README.rst
+%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+%{python3_sitelib}/%{pypi_name}
+
+%changelog
+* Mon Jun 01 2020 Dominik Mierzejewski <dominik@greysector.net> 2.20191221-1
+- initial build
+- unbundle public_suffix_list.dat file
diff --git a/sources b/sources
new file mode 100644
index 0000000..08c0156
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (publicsuffix2-2.20191221.tar.gz) = d863f0937b340958ef7c8bd07d62054aead993ba31b0c2753631f2e75e48f7cea412c6501d8a94d98bf6a97a13eb0716c24a89e336787d5570e9af0386c58320
reply other threads:[~2026-10-30 22:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179340043213.1.6455132406614013915.rpms-python-publicsuffix2-7e5894620685@fedoraproject.org \
--to=dominik@greysector.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox