pkgsrc/devel/py-test-localserver/Makefile
adam 9cf82bd6a2 py-test-localserver: updated to 0.5.1
0.5.1 (2021-11-18)
------------------
Regenerate included certificate to use SHA-256 hash to avoid OpenSSL errors.
Add support for Python 3.10.
Drop support for Python 2.6.
Migrate repository to Github and update project metadata.
2022-01-07 16:44:54 +00:00

25 lines
785 B
Makefile

# $NetBSD: Makefile,v 1.7 2022/01/07 16:44:54 adam Exp $
DISTNAME= pytest-localserver-0.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/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
PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"