1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/www/py-slumber/Makefile
Kubilay Kocak 01b5014a7e www/py-slumber: Update to 0.6.0
- Tweak COMMENT
- Tests are no longer installed, remove them from pkg-plist
- This update brings with it py-requests 1.x compatibility

Changes: https://github.com/dstufft/slumber/blob/v0.6.0/CHANGELOG.rst

Approved by:	eadler, rm (mentors, implicit)
2013-04-28 08:20:44 +00:00

41 lines
921 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= slumber
PORTVERSION= 0.6.0
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python library that makes consuming a RESTful API easier
LICENSE= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests
OPTIONS_DEFINE= YAML
YAML_DESC= Enable YAML serializer support
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MYAML}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
.endif
USE_GITHUB= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
GH_ACCOUNT= dstufft
GH_COMMIT= 85b17b9
GH_TAGNAME= v${DISTVERSION}
TEST_DEPENDS:= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>