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.diff -r1.4 -r1.5 pkgsrc/www/py-protego/Makefile
(adam)
@@ -1,24 +1,21 @@ | @@ -1,24 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2022/10/25 19:04:38 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2024/01/18 16:12:32 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= Protego-0.2.1 | 3 | DISTNAME= Protego-0.3.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=P/Protego/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=P/Protego/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/scrapy/protego | 9 | HOMEPAGE= https://github.com/scrapy/protego | |
10 | COMMENT= Pure-Python robots.txt parser with support for modern conventions | 10 | COMMENT= Pure-Python robots.txt parser with support for modern conventions | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |||
14 | 15 | |||
15 | USE_LANGUAGES= # none | 16 | USE_LANGUAGES= # none | |
16 | 17 | |||
17 | PYTHON_VERSIONED_DEPENDENCIES= test:test | 18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
18 | 19 | |||
19 | do-test: | 20 | .include "../../lang/python/wheel.mk" | |
20 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | |||
21 | ||||
22 | .include "../../lang/python/egg.mk" | |||
23 | .include "../../lang/python/versioned_dependencies.mk" | |||
24 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2022/10/25 19:04:38 adam Exp $ | 1 | $NetBSD: distinfo,v 1.5 2024/01/18 16:12:32 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (Protego-0.2.1.tar.gz) = 275f5a483bfb75e7532d543caddd3932776941a6e3bf4acc96a657023366e54f | 3 | BLAKE2s (Protego-0.3.0.tar.gz) = 4108a6538a63f1a71756606e8d5877549606f7a1529474ae13c2437d4063a474 | |
4 | SHA512 (Protego-0.2.1.tar.gz) = ef61c6188ab983445e8041e9382b1320695c3041fbc26d20b460bff15f497ca035cd1fab82ce35153098c3679272203c01c1f0948461ea354b0492fee4253255 | 4 | SHA512 (Protego-0.3.0.tar.gz) = cb1209f93ed5dd6dc91d517107837c780e2138efa7766a9f6d00bd22d7b1904a5db5edb08db83bde34571735245d702db3a5c67970103dc77859bb4c9024e863 | |
5 | Size (Protego-0.2.1.tar.gz) = 3244403 bytes | 5 | Size (Protego-0.3.0.tar.gz) = 3245581 bytes |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2020/01/29 21:52:27 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2024/01/18 16:12:32 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
5 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 6 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |
7 | ${PYSITELIB}/protego.py | 7 | ${PYSITELIB}/protego.py | |
8 | ${PYSITELIB}/protego.pyc | 8 | ${PYSITELIB}/protego.pyc | |
9 | ${PYSITELIB}/protego.pyo | 9 | ${PYSITELIB}/protego.pyo |