pkgsrc/devel/py-requests-mock/Makefile
adam 8c49db3860 py-requests-mock: updated to 1.7.0
1.7.0
* Keep blank values query string values on request history
* Add release notes for requests version pin
* Keep blank values
* Pin requests version to <3
* Add known issue for cookies in Sessions
* logger added to adapter.py
2019-09-02 07:34:54 +00:00

30 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2019/09/02 07:34:54 adam Exp $
DISTNAME= requests-mock-1.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel www python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-mock/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://requests-mock.readthedocs.org/
COMMENT= Mock out responses from the requests package
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-requests>=2.3:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-purl-[0-9]*:../../www/py-purl
TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.1.2:../../textproc/py-sphinx
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-testrepository>=0.0.18:../../devel/py-testrepository
TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"