# Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= slumber PORTVERSION= 0.6.1 DISTVERSIONPREFIX= v CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Python library that makes consuming a RESTful API easier LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock OPTIONS_DEFINE= TESTS YAML TESTS_DESC= Install test suite requirements TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} YAML_DESC= YAML serializer support YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml USES= python USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= samgiles regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include