git: 0a14529d32a5 - main - devel/py-defusedxml: Update version 0.6.0=>0.7.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 18:00:49 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a14529d32a5bf7accf1361ba05f535a26034a76 commit 0a14529d32a5bf7accf1361ba05f535a26034a76 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-06-09 17:47:46 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-06-09 17:47:46 +0000 devel/py-defusedxml: Update version 0.6.0=>0.7.1 - Update WWW - Add TEST framework Relnotes: https://github.com/tiran/defusedxml/releases/tag/v0.7.1 --- devel/py-defusedxml/Makefile | 10 ++++++++-- devel/py-defusedxml/distinfo | 6 +++--- devel/py-defusedxml/pkg-descr | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/devel/py-defusedxml/Makefile b/devel/py-defusedxml/Makefile index aba6900e887b..9a844382e790 100644 --- a/devel/py-defusedxml/Makefile +++ b/devel/py-defusedxml/Makefile @@ -1,7 +1,7 @@ # Created by: William Grzybowski <wg@FreeBSD.org> PORTNAME= defusedxml -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.1 CATEGORIES= devel python textproc MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +12,13 @@ COMMENT= XML bomb protection for Python stdlib modules LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE -NO_ARCH= yes +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils +NO_ARCH= yes + PORTDOCS= * DOCS_FILES= CHANGES.txt README.txt @@ -25,4 +28,7 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} tests.py + .include <bsd.port.mk> diff --git a/devel/py-defusedxml/distinfo b/devel/py-defusedxml/distinfo index 22ac0d3e192c..ee64c4167ea8 100644 --- a/devel/py-defusedxml/distinfo +++ b/devel/py-defusedxml/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1609580851 -SHA256 (defusedxml-0.6.0.tar.gz) = f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5 -SIZE (defusedxml-0.6.0.tar.gz) = 62670 +TIMESTAMP = 1654796072 +SHA256 (defusedxml-0.7.1.tar.gz) = 1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69 +SIZE (defusedxml-0.7.1.tar.gz) = 75520 diff --git a/devel/py-defusedxml/pkg-descr b/devel/py-defusedxml/pkg-descr index 3dbe0ac67adb..f647b85d9772 100644 --- a/devel/py-defusedxml/pkg-descr +++ b/devel/py-defusedxml/pkg-descr @@ -6,4 +6,4 @@ Gigabytes of memory within seconds. An attacker can also keep CPUs busy for a long time with a small to medium size request. This library prevents such issues. -WWW: https://bitbucket.org/tiran/defusedxml +WWW: https://github.com/tiran/defusedxml