aboutsummaryrefslogtreecommitdiffstats
path: root/net/turses/Makefile
blob: 63e244d4d6e566defe06d65c648b3c022b82944a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   turses
PORTVERSION=    0.3.0
CATEGORIES= net python
MASTER_SITES=   CHEESESHOP

MAINTAINER= koobs@FreeBSD.org
COMMENT=    Python Twitter client for the console

LICENSE=    GPLv3

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}urwid>0:devel/py-urwid \
        ${PYTHON_PKGNAMEPREFIX}tweepy>=2.2:net/py-tweepy
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
        ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock

OPTIONS_DEFINE=     TESTS

TESTS_DESC=     Install test suite requirements
TESTS_BUILD_DEPENDS=    ${RUN_DEPENDS} \
            ${TEST_DEPENDS}

USES=       python:2.7
USE_PYTHON= autoplist distutils

NO_ARCH=    yes

regression-test: build
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>