diff options
author | wiz <wiz@pkgsrc.org> | 2022-09-11 16:30:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-09-11 16:30:34 +0000 |
commit | c52f91983250597e6dbdc1ce2a27f0e6219e1044 (patch) | |
tree | 47e425e0b231d659af89d17a44ebeda4e9fcbc61 | |
parent | 3772a0eaf6372c2ecf02519652fd25ce1690ad51 (diff) | |
download | pkgsrc-c52f91983250597e6dbdc1ce2a27f0e6219e1044.tar.gz |
py-twine: update dependencies, add many test dependencies
A couple still missing.
Bump PKGREVISION.
-rw-r--r-- | net/py-twine/Makefile | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/net/py-twine/Makefile b/net/py-twine/Makefile index 9a54926f855..e4ee4f7687c 100644 --- a/net/py-twine/Makefile +++ b/net/py-twine/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2022/08/23 22:09:03 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2022/09/11 16:30:34 wiz Exp $ DISTNAME= twine-4.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=t/twine/} @@ -10,14 +11,26 @@ HOMEPAGE= https://twine.readthedocs.io/ COMMENT= Collection of utilities for publishing packages on PyPI LICENSE= apache-2.0 -DEPENDS+= ${PYPKGPREFIX}-pkginfo>=1.4.2:../../devel/py-pkginfo -DEPENDS+= ${PYPKGPREFIX}-readme_renderer>=21.0:../../textproc/py-readme_renderer -DEPENDS+= ${PYPKGPREFIX}-requests>=2.17:../../devel/py-requests +DEPENDS+= ${PYPKGPREFIX}-pkginfo>=1.8.1:../../devel/py-pkginfo +DEPENDS+= ${PYPKGPREFIX}-readme_renderer>=35.0:../../textproc/py-readme_renderer +DEPENDS+= ${PYPKGPREFIX}-requests>=2.20:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-requests-toolbelt>=0.9.1:../../devel/py-requests-toolbelt -DEPENDS+= ${PYPKGPREFIX}-tqdm>=4.14:../../misc/py-tqdm +DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.26.0:../../www/py-urllib3 +DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=3.6:../../devel/py-importlib-metadata +DEPENDS+= ${PYPKGPREFIX}-keyring>=15.1:../../security/py-keyring +DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.4.0:../../www/py-rfc3986 +DEPENDS+= ${PYPKGPREFIX}-rich>=12.0.0:../../comms/py-rich BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov +# unpackaged +#TEST_DEPENDS+= ${PYPKGPREFIX}-test-socket-[0-9]*:../../*/py-test-socket +TEST_DEPENDS+= ${PYPKGPREFIX}-build-[0-9]*:../../devel/py-build +TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend +#TEST_DEPENDS+= ${PYPKGPREFIX}-munch-[0-9]*:../../wip/py-munch +TEST_DEPENDS+= ${PYPKGPREFIX}-portend-[0-9]*:../../net/py-portend +TEST_DEPENDS+= ${PYPKGPREFIX}-jaraco.envs-[0-9]*:../../devel/py-jaraco.envs PYTHON_VERSIONS_INCOMPATIBLE= 27 @@ -27,6 +40,8 @@ post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} twine twine-${PYVERSSUFFIX} || ${TRUE} +# as of 4.0.1 +# 180 passed, 4 warnings, 10 errors do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests |