Create new port for devel/py-nose-of-yeti

Nose plugin providing BDD dsl for Python

  Plugin for nose, inspired by <http://github.com/fmeyer/yeti>,
  which uses a codec style to provide an RSpec style BDD dsl
  for python tests.

Reviewed by:	koobs
Sponsored by:	Farsight Security, Inc.
Differential Revision:	https://reviews.freebsd.org/D5232
This commit is contained in:
Don Lewis 2016-02-09 09:11:40 +00:00
parent a99967df27
commit 5102ee761c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408542
4 changed files with 57 additions and 0 deletions

View file

@ -4166,6 +4166,7 @@
SUBDIR += py-ncurses
SUBDIR += py-nose
SUBDIR += py-nose-cov
SUBDIR += py-noseofyeti
SUBDIR += py-notifier
SUBDIR += py-notify
SUBDIR += py-ocempgui

View file

@ -0,0 +1,47 @@
# $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:${PORTSDIR}/devel/py-six
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}fudge>0:${PORTSDIR}/devel/py-fudge \
${PYTHON_PKGNAMEPREFIX}should_dsl>0:${PORTSDIR}/devel/py-should_dsl
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= \
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}fudge>0:${PORTSDIR}/devel/py-fudge \
${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx \
${PYTHON_PKGNAMEPREFIX}pinocchio>0:${PORTSDIR}/devel/py-pinocchio \
${PYTHON_PKGNAMEPREFIX}should_dsl>0:${PORTSDIR}/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= distutils autoplist
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>

View file

@ -0,0 +1,2 @@
SHA256 (delfick-nose-of-yeti-1.5.1-e8f3110_GH0.tar.gz) = 7a3d41d9f2508abde424cb03aac26e8b697c63a6c973f601dfd16fc410d8fb4c
SIZE (delfick-nose-of-yeti-1.5.1-e8f3110_GH0.tar.gz) = 46966

View file

@ -0,0 +1,7 @@
Nose plugin providing BDD dsl for python
Plugin for nose, inspired by http://github.com/fmeyer/yeti, which
uses a codec style to provide an RSpec style BDD dsl for python
tests
WWW: https://github.com/delfick/nose-of-yeti