blob: e164b7c94f80ade1c032b3850cf8d9a86aed1a7d (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= flexget
PORTVERSION= 2.13.15
PORTEPOCH= 1
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Program to automate downloading from different sources
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>0:databases/py-sqlalchemy12@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rpyc>0:devel/py-RPyC@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}apscheduler>=3.2.0:devel/py-apscheduler@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3:devel/py-dateutil@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=2.0:devel/py-jsonschema@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}path.py>=8.1.1:devel/py-path.py@${FLAVOR} \
${PY_PATHLIB} \
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.3:devel/py-pyparsing@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}guessit>=2.1.4:multimedia/py-guessit@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pynzb>0:news/py-pynzb@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zxcvbn>0:security/py-zxcvbn@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}plumbum>=1.2:sysutils/py-plumbum@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorclass>=2.2.0:textproc/py-colorclass@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}feedparser>=5.2.1:textproc/py-feedparser@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rss2gen>0:textproc/py-rss2gen@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}terminaltables>=3.1.0:textproc/py-terminaltables@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5:www/py-beautifulsoup@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cherrypy>=3.7.0:www/py-cherrypy@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask>=0.7:www/py-flask@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask-Compress>=1.2.1:www/py-flask-compress@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask-Cors>=2.1.2:www/py-flask-cors@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask-Login>=0.4.0:www/py-flask-login@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask-RESTful>=0.3.3:www/py-flask-restful@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask-restplus>=0.10.1:www/py-flask-restplus@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html5lib>=0.11:www/py-html5lib@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.8.0:www/py-requests@${FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-capturelog>0:devel/py-pytest-capturelog@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${FLAVOR}
USE_GITHUB= yes
GH_PROJECT= Flexget
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
post-extract:
# Unlock dependencies' versions
@${MV} ${WRKSRC}/requirements.in ${WRKSRC}/requirements.txt
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3300
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR}
.endif
.include <bsd.port.post.mk>
|