diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-unit/Makefile | 5 | ||||
-rw-r--r-- | devel/py-unit/pkg-plist | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/devel/py-unit/Makefile b/devel/py-unit/Makefile index 353281136e24..b5b73c113207 100644 --- a/devel/py-unit/Makefile +++ b/devel/py-unit/Makefile @@ -15,6 +15,9 @@ DISTNAME= pyunit-${PORTVERSION} MAINTAINER= shell@shellhung.org +BUILD_DEPENDS= ${PYDISTUTILS} +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter + USE_PYTHON= yes SETUP_CMD= cd ${WRKSRC} && ${SETENV} \ @@ -24,6 +27,6 @@ do-build: @${SETUP_CMD} build do-install: - @${SETUP_CMD} install + @${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .include <bsd.port.mk> diff --git a/devel/py-unit/pkg-plist b/devel/py-unit/pkg-plist index 11cf811532d0..18e5ef27afa5 100644 --- a/devel/py-unit/pkg-plist +++ b/devel/py-unit/pkg-plist @@ -1,4 +1,6 @@ lib/%%PYTHON_VERSION%%/site-packages/unittest.py lib/%%PYTHON_VERSION%%/site-packages/unittest.pyc +lib/%%PYTHON_VERSION%%/site-packages/unittest.pyo lib/%%PYTHON_VERSION%%/site-packages/unittestgui.py lib/%%PYTHON_VERSION%%/site-packages/unittestgui.pyc +lib/%%PYTHON_VERSION%%/site-packages/unittestgui.pyo |