Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
devel:languages:python:backports
python-robot-detection
python-robot-detection.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-robot-detection.spec of Package python-robot-detection
# # spec file for package python-robot-detection # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define pypiver 0.4 %{?sle15_python_module_pythons} Name: python-robot-detection Version: 0.4.0 Release: 0 Summary: HTTP User Agent Bot Detection License: GPL-3.0-or-later URL: https://github.com/rory/robot-detection # https://github.com/rory/robot-detection/issues/2 Source0: https://github.com/rory/robot-detection/archive/v%{version}.tar.gz # PATCH-FIX-UPSTREAM https://github.com/amandasaurus/robot-detection/pull/3 get rid of six Patch: no-six.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages %description Library for detecting if a HTTP User Agent header is likely to be a bot. %prep %autosetup -p1 -n robot-detection-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec -m unittest discover %files %{python_files} %doc README.md %license LICENCE %{python_sitelib}/robot_detection.py %{python_sitelib}/robot_detection-%{pypiver}*info %pycache_only %{python_sitelib}/__pycache__/robot_detection* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor