1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net/turses/Makefile
Kubilay Kocak 8e3e1fb0db net/turses: Update to 0.2.19
- Update to 0.2.19

Changes:

 - Bugfix: Restore Python 2.6 compatibility
2013-11-09 12:03:14 +00:00

41 lines
990 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= turses
PORTVERSION= 0.2.19
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python Twitter client for the console
LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauth2>0:${PORTSDIR}/net/py-oauth2 \
${PYTHON_PKGNAMEPREFIX}urwid>0:${PORTSDIR}/devel/py-urwid \
${PYTHON_PKGNAMEPREFIX}tweepy>=2.1:${PORTSDIR}/net/py-tweepy
TEST_DEPENDS:= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools for unit tests
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
NO_STAGE= yes
.include <bsd.port.options.mk>
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
PYDISTUTILS_AUTOPLIST= yes
.if ${PORT_OPTIONS:MTESTS}
BUILD_DEPENDS:= ${TEST_DEPENDS}
.endif
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>