aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-flexget/Makefile
blob: 6775ee5f7b48eed76a4cda60b62de4f3e017e8e1 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=   flexget
PORTVERSION=    1.1.73
PORTEPOCH=  1
CATEGORIES= www python
MASTER_SITES=   http://download.flexget.com/archive/ \
        http://download.flexget.com/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   FlexGet-${PORTVERSION}

MAINTAINER= wg@FreeBSD.org
COMMENT=    Program to automate downloading from different sources

LICENSE=    MIT

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}paver>=0:${PORTSDIR}/devel/py-paver \
        ${PYTHON_PKGNAMEPREFIX}distribute>=0:${PORTSDIR}/devel/py-distribute
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}feedparser>=5.1.3:${PORTSDIR}/textproc/py-feedparser \
        ${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.7:${PORTSDIR}/databases/py-sqlalchemy \
        ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \
        ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32 \
        ${PYTHON_SITELIBDIR}/bs4/__init__.py:${PORTSDIR}/www/py-beautifulsoup \
        ${PYTHON_PKGNAMEPREFIX}html5lib>=0.11:${PORTSDIR}/www/py-html5lib \
        ${PYTHON_PKGNAMEPREFIX}rss2gen>0:${PORTSDIR}/textproc/py-rss2gen \
        ${PYTHON_PKGNAMEPREFIX}pynzb>0:${PORTSDIR}/news/py-pynzb \
        ${PYTHON_PKGNAMEPREFIX}progressbar>0:${PORTSDIR}/misc/py-progressbar \
        ${PYTHON_PKGNAMEPREFIX}Jinja2>0:${PORTSDIR}/devel/py-Jinja2 \
        ${PYTHON_PKGNAMEPREFIX}Flask>0:${PORTSDIR}/www/py-flask \
        ${PYTHON_PKGNAMEPREFIX}cherrypy>0:${PORTSDIR}/www/py-cherrypy \
        ${PYTHON_PKGNAMEPREFIX}requests>=1.0:${PORTSDIR}/www/py-requests \
        ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:${PORTSDIR}/devel/py-dateutil \
        ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.0:${PORTSDIR}/devel/py-jsonschema \
        ${PYTHON_PKGNAMEPREFIX}tvrage>0:${PORTSDIR}/devel/py-tvrage
TEST_DEPENDS:=  ${RUN_DEPENDS} \
        ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
        ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock

USE_PYTHON=     -2.7
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    FlexGet
PYDISTUTILS_PKGVERSION= ${PORTVERSION:R}
PYDISTUTILS_NOEGGINFO=  yes

PLIST_SUB=  PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}

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

.include <bsd.port.mk>