Annotation of pkgsrc/devel/py-test-httpserver/Makefile, revision 1.1
1.1 ! wiz 1: # $NetBSD: Makefile,v 1.10 2022/10/25 07:06:14 adam Exp $
! 2:
! 3: DISTNAME= pytest_httpserver-1.0.6
! 4: PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
! 5: CATEGORIES= devel python
! 6: MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest_httpserver/}
! 7:
! 8: MAINTAINER= pkgsrc-users@NetBSD.org
! 9: HOMEPAGE= https://github.com/csernazs/pytest-httpserver
! 10: COMMENT= HTTP server for pytest
! 11: LICENSE= mit
! 12:
! 13: DEPENDS+= ${PYPKGPREFIX}-werkzeug>=2:../../www/py-werkzeug
! 14: TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
! 15: TEST_DEPENDS+= ${PYPKGPREFIX}-types-toml-[0-9]*:../../devel/py-types-toml
! 16: TEST_DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
! 17: TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
! 18:
! 19: PYTHON_VERSIONS_INCOMPATIBLE= 27
! 20:
! 21: USE_LANGUAGES= # none
! 22:
! 23: # needs to be installed for testing
! 24: TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
! 25: do-test:
! 26: cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
! 27:
! 28: .include "../../lang/python/egg.mk"
! 29: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>