mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
textproc/py-docstring_parser: update to 0.16
While here: - switch to USE_PYTHON=pep517 - switch to USE_PYTHON=pytest and remove TEST_DEPENDS and do-test target Changelog: https://github.com/rr-/docstring_parser/blob/0.16/CHANGELOG.md PR: 286110 Reviewed by: kai Approved by: kai
This commit is contained in:
parent
50ecdfa88e
commit
3fbc3a4208
2 changed files with 6 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME= docstring_parser
|
PORTNAME= docstring_parser
|
||||||
DISTVERSION= 0.15
|
DISTVERSION= 0.16
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= textproc python
|
CATEGORIES= textproc python
|
||||||
MASTER_SITES= PYPI
|
MASTER_SITES= PYPI
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -12,16 +11,13 @@ WWW= https://github.com/rr-/docstring_parser
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||||
|
|
||||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python
|
USES= python
|
||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist pep517 pytest
|
||||||
|
|
||||||
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
|
|
||||||
do-test:
|
|
||||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1677411103
|
TIMESTAMP = 1744711535
|
||||||
SHA256 (docstring_parser-0.15.tar.gz) = 48ddc093e8b1865899956fcc03b03e66bb7240c310fac5af81814580c55bf682
|
SHA256 (docstring_parser-0.16.tar.gz) = 538beabd0af1e2db0146b6bd3caa526c35a34d61af9fd2887f3a8a27a739aa6e
|
||||||
SIZE (docstring_parser-0.15.tar.gz) = 26768
|
SIZE (docstring_parser-0.16.tar.gz) = 26565
|
||||||
|
|
Loading…
Add table
Reference in a new issue