1682c6507d
by the infrastructure. Mark a couple more packages as not ready for python-3.x.
28 lines
843 B
Makefile
28 lines
843 B
Makefile
# $NetBSD: Makefile,v 1.5 2016/08/28 15:48:31 wiz Exp $
|
|
|
|
DISTNAME= unittest2py3k-0.5.1
|
|
# to match python-2.x name
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py3k//}
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=u/unittest2py3k/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pypi.python.org/pypi/unittest2py3k
|
|
COMMENT= Unittest features for Python 2.7 (Python 3.x version)
|
|
LICENSE= original-bsd
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
DOCDIR= share/doc/${PKGBASE}
|
|
INSTALLATION_DIRS+= ${DOCDIR}
|
|
PLIST_SUBST+= DOCDIR=${DOCDIR}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
${RM} ${DESTDIR}${PREFIX}/bin/unit2
|
|
${MV} ${DESTDIR}${PREFIX}/bin/unit2.py \
|
|
${DESTDIR}${PREFIX}/bin/unit2-${PYVERSSUFFIX}.py
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|