freebsd-ports/devel/py-pooch/Makefile
Sunpoet Po-Chuan Hsieh 564238896b Add py-pooch 0.1
Pooch manages your Python library's sample data files: it automatically
downloads and stores them in a local directory, with support for versioning and
corruption checks.

WWW: https://github.com/fatiando/pooch
2018-08-29 19:07:55 +00:00

31 lines
794 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= pooch
PORTVERSION= 0.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fetch your sample data files
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3500
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.tempfile>=0:devel/py-backports.tempfile@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pathlib>=0:devel/py-pathlib@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>