- It need python,tk for using unittestgui
- Add no_x11 flavor - bump VERSION
This commit is contained in:
parent
f89e73e731
commit
07fcab266a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2001/08/25 13:08:33 shell Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2001/08/31 22:16:50 shell Exp $
|
||||
|
||||
|
||||
COMMENT= "unit testing framework for python"
|
||||
@ -7,7 +7,7 @@ VERSION= 1.4.1
|
||||
DISTNAME= pyunit-${VERSION}
|
||||
PKGNAME= py-unit-${VERSION}
|
||||
CATEGORIES= devel
|
||||
NEED_VERSION= 1.440
|
||||
NEED_VERSION= 1.448
|
||||
|
||||
HOMEPAGE= http://pyunit.sourceforge.net/
|
||||
|
||||
@ -22,9 +22,18 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pyunit
|
||||
|
||||
FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
PYTHON_VER= 2.1
|
||||
|
||||
RUN_DEPENDS+= python${PYTHON_VER}::lang/python
|
||||
.if ${FLAVOR} != "no_x11"
|
||||
PY_MODULE= ${LOCALBASE}/lib/python${PYTHON_VER}/lib-dynload/_tkinter.so
|
||||
RUN_DEPENDS= ${PY_MODULE}::lang/python,tk
|
||||
.else
|
||||
RUN_DEPENDS= python${PYTHON_VER}::lang/python
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
SUBST_VARS= PYTHON_VER
|
||||
|
3
devel/py-unit/pkg/PFRAG.no-no_x11
Normal file
3
devel/py-unit/pkg/PFRAG.no-no_x11
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.no-no_x11,v 1.1 2001/08/31 22:16:50 shell Exp $
|
||||
lib/python${PYTHON_VER}/site-packages/unittestgui.py
|
||||
lib/python${PYTHON_VER}/site-packages/unittestgui.pyc
|
@ -1,5 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/15 19:48:27 shell Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2001/08/31 22:16:50 shell Exp $
|
||||
lib/python${PYTHON_VER}/site-packages/unittest.py
|
||||
lib/python${PYTHON_VER}/site-packages/unittest.pyc
|
||||
lib/python${PYTHON_VER}/site-packages/unittestgui.py
|
||||
lib/python${PYTHON_VER}/site-packages/unittestgui.pyc
|
||||
!%%no_x11%%
|
||||
|
Loading…
Reference in New Issue
Block a user