freebsd-ports/devel/py-noseofyeti/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

47 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= noseofyeti
PORTVERSION= 1.5.1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= truckman@FreeBSD.org
COMMENT= Nose plugin providing BDD dsl for Python
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
${PYTHON_PKGNAMEPREFIX}fudge>0:devel/py-fudge \
${PYTHON_PKGNAMEPREFIX}should_dsl>0:devel/py-should_dsl
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= \
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
${PYTHON_PKGNAMEPREFIX}fudge>0:devel/py-fudge \
${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx \
${PYTHON_PKGNAMEPREFIX}pinocchio>0:devel/py-pinocchio \
${PYTHON_PKGNAMEPREFIX}should_dsl>0:devel/py-should_dsl
NO_ARCH= yes
USES= python shebangfix
USE_GITHUB= yes
GH_ACCOUNT= delfick
GH_PROJECT= nose-of-yeti
GH_TAGNAME= e8f3110
USE_PYTHON= autoplist distutils
SHEBANG_FILES= test.sh
PYTHON_OLD_CMD= "/usr/bin/env python"
PORTDOCS= *
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} test.sh
post-build-DOCS-on:
(cd ${WRKSRC}/docs ; PYTHONPATH=${WRKSRC} ${MAKE_CMD} html)
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/_build/html ; \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo")
.include <bsd.port.mk>