aboutsummaryrefslogblamecommitdiff
path: root/www/py-requests-cache/Makefile
blob: 74c769ce124a1bf3964e2fb356b483b133ac28b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                                               












                                                     


                                                                                   

                            
                           







                                                
# Created by: Kubilay Kocak <koobs@FreeBSD.org>

PORTNAME=	requests-cache
PORTVERSION=	0.4.13
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Persistent cache for requests library

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}

# Python 2.6-3.5(+) 20171026
USES=		python:3.6+
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest

.include <bsd.port.mk>