aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
29 lines
893 B
Makefile
29 lines
893 B
Makefile
# $NetBSD: Makefile,v 1.9 2014/01/25 10:30:04 wiz Exp $
|
|
|
|
DISTNAME= nose-1.3.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
#MASTER_SITES= http://python-nose.googlecode.com/files/
|
|
#MASTER_SITES= http://somethingaboutorange.com/mrl/projects/nose/
|
|
MASTER_SITES= http://pypi.python.org/packages/source/n/nose/
|
|
EXTRACT_USING= bsdtar
|
|
|
|
MAINTAINER= kamel.derouiche@gmail.com
|
|
HOMEPAGE= http://code.google.com/p/python-nose/
|
|
COMMENT= Unittest-based testing framework for python
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
# only needed for a plugin
|
|
#DEPENDS+= ${PYPKGPREFIX}-coverage>=3.0:../../devel/py-coverage
|
|
|
|
USE_LANGUAGES= # none
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
post-extract:
|
|
${MV} ${WRKSRC}/nosetests.1 ${WRKSRC}/nosetests${PYVERSSUFFIX}.1
|
|
|
|
do-test:
|
|
${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|