Bug 106704 - [new port] devel/py-nose: A discovery-based unittest extension for Python
Summary: [new port] devel/py-nose: A discovery-based unittest extension for Python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 07:30 UTC by dryice
Modified: 2006-12-14 11:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dryice 2006-12-14 07:30:03 UTC
	Attached is the shar file for devel/py-nose. It's a unit test
	extension for Python. And it will be used in the (coming)
	TurboGears-devel port

Fix: --- attached file begins here ---


--- attached file ends here -----xahesyBHNO1iSK1wASGcve2P9C7bP9BU1SDnA653oxQb516j
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/devel/py-nose/
#	/usr/ports/devel/py-nose/distinfo
#	/usr/ports/devel/py-nose/Makefile
#	/usr/ports/devel/py-nose/pkg-descr
#	/usr/ports/devel/py-nose/pkg-plist
#
echo c - /usr/ports/devel/py-nose/
mkdir -p /usr/ports/devel/py-nose/ > /dev/null 2>&1
echo x - /usr/ports/devel/py-nose/distinfo
sed 's/^X//' >/usr/ports/devel/py-nose/distinfo << 'END-of-/usr/ports/devel/py-nose/distinfo'
XMD5 (nose-0.9.1.tar.gz) = 97771e186ff3680e1abe5566a939966c
XSHA256 (nose-0.9.1.tar.gz) = b850363b436059fc6749c20e95423a60f15adcdd908fdd5ee0a03e321130af3e
XSIZE (nose-0.9.1.tar.gz) = 81711
END-of-/usr/ports/devel/py-nose/distinfo
echo x - /usr/ports/devel/py-nose/Makefile
sed 's/^X//' >/usr/ports/devel/py-nose/Makefile << 'END-of-/usr/ports/devel/py-nose/Makefile'
X# New ports collection makefile for:	py-nose
X# Date created:		14 December 2006
X# Whom:			Dryice Liu	<dryice@dryice.name>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	nose
XPORTVERSION=	0.9.1
XCATEGORIES=	devel python
XMASTER_SITES=	http://somethingaboutorange.com/mrl/projects/nose/ \
X		http://dryice.name/computer/FreeBSD/distfiles/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	dryice@dryice.name
XCOMMENT=	A discovery-based unittest extension
X
XBUILD_DEPENDS=	easy_install:${PORTSDIR}/devel/py-setuptools
XRUN_DEPENDS=	${BUILD_DEPENDS=}
X
XUSE_PYTHON=	2.3+
XUSE_PYDISTUTILS=	yes
XNOSEVER?=	${PORTVERSION}
XPYTHONVER?=	${_PYTHON_VERSION}
XPLIST_SUB=	NOSEVER=${NOSEVER} \
X		PYTHONVER=${PYTHONVER}
X
X.include <bsd.port.mk>
END-of-/usr/ports/devel/py-nose/Makefile
echo x - /usr/ports/devel/py-nose/pkg-descr
sed 's/^X//' >/usr/ports/devel/py-nose/pkg-descr << 'END-of-/usr/ports/devel/py-nose/pkg-descr'
Xnose provides an alternate test discovery and running process for
Xunittest, one that is intended to mimic the behavior of py.test as
Xmuch as is reasonably possible without resorting to magic. By default,
Xnose will run tests in files or directories under the current working
Xdirectory whose names include "test". nose also supports doctest tests
Xand may optionally provide a test coverage report.
X
XAuthor:	Jason Pellerin <jpellerin+nose@gmail.com>
XWWW:	http://somethingaboutorange.com/mrl/projects/nose/
END-of-/usr/ports/devel/py-nose/pkg-descr
echo x - /usr/ports/devel/py-nose/pkg-plist
sed 's/^X//' >/usr/ports/devel/py-nose/pkg-plist << 'END-of-/usr/ports/devel/py-nose/pkg-plist'
Xbin/nosetests
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/EGG-INFO/dependency_links.txt
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/EGG-INFO/entry_points.txt
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/EGG-INFO/not-zip-safe
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/EGG-INFO/PKG-INFO
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/EGG-INFO/SOURCES.txt
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/EGG-INFO/top_level.txt
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/attrib.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/attrib.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/attrib.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/base.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/base.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/base.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/cover.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/cover.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/cover.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/doctests.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/doctests.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/doctests.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/missed.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/missed.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/missed.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/prof.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/prof.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/prof.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/__init__.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/__init__.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins/__init__.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/case.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/case.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/case.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/config.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/config.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/config.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/core.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/core.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/core.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/exc.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/exc.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/exc.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/importer.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/importer.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/importer.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/inspector.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/inspector.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/inspector.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/loader.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/loader.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/loader.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/proxy.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/proxy.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/proxy.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/result.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/result.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/result.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/selector.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/selector.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/selector.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/suite.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/suite.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/suite.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/tools.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/tools.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/tools.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/util.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/util.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/util.pyo
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/__init__.py
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/__init__.pyc
X%%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/__init__.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/EGG-INFO
X@dirrm %%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose/plugins
X@dirrm %%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg/nose
X@dirrm %%PYTHON_SITELIBDIR%%/nose-%%NOSEVER%%-py%%PYTHONVER%%.egg
END-of-/usr/ports/devel/py-nose/pkg-plist
exit
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-14 07:30:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants to have py- PRs
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2006-12-14 07:52:17 UTC
Responsible Changed
From-To: freebsd-python->miwi

I'll take it.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2006-12-14 11:39:15 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2006-12-14 11:39:39 UTC
miwi        2006-12-14 11:38:48 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/py-nose        Makefile distinfo pkg-descr pkg-plist 
  Log:
  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 magic. By default,
  nose will run tests in files or directories under the current working
  directory whose names include "test". nose also supports doctest tests
  and may optionally provide a test coverage report.
  
  Author: Jason Pellerin <jpellerin+nose@gmail.com>
  WWW:    http://somethingaboutorange.com/mrl/projects/nose/
  
  PR:             ports/106704
  Submitted by:   Dryice Liu      <dryice at dryice.name>
  
  Revision  Changes    Path
  1.2548    +1 -0      ports/devel/Makefile
  1.1       +28 -0     ports/devel/py-nose/Makefile (new)
  1.1       +3 -0      ports/devel/py-nose/distinfo (new)
  1.1       +9 -0      ports/devel/py-nose/pkg-descr (new)
  1.1       +74 -0     ports/devel/py-nose/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"