py-protego: updated to 0.3.0

0.3.0

Changed requirements:
Dropped support for Python 2.7, 3.5, 3.6, and 3.7, and added support for 3.11 and for the upcoming 3.12.
six is no longer a dependency.
Added support for the Visit-Time directive.
Fixed leading asterisks in allow and disallow values not being properly interpreted.
Protego.parse() now raises value error when content is not a string.
This commit is contained in:
adam 2024-01-18 16:12:32 +00:00
parent a794e2514f
commit 7261ffaaca
3 changed files with 16 additions and 19 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.4 2022/10/25 19:04:38 adam Exp $
# $NetBSD: Makefile,v 1.5 2024/01/18 16:12:32 adam Exp $
DISTNAME= Protego-0.2.1
DISTNAME= Protego-0.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Protego/}
@ -10,15 +10,12 @@ HOMEPAGE= https://github.com/scrapy/protego
COMMENT= Pure-Python robots.txt parser with support for modern conventions
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
USE_LANGUAGES= # none
PYTHON_VERSIONED_DEPENDENCIES= test:test
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,9 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2020/01/29 21:52:27 adam 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
@comment $NetBSD: PLIST,v 1.2 2024/01/18 16:12:32 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/protego.py
${PYSITELIB}/protego.pyc
${PYSITELIB}/protego.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2022/10/25 19:04:38 adam Exp $
$NetBSD: distinfo,v 1.5 2024/01/18 16:12:32 adam Exp $
BLAKE2s (Protego-0.2.1.tar.gz) = 275f5a483bfb75e7532d543caddd3932776941a6e3bf4acc96a657023366e54f
SHA512 (Protego-0.2.1.tar.gz) = ef61c6188ab983445e8041e9382b1320695c3041fbc26d20b460bff15f497ca035cd1fab82ce35153098c3679272203c01c1f0948461ea354b0492fee4253255
Size (Protego-0.2.1.tar.gz) = 3244403 bytes
BLAKE2s (Protego-0.3.0.tar.gz) = 4108a6538a63f1a71756606e8d5877549606f7a1529474ae13c2437d4063a474
SHA512 (Protego-0.3.0.tar.gz) = cb1209f93ed5dd6dc91d517107837c780e2138efa7766a9f6d00bd22d7b1904a5db5edb08db83bde34571735245d702db3a5c67970103dc77859bb4c9024e863
Size (Protego-0.3.0.tar.gz) = 3245581 bytes