Wed Jul 24 10:46:38 2013 UTC ()
add pytest-2.3.5, another Python testing framework


(drochner)
diff -r0 -r1.1 pkgsrc/devel/py-test/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-test/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-test/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-test/distinfo
diff -r0 -r1.1 pkgsrc/devel/py-test/patches/patch-aa

File Added: pkgsrc/devel/py-test/DESCR
The ``py.test`` testing tool makes it easy to write small tests, yet
scales to support complex functional testing.  It provides
- auto-discovery of test modules and functions,
- detailed info on failing `assert statements
  (no need to remember ``self.assert*`` names)
- modular fixtures for managing small or parametrized long-lived
  test resources.
- multi-paradigm support: you can use ``py.test`` to run test suites based
  on unittest (or trial), nose
- single-source compatibility to Python2.4 all the way up to Python3.3,
  PyPy-1.9 and Jython-2.5.1.

File Added: pkgsrc/devel/py-test/Makefile
# $NetBSD: Makefile,v 1.1 2013/07/24 10:46:38 drochner Exp $
#

DISTNAME=	pytest-2.3.5
PKGNAME=	${PYPKGPREFIX}-pytest-2.3.5
CATEGORIES=	devel
MASTER_SITES=	https://pypi.python.org/packages/source/p/pytest/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://pypi.python.org/pypi/pytest
COMMENT=	Python testing tool
LICENSE=	mit

DEPENDS+=	${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py

USE_LANGUAGES=	# none

PLIST_SUBST+=	PYVERSSUFFIX=${PYVERSSUFFIX}

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/py-test/PLIST
@comment $NetBSD: PLIST,v 1.1 2013/07/24 10:46:38 drochner Exp $
bin/py.test-${PYVERSSUFFIX}
${PYSITELIB}/_pytest/__init__.py
${PYSITELIB}/_pytest/__init__.pyc
${PYSITELIB}/_pytest/__init__.pyo
${PYSITELIB}/_pytest/assertion/__init__.py
${PYSITELIB}/_pytest/assertion/__init__.pyc
${PYSITELIB}/_pytest/assertion/__init__.pyo
${PYSITELIB}/_pytest/assertion/newinterpret.py
${PYSITELIB}/_pytest/assertion/newinterpret.pyc
${PYSITELIB}/_pytest/assertion/newinterpret.pyo
${PYSITELIB}/_pytest/assertion/oldinterpret.py
${PYSITELIB}/_pytest/assertion/oldinterpret.pyc
${PYSITELIB}/_pytest/assertion/oldinterpret.pyo
${PYSITELIB}/_pytest/assertion/reinterpret.py
${PYSITELIB}/_pytest/assertion/reinterpret.pyc
${PYSITELIB}/_pytest/assertion/reinterpret.pyo
${PYSITELIB}/_pytest/assertion/rewrite.py
${PYSITELIB}/_pytest/assertion/rewrite.pyc
${PYSITELIB}/_pytest/assertion/rewrite.pyo
${PYSITELIB}/_pytest/assertion/util.py
${PYSITELIB}/_pytest/assertion/util.pyc
${PYSITELIB}/_pytest/assertion/util.pyo
${PYSITELIB}/_pytest/capture.py
${PYSITELIB}/_pytest/capture.pyc
${PYSITELIB}/_pytest/capture.pyo
${PYSITELIB}/_pytest/config.py
${PYSITELIB}/_pytest/config.pyc
${PYSITELIB}/_pytest/config.pyo
${PYSITELIB}/_pytest/core.py
${PYSITELIB}/_pytest/core.pyc
${PYSITELIB}/_pytest/core.pyo
${PYSITELIB}/_pytest/doctest.py
${PYSITELIB}/_pytest/doctest.pyc
${PYSITELIB}/_pytest/doctest.pyo
${PYSITELIB}/_pytest/genscript.py
${PYSITELIB}/_pytest/genscript.pyc
${PYSITELIB}/_pytest/genscript.pyo
${PYSITELIB}/_pytest/helpconfig.py
${PYSITELIB}/_pytest/helpconfig.pyc
${PYSITELIB}/_pytest/helpconfig.pyo
${PYSITELIB}/_pytest/hookspec.py
${PYSITELIB}/_pytest/hookspec.pyc
${PYSITELIB}/_pytest/hookspec.pyo
${PYSITELIB}/_pytest/junitxml.py
${PYSITELIB}/_pytest/junitxml.pyc
${PYSITELIB}/_pytest/junitxml.pyo
${PYSITELIB}/_pytest/main.py
${PYSITELIB}/_pytest/main.pyc
${PYSITELIB}/_pytest/main.pyo
${PYSITELIB}/_pytest/mark.py
${PYSITELIB}/_pytest/mark.pyc
${PYSITELIB}/_pytest/mark.pyo
${PYSITELIB}/_pytest/monkeypatch.py
${PYSITELIB}/_pytest/monkeypatch.pyc
${PYSITELIB}/_pytest/monkeypatch.pyo
${PYSITELIB}/_pytest/nose.py
${PYSITELIB}/_pytest/nose.pyc
${PYSITELIB}/_pytest/nose.pyo
${PYSITELIB}/_pytest/pastebin.py
${PYSITELIB}/_pytest/pastebin.pyc
${PYSITELIB}/_pytest/pastebin.pyo
${PYSITELIB}/_pytest/pdb.py
${PYSITELIB}/_pytest/pdb.pyc
${PYSITELIB}/_pytest/pdb.pyo
${PYSITELIB}/_pytest/pytester.py
${PYSITELIB}/_pytest/pytester.pyc
${PYSITELIB}/_pytest/pytester.pyo
${PYSITELIB}/_pytest/python.py
${PYSITELIB}/_pytest/python.pyc
${PYSITELIB}/_pytest/python.pyo
${PYSITELIB}/_pytest/recwarn.py
${PYSITELIB}/_pytest/recwarn.pyc
${PYSITELIB}/_pytest/recwarn.pyo
${PYSITELIB}/_pytest/resultlog.py
${PYSITELIB}/_pytest/resultlog.pyc
${PYSITELIB}/_pytest/resultlog.pyo
${PYSITELIB}/_pytest/runner.py
${PYSITELIB}/_pytest/runner.pyc
${PYSITELIB}/_pytest/runner.pyo
${PYSITELIB}/_pytest/skipping.py
${PYSITELIB}/_pytest/skipping.pyc
${PYSITELIB}/_pytest/skipping.pyo
${PYSITELIB}/_pytest/standalonetemplate.py
${PYSITELIB}/_pytest/standalonetemplate.pyc
${PYSITELIB}/_pytest/standalonetemplate.pyo
${PYSITELIB}/_pytest/terminal.py
${PYSITELIB}/_pytest/terminal.pyc
${PYSITELIB}/_pytest/terminal.pyo
${PYSITELIB}/_pytest/tmpdir.py
${PYSITELIB}/_pytest/tmpdir.pyc
${PYSITELIB}/_pytest/tmpdir.pyo
${PYSITELIB}/_pytest/unittest.py
${PYSITELIB}/_pytest/unittest.pyc
${PYSITELIB}/_pytest/unittest.pyo
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pytest.py
${PYSITELIB}/pytest.pyc
${PYSITELIB}/pytest.pyo

File Added: pkgsrc/devel/py-test/distinfo
$NetBSD: distinfo,v 1.1 2013/07/24 10:46:38 drochner Exp $

SHA1 (pytest-2.3.5.tar.gz) = 5c4db5aeaa7910347043723f9cf3a77bdce0cfff
RMD160 (pytest-2.3.5.tar.gz) = 38014a69ed89bf6d43d44c61e9b2e43c7c6736bf
Size (pytest-2.3.5.tar.gz) = 426328 bytes
SHA1 (patch-aa) = d6165067b59cea729ed95ff9335f1743ccbc9ead

File Added: pkgsrc/devel/py-test/patches/Attic/patch-aa
$NetBSD: patch-aa,v 1.1 2013/07/24 10:46:38 drochner Exp $

install only versioned cmd line tool

--- setup.py.orig	2013-04-30 10:26:37.000000000 +0000
+++ setup.py
@@ -49,7 +49,7 @@ def cmdline_entrypoints(versioninfo, pla
             points = {'py.test-%s' % basename: target}
         else: # cpython
             points = {'py.test-%s.%s' % versioninfo[:2] : target,}
-        points['py.test'] = target
+#        points['py.test'] = target
     return points
 
 def make_entry_points():