py-robot-detection: add version 0.4

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)
This commit is contained in:
markd 2023-05-10 21:59:57 +00:00
parent 261b7f78d8
commit 9381cc3bb0
5 changed files with 39 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1709 2023/05/05 11:01:09 adam Exp $
# $NetBSD: Makefile,v 1.1710 2023/05/10 21:59:57 markd Exp $
#
COMMENT= Packages related to the World Wide Web
@ -846,6 +846,7 @@ SUBDIR+= py-requests-wsgi-adapter
SUBDIR+= py-respx
SUBDIR+= py-rfc3986
SUBDIR+= py-robobrowser
SUBDIR+= py-robot-detection
SUBDIR+= py-rss2gen
SUBDIR+= py-sanic
SUBDIR+= py-sanic-routing

View File

@ -0,0 +1,3 @@
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)

View File

@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.1 2023/05/10 21:59:57 markd Exp $
DISTNAME= robot-detection-0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/robot-detection/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rory/robot-detection/
COMMENT= Detect web crawlers using HTTP User Agent
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2023/05/10 21:59:57 markd Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/robot_detection.py
${PYSITELIB}/robot_detection.pyc
${PYSITELIB}/robot_detection.pyo

View File

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2023/05/10 21:59:57 markd Exp $
BLAKE2s (robot-detection-0.4.tar.gz) = 3426065d5e685b356e53f0134db577b1a983541706ee89e68abdc3bee3ed0c3b
SHA512 (robot-detection-0.4.tar.gz) = c6b9979143a4dbe68a55c2ef47d3e029c66ec758d4ba17150199ae932201dda5b8e3c31aba092f8a7889fec38b3f647f161db813f6fca12b6c7404deb3726c08
Size (robot-detection-0.4.tar.gz) = 6387 bytes