# Created by: Kubilay Kocak # $FreeBSD: head/www/py-slumber/Makefile 412351 2016-04-01 14:33:55Z mat $ PORTNAME= slumber PORTVERSION= 0.7.1 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Library that makes consuming a REST API easier and more convenient LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2 \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock OPTIONS_DEFINE= YAML YAML_DESC= YAML serializer support YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml USES= python USE_GITHUB= yes USE_PYTHON= autoplist distutils GH_ACCOUNT= samgiles GH_TAGNAME= d84e140 NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include