pkgsrc/devel/py-requests-futures/Makefile
adam ce0f073121 Small add-on for the python requests http library. Makes use of python 3.2's
concurrent.futures or the backport for prior versions of python.

The additional API and changes are minimal and strives to avoid surprises.
2017-07-07 09:55:20 +00:00

23 lines
662 B
Makefile

# $NetBSD: Makefile,v 1.1 2017/07/07 09:55:20 adam Exp $
DISTNAME= requests-futures-0.9.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-futures/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/ross/requests-futures
COMMENT= Asynchronous Python HTTP for Humans
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-requests>=1.2.0:../../devel/py-requests
.include "../../lang/python/pyversion.mk"
.if "${PYPKGPREFIX}" == "py27"
DEPENDS+= ${PYPKGPREFIX}-futures>=2.1.3:../../devel/py-futures
.endif
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"