public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Konecny <michal.konecny@pacse.eu>
To: git-commits@fedoraproject.org
Subject: [rpms/python-robot-detection] epel10: Initial commit for epel10
Date: Tue, 03 Nov 2026 12:53:41 GMT	[thread overview]
Message-ID: <179371042102.1.13601418617967963741.rpms-python-robot-detection-70b68eeef344@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-robot-detection
Branch : epel10
Commit : 70b68eeef344b80eb3c13b3290192a52f8988caf
Author : Michal Konecny <michal.konecny@pacse.eu>
Date   : 2026-11-03T13:53:25+01:00
Stats  : +63/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-robot-detection/c/70b68eeef344b80eb3c13b3290192a52f8988caf?branch=epel10

Log:
Initial commit for epel10

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ce895c5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/robot-detection-0.4.tar.gz

diff --git a/python-robot-detection.spec b/python-robot-detection.spec
new file mode 100644
index 0000000..5e413de
--- /dev/null
+++ b/python-robot-detection.spec
@@ -0,0 +1,61 @@
+%global srcname robot-detection
+
+Name:           python-%{srcname}
+Version:        0.4
+%global gh_ver %{version}.0
+Release:        %autorelease
+Summary:        Library for detecting bot HTTP UA headers
+License:        GPL-3.0-or-later
+URL:            https://github.com/amandasaurus/robot-detection
+# PyPI source does not have tests and license text
+# Source0:        %%{pypi_source %%{srcname}}
+Source0:        %{url}/archive/v%{gh_ver}/%{srcname}-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  python%{python3_pkgversion}-devel
+BuildRequires:  python%{python3_pkgversion}-setuptools
+BuildRequires:  python3dist(pytest)
+
+%global _description %{expand:
+robot_detection is a python module to detect if a given HTTP User Agent is a web
+crawler. It uses the list of registered robots from http://www.robotstxt.org:
+[Robots Database](http://www.robotstxt.org/db.html).}
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{srcname}
+Summary:        %{summary}
+
+%description -n python%{python3_pkgversion}-%{srcname} %{_description}
+
+
+%prep
+%autosetup -p1 -n %{srcname}-%{gh_ver}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -t
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+%pyproject_save_files robot_detection
+
+
+%check
+%pytest -v tests.py
+
+
+%files -n  python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
+%license LICENCE
+%doc README.md
+
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..e875852
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (robot-detection-0.4.tar.gz) = 10b1fbd2307c375e3cd067e43bee1bc0ff71f4b83ede9b92d2fb8d60edfd6d4a8d1a4d06d74e3c0653056f2e2b2cb81a7e997047093e925bd79bf4626d33d85f

                 reply	other threads:[~2026-11-03 12:53 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=179371042102.1.13601418617967963741.rpms-python-robot-detection-70b68eeef344@fedoraproject.org \
    --to=michal.konecny@pacse.eu \
    --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