Changeset View
Changeset View
Standalone View
Standalone View
devel/py-delfick_error/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= delfick_error | |||||
PORTVERSION= 1.7.2 | |||||
CATEGORIES= devel python | |||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | |||||
MAINTAINER= truckman@FreeBSD.org | |||||
COMMENT= Customized exception class | |||||
LICENSE= MIT | |||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \ | |||||
${PYTHON_PKGNAMEPREFIX}total-ordering>0:${PORTSDIR}/devel/py-total-ordering | |||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ | |||||
${PYTHON_PKGNAMEPREFIX}noseofyeti>=1.4.9:${PORTSDIR}/devel/py-noseofyeti \ | |||||
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose | |||||
OPTIONS_DEFINE= DOCS | |||||
DOCS_BUILD_DEPENDS= \ | |||||
${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx \ | |||||
${PYTHON_PKGNAMEPREFIX}cloud_sptheme>0:${PORTSDIR}/textproc/py-cloud_sptheme | |||||
NO_ARCH= yes | |||||
USES= python | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= delfick | |||||
GH_PROJECT= delfick_error | |||||
GH_TAGNAME= 6761e6c | |||||
USE_PYTHON= distutils autoplist | |||||
PORTDOCS= * | |||||
post-build-DOCS-on: | |||||
cd ${WRKSRC}/docs && ${SH} build.sh | |||||
post-install-DOCS-on: | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
(cd ${WRKSRC}/docs/_build/html ; \ | |||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") | |||||
do-test: | |||||
cd ${WRKSRC} && ${SH} test.sh | |||||
koobs: Prefer to invoke tests directly
We'll be providing python.mk framework variables for this soon… | |||||
truckmanAuthorUnsubmitted Not Done Inline Actionscd /wrkdirs/usr/ports/devel/py-delfick_error/work/delfick_error-6761e6c && /usr/local/bin/python2.7 test.sh File "test.sh", line 2 nosetests --with-noy $@ ^ SyntaxError: invalid syntax truckman: cd /wrkdirs/usr/ports/devel/py-delfick_error/work/delfick_error-6761e6c &&… | |||||
.include <bsd.port.mk> |
Prefer to invoke tests directly
We'll be providing python.mk framework variables for this soon, so it will assist in the conversion process
Same ordered do-test recommended as the previous review
Your call if you want to change this or not, but highly desirable.