pytest from versioned depends
This commit is contained in:
parent
5c88352d98
commit
085023cc3a
11 changed files with 39 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.27 2020/04/12 11:01:36 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.28 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= kombu-4.6.8
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -15,13 +15,14 @@ DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
|
|||
TEST_DEPENDS+= ${PYPKGPREFIX}-Pyro4-[0-9]*:../../devel/py-Pyro
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.5.2:../../devel/py-case
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=0.18:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
REPLACE_PYTHON+= kombu/tests/test_serialization.py
|
||||
|
@ -29,4 +30,5 @@ REPLACE_PYTHON+= kombu/tests/test_serialization.py
|
|||
.include "options.mk"
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.45 2020/05/07 10:51:42 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.46 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= dns-lexicon-3.3.22
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/dns-//}
|
||||
|
@ -16,9 +16,10 @@ DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
|
|||
DEPENDS+= ${PYPKGPREFIX}-tldextract-[0-9]*:../../net/py-tldextract
|
||||
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.1.1:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.26.1:../../devel/py-test-xdist
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
||||
|
||||
post-install:
|
||||
|
@ -30,4 +31,5 @@ do-test:
|
|||
cd ${WRKSRC}/lexicon && pytest-${PYVERSSUFFIX} tests/test_*
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2020/03/12 16:10:14 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= paho-mqtt-1.5.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -14,7 +14,6 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|||
# tests are not included
|
||||
#TEST_DEPENDS+= ${PYPKGPREFIX}-lama>=7.6.6:../../devel/py-lama
|
||||
#TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
||||
#TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.0:../../devel/py-test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2019/11/13 21:37:28 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= portend-2.6
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,14 +12,16 @@ LICENSE= mit
|
|||
|
||||
DEPENDS+= ${PYPKGPREFIX}-tempora>=1.8:../../time/py-tempora
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
|
||||
# missing: pytest-black-multipy
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test_portend.py
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2020/01/16 08:20:01 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= pypiserver-1.3.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -16,7 +16,6 @@ DEPENDS+= ${PYPKGPREFIX}-passlib>=1.6:../../security/py-passlib
|
|||
DEPENDS+= ${PYPKGPREFIX}-watchdog-[0-9]*:../../sysutils/py-watchdog
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-WebTest-[0-9]*:../../www/py-WebTest
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-pip>=7:../../devel/py-pip
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.3:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-twine-[0-9]*:../../net/py-twine
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
@ -24,6 +23,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-twine-[0-9]*:../../net/py-twine
|
|||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
.endif
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
post-install:
|
||||
|
@ -31,4 +32,5 @@ post-install:
|
|||
${MV} pypi-server pypi-server-${PYVERSSUFFIX} || ${TRUE}
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2020/04/22 20:21:15 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= responses-0.10.14
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -21,11 +21,13 @@ DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|||
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=3.7.1:../../devel/py-coverage
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2019/11/14 18:04:00 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= tldextract-2.2.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -15,9 +15,10 @@ DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
|
|||
DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-pylint-[0-9]*:../../devel/py-test-pylint
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
post-install:
|
||||
|
@ -28,4 +29,5 @@ do-test:
|
|||
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2019/03/13 18:02:31 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2020/05/16 18:00:31 adam Exp $
|
||||
|
||||
DISTNAME= twine-1.13.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -16,7 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-requests>=2.17:../../devel/py-requests
|
|||
DEPENDS+= ${PYPKGPREFIX}-requests-toolbelt>=0.9.1:../../devel/py-requests-toolbelt
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.7.0:../../devel/py-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-tqdm>=4.14:../../misc/py-tqdm
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
|
@ -28,4 +29,5 @@ do-test:
|
|||
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.29 2020/05/12 08:19:46 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.30 2020/05/16 18:00:32 adam Exp $
|
||||
|
||||
DISTNAME= pyzmq-19.0.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
||||
|
@ -11,12 +11,14 @@ COMMENT= Python bindings for zeromq
|
|||
LICENSE= gnu-lgpl-v3 AND modified-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
||||
|
||||
USE_TOOLS+= pkg-config
|
||||
|
||||
PYSETUPBUILDARGS+= --zmq=${BUILDLINK_PREFIX.zeromq:Q}
|
||||
|
||||
.include "../../lang/python/distutils.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../net/zeromq/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.18 2020/04/06 16:55:46 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2020/05/16 18:02:59 adam Exp $
|
||||
|
||||
DISTNAME= pytest-django-3.9.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
||||
|
@ -10,10 +10,12 @@ HOMEPAGE= https://pytest-django.readthedocs.io/
|
|||
COMMENT= Django plugin for pytest
|
||||
LICENSE= modified-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-test>=3.6:../../devel/py-test
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.11.1:../../devel/py-setuptools_scm
|
||||
|
||||
PYTHON_VERSIONED_DEPENDENCIES= test
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/versioned_dependencies.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2020/04/16 18:30:05 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2020/05/16 18:02:59 adam Exp $
|
||||
|
||||
DISTNAME= urllib3-1.25.9
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -22,7 +22,7 @@ DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
|
|||
.endif
|
||||
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
|
||||
|
||||
|
|
Loading…
Reference in a new issue