svn commit: r408542 - in head/devel: . py-noseofyeti

Don Lewis truckman at FreeBSD.org
Tue Feb 9 09:11:42 UTC 2016


Author: truckman
Date: Tue Feb  9 09:11:40 2016
New Revision: 408542
URL: https://svnweb.freebsd.org/changeset/ports/408542

Log:
  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

Added:
  head/devel/py-noseofyeti/
  head/devel/py-noseofyeti/Makefile   (contents, props changed)
  head/devel/py-noseofyeti/distinfo   (contents, props changed)
  head/devel/py-noseofyeti/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Feb  9 09:05:40 2016	(r408541)
+++ head/devel/Makefile	Tue Feb  9 09:11:40 2016	(r408542)
@@ -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

Added: head/devel/py-noseofyeti/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-noseofyeti/Makefile	Tue Feb  9 09:11:40 2016	(r408542)
@@ -0,0 +1,47 @@
+# $FreeBSD$
+
+PORTNAME=	noseofyeti
+PORTVERSION=	1.5.1
+CATEGORIES=	devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	truckman at 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>

Added: head/devel/py-noseofyeti/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-noseofyeti/distinfo	Tue Feb  9 09:11:40 2016	(r408542)
@@ -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

Added: head/devel/py-noseofyeti/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-noseofyeti/pkg-descr	Tue Feb  9 09:11:40 2016	(r408542)
@@ -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


More information about the svn-ports-all mailing list