pkgsrc/devel/py-unittest2/Makefile
obache c6957cea9a Update py-unittests to 0.8.0.
CHANGELOG

2014/11/05 - 0.8
* Issue #22457: Honour load_tests in the start_dir of discovery.


2014/10/31 - 0.7.1

Fix for 0.7.0 being broken. Also switches from both manual and entrypoint
scripts to just entrypoint scripts to reduce the possibility of similar
oversights in future.


2014/10/31 - 0.7.0

This release contains backports from cPython 3.5 of all (I think) commits since
2010, as of today.


2014/10/28 - 0.6.0

Many thanks to Mark Roddy and Ezio Melotti who contributed substantially to
this release.
* Changed supported Python versions to start at 2.6, and include all released 3.x and pypy. (Robert Collins)
* Invoking unit2 without args starts test discovery
* Added TestCase.assertWarns and TestCase.assertWarnsRegexp context managers
* Fix Python issue 9926. TestSuite subclasses that override __call__ are called correctly.
* Removed unused maxDiff parameter from TestCase.assertSequenceEqual.
* DeprecationWarning for unsupported result objects (missing addSkip method) became RuntimeWarning.
* Addition of TestCase.assertWarns as a context manager.
2014-12-13 08:36:03 +00:00

30 lines
936 B
Makefile

# $NetBSD: Makefile,v 1.8 2014/12/13 08:36:03 obache Exp $
DISTNAME= unittest2-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/u/unittest2/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pypi.python.org/pypi/unittest2
COMMENT= New features in unittest backported to Python 2.4+
LICENSE= original-bsd
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
DOCDIR= share/doc/${PKGBASE}
INSTALLATION_DIRS+= ${DOCDIR}
PLIST_SUBST+= DOCDIR=${DOCDIR}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
SUBST_CLASSES+= multi
SUBST_STAGE.multi= pre-configure
SUBST_FILES.multi= setup.py
SUBST_SED.multi= -e 's,unit2,unit2-${PYVERSSUFFIX},'
post-install:
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"