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.6 |
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 13-36
Link Here
|
13 |
LICENSE= APACHE20 |
12 |
LICENSE= APACHE20 |
14 |
|
13 |
|
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} \ |
|
|
15 |
${PYTHON_PKGNAMEPREFIX}eventlet>=0:net/py-eventlet@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} |
17 |
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} |
|
|
18 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} |
18 |
|
20 |
|
19 |
USES= python:3.6+ |
21 |
USES= python:3.6+ |
20 |
USE_GITHUB= yes |
22 |
USE_PYTHON= autoplist concurrent distutils |
21 |
USE_PYTHON= autoplist distutils |
|
|
22 |
|
23 |
|
23 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
|
|
24 |
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
25 |
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} |
24 |
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} |
26 |
|
25 |
|
27 |
GH_ACCOUNT= gorakhargosh |
|
|
28 |
|
29 |
NO_ARCH= yes |
26 |
NO_ARCH= yes |
30 |
|
27 |
|
|
|
28 |
PORTDOCS= * |
29 |
|
31 |
OPTIONS_DEFINE= DOCS |
30 |
OPTIONS_DEFINE= DOCS |
32 |
|
31 |
|
33 |
PORTDOCS= * |
32 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathtools>=0.1.2:devel/py-pathtools@${PY_FLAVOR} \ |
|
|
33 |
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
34 |
|
34 |
|
35 |
post-build-DOCS-on: |
35 |
post-build-DOCS-on: |
36 |
(cd ${WRKSRC}/docs ; ${MAKE_CMD} SPHINXBUILD=sphinx-build-${PYTHON_VER} html) |
36 |
(cd ${WRKSRC}/docs ; ${MAKE_CMD} SPHINXBUILD=sphinx-build-${PYTHON_VER} html) |
Lines 40-43
Link Here
|
40 |
(cd ${WRKSRC}/docs/build/html ; \ |
40 |
(cd ${WRKSRC}/docs/build/html ; \ |
41 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") |
41 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") |
42 |
|
42 |
|
|
|
43 |
do-test: |
44 |
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests |
45 |
|
43 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |