pkgsrc/devel/py-test-localserver/Makefile

26 lines
767 B
Makefile
Raw Normal View History

2020-05-16 18:30:15 +02:00
# $NetBSD: Makefile,v 1.5 2020/05/16 16:30:16 adam Exp $
DISTNAME= pytest-localserver-0.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/}
MAINTAINER= pkgsrc-users@NetBSD.org
2017-10-09 10:47:02 +02:00
HOMEPAGE= https://bitbucket.org/pytest-dev/pytest-localserver/
COMMENT= Py.test plugin to test server connections locally
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.10:../../www/py-werkzeug
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
2020-05-16 18:30:15 +02:00
PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
do-test:
2020-05-16 18:30:15 +02:00
cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
2020-05-16 18:30:15 +02:00
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"