python3-robot-detection: initial commit, version 0.4

This commit is contained in:
Tim Biermann 2024-02-20 21:40:47 +01:00
parent b55cb62318
commit 896b6d0747
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,13 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.10/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/__pycache__/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/__pycache__/robot_detection.cpython-310.pyc
drwxr-xr-x root/root usr/lib/python3.10/site-packages/robot_detection-0.4-py3.10.egg-info/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/robot_detection-0.4-py3.10.egg-info/PKG-INFO
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/robot_detection-0.4-py3.10.egg-info/SOURCES.txt
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/robot_detection-0.4-py3.10.egg-info/dependency_links.txt
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/robot_detection-0.4-py3.10.egg-info/requires.txt
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/robot_detection-0.4-py3.10.egg-info/top_level.txt
-rw-r--r-- root/root usr/lib/python3.10/site-packages/robot_detection.py

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wFmRPW0lxbmDPJn0/q1wccLKRIMAfBhiaGSKx/MlJxBotVY6qJ10wQP2d+g0CZcWmOpYp4uBacxqSLSYa8FCAs=
SHA256 (Pkgfile) = 48f3fca4f268a3e6b332555f3a12bd7085afd5bd7f5b0cb423c3897e7fdba6fe
SHA256 (.footprint) = b4b3ecea19cb6e01471d967516719aa625cde823a526c7e433a335b5880eb28a
SHA256 (robot-detection-0.4.tar.gz) = 3d8fb72ca47164b8ce55e33bdda93742f62c348def7d3cc3b42b0ceb4795a2f5

View File

@ -0,0 +1,18 @@
# Description: Library for detecting if a HTTP User Agent header is likely to be a bot
# URL: https://github.com/rory/robot-detection
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: python3-six
name=python3-robot-detection
version=0.4
release=1
source=(https://pypi.org/packages/source/r/robot-detection/robot-detection-$version.tar.gz)
build() {
cd robot-detection-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build
}