Lines 1-10
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= watchdog |
3 |
PORTNAME= watchdog |
4 |
PORTVERSION= 0.9.0 |
4 |
PORTVERSION= 0.10.2 |
5 |
DISTVERSIONPREFIX= v |
5 |
CATEGORIES= devel python |
6 |
PORTREVISION= 0 |
6 |
MASTER_SITES= CHEESESHOP |
7 |
CATEGORIES= devel |
|
|
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
8 |
|
10 |
MAINTAINER= nivit@FreeBSD.org |
9 |
MAINTAINER= nivit@FreeBSD.org |
Lines 15-31
Link Here
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argh>=0.26.1:devel/py-argh@${PY_FLAVOR} \ |
14 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argh>=0.26.1:devel/py-argh@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
15 |
${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} |
16 |
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} |
|
|
17 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} |
18 |
|
19 |
|
19 |
USES= python |
20 |
USES= python |
20 |
USE_GITHUB= yes |
21 |
USE_PYTHON= autoplist concurrent distutils |
21 |
USE_PYTHON= autoplist distutils |
|
|
22 |
|
22 |
|
23 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
23 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.4:textproc/py-sphinx@${PY_FLAVOR} |
24 |
${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.4:textproc/py-sphinx@${PY_FLAVOR} |
25 |
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} |
|
|
26 |
|
25 |
|
27 |
GH_ACCOUNT= gorakhargosh |
|
|
28 |
|
29 |
NO_ARCH= yes |
26 |
NO_ARCH= yes |
30 |
|
27 |
|
31 |
OPTIONS_DEFINE= DOCS |
28 |
OPTIONS_DEFINE= DOCS |
Lines 40-43
Link Here
|
40 |
(cd ${WRKSRC}/docs/build/html ; \ |
37 |
(cd ${WRKSRC}/docs/build/html ; \ |
41 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") |
38 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") |
42 |
|
39 |
|
|
|
40 |
do-test: |
41 |
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests |
42 |
|
43 |
.include <bsd.port.mk> |
43 |
.include <bsd.port.mk> |