diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-13 15:50:23 -0800 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-13 15:50:23 -0800 |
| commit | 75482dce5207ee4c267f608142a2a59f290c7cf5 (patch) | |
| tree | 754ddd6f7de3effc5d680a914a28bf8a2186ad8d /python/python-robot-detection.spec | |
| parent | 748cbfb5457f5839933198d87c5d7f24870a40b8 (diff) | |
| download | specs-75482dce5207ee4c267f608142a2a59f290c7cf5.tar.gz specs-75482dce5207ee4c267f608142a2a59f290c7cf5.tar.xz specs-75482dce5207ee4c267f608142a2a59f290c7cf5.zip | |
- python-robot-detection
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python/python-robot-detection.spec')
| -rw-r--r-- | python/python-robot-detection.spec | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/python/python-robot-detection.spec b/python/python-robot-detection.spec deleted file mode 100644 index 431a432..0000000 --- a/python/python-robot-detection.spec +++ /dev/null @@ -1,60 +0,0 @@ -%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: GPLv3+ -URL: https://github.com/rory/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 - -%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 -%tox - - -%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} -%license LICENCE -%doc README.md - - -%changelog -%autochangelog |
