Nose provides an alternate test discovery and running process for
unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic. similar diffs from niallo@ and Will Maier ok steven@ (who also had REGRESS_DEPENDS fix) and niallo@
This commit is contained in:
parent
fcf8d66b02
commit
fabeccd9f3
39
devel/py-nose/Makefile
Normal file
39
devel/py-nose/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/05/31 13:28:51 martynas Exp $
|
||||
|
||||
COMMENT= "discovery-based unittest extension"
|
||||
|
||||
DISTNAME= nose-0.9.3
|
||||
PKGNAME= py-${DISTNAME}
|
||||
|
||||
CATEGORIES= devel lang/python
|
||||
|
||||
HOMEPAGE= http://somethingaboutorange.com/mrl/projects/nose/
|
||||
|
||||
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://somethingaboutorange.com/mrl/projects/nose/
|
||||
|
||||
MODULES= lang/python
|
||||
REGRESS_DEPENDS= ::devel/py-twisted/core
|
||||
|
||||
MAKE_ENV= NOSE_WHERE=unit_tests
|
||||
|
||||
REGRESS_TARGET= nosetests
|
||||
|
||||
MODPY_SETUPTOOLS= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-nose
|
||||
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/py-nose/
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-nose
|
||||
cd ${WRKSRC}/examples && \
|
||||
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-nose/{} \; && \
|
||||
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/py-nose/{} \;
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/py-nose/distinfo
Normal file
5
devel/py-nose/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (nose-0.9.3.tar.gz) = /IPKGGGvtZjlY0+D2+BF7A==
|
||||
RMD160 (nose-0.9.3.tar.gz) = VBnLH5dQ5ME3gLetBzXvE1Cyvrg=
|
||||
SHA1 (nose-0.9.3.tar.gz) = 3gVEhQjJoifn2ohdUHREEGFdlt4=
|
||||
SHA256 (nose-0.9.3.tar.gz) = MJPpFpTmv6t7PUqljhxs0VUNg9ky2086s62MKMe3jag=
|
||||
SIZE (nose-0.9.3.tar.gz) = 141603
|
10
devel/py-nose/patches/patch-setup_py
Normal file
10
devel/py-nose/patches/patch-setup_py
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2007/05/31 13:28:51 martynas Exp $
|
||||
--- setup.py.orig Sun Apr 22 01:40:40 2007
|
||||
+++ setup.py Mon May 21 20:49:58 2007
|
||||
@@ -1,6 +1,4 @@
|
||||
import sys
|
||||
-import ez_setup
|
||||
-ez_setup.use_setuptools()
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
from nose import __version__ as VERSION
|
3
devel/py-nose/pkg/DESCR
Normal file
3
devel/py-nose/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Nose provides an alternate test discovery and running process for
|
||||
unittest, one that is intended to mimic the behavior of py.test as
|
||||
much as is reasonably possible without resorting to too much magic.
|
69
devel/py-nose/pkg/PLIST
Normal file
69
devel/py-nose/pkg/PLIST
Normal file
@ -0,0 +1,69 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/31 13:28:51 martynas Exp $
|
||||
bin/nosetests
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/
|
||||
lib/python${MODPY_VERSION}/site-packages/nose-0.9.3-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/nose-0.9.3-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/nose-0.9.3-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/nose-0.9.3-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/nose-0.9.3-py${MODPY_VERSION}.egg-info/entry_points.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/nose-0.9.3-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/case.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/case.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/commands.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/commands.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/config.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/config.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/core.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/core.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/exc.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/exc.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/importer.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/importer.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/inspector.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/inspector.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/loader.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/loader.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/attrib.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/attrib.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/base.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/base.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/cover.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/cover.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/doctests.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/doctests.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/isolate.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/isolate.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/missed.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/missed.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/prof.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/plugins/prof.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/proxy.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/proxy.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/result.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/result.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/selector.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/selector.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/suite.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/suite.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/tools.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/tools.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/twistedtools.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/twistedtools.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/util.py
|
||||
lib/python${MODPY_VERSION}/site-packages/nose/util.pyc
|
||||
@man man/man1/nosetests.1
|
||||
share/doc/py-nose/
|
||||
share/doc/py-nose/README.txt
|
||||
share/examples/py-nose/
|
||||
share/examples/py-nose/attrib_plugin.py
|
||||
share/examples/py-nose/html_plugin/
|
||||
share/examples/py-nose/html_plugin/htmlplug.py
|
||||
share/examples/py-nose/html_plugin/setup.py
|
||||
share/examples/py-nose/plugin/
|
||||
share/examples/py-nose/plugin/plug.py
|
||||
share/examples/py-nose/plugin/setup.py
|
Loading…
x
Reference in New Issue
Block a user