pkgsrc/devel/py-requests-toolbelt/Makefile
adam b854f22fc6 py-requests-toolbelt: updated to 1.0.0
1.0.0 -- 2023-05-01
-------------------

Breaking Changes
- Removed Google App Engine support to allow using urllib3 2.0

Fixed Bugs
- Ensured the test suite no longer reaches the Internet

Miscellaneous
- Added explicit support for Python 3.11
2023-05-04 08:04:11 +00:00

27 lines
900 B
Makefile

# $NetBSD: Makefile,v 1.18 2023/05/04 08:04:11 adam Exp $
DISTNAME= requests-toolbelt-1.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-toolbelt/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://toolbelt.readthedocs.io/
COMMENT= Utility belt for advanced users of python-requests
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-requests>=2.0.1:../../devel/py-requests
TEST_DEPENDS+= ${PYPKGPREFIX}-betamax-[0-9]*:../../www/py-betamax
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"