99f26ef9a9
1.5.1: Fix python 2.7 compatibility Rename test file for pytest Add tests via github actions Format code with black
22 lines
672 B
Makefile
22 lines
672 B
Makefile
# $NetBSD: Makefile,v 1.5 2020/04/28 11:06:20 adam Exp $
|
|
|
|
DISTNAME= requests-file-1.5.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-file/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/dashea/requests-file
|
|
COMMENT= Transport adapter for file:// URLs with the requests python lib
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-requests>=1.0.0:../../devel/py-requests
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHONBIN} -m unittest tests/test_requests_file.py
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|