Modified PLIST, removed PFRAG.python2.6 and added PFRAG.python2.7.

Reported by Nigel Taylor (thanks), correction modified by sthen@.
Add MODPY_WANTLIB to WANTLIB.
This commit is contained in:
rpointel 2011-06-11 12:34:32 +00:00
parent a10080277c
commit 131add93bd
4 changed files with 7 additions and 7 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.31 2011/06/10 05:52:06 rpointel Exp $ # $OpenBSD: Makefile,v 1.32 2011/06/11 12:34:32 rpointel Exp $
SHARED_ONLY = Yes SHARED_ONLY = Yes
COMMENT = date and time types for Python COMMENT = date and time types for Python
MODPY_EGG_VERSION = 3.1.3 MODPY_EGG_VERSION = 3.1.3
REVISION = 2 REVISION = 3
DISTNAME = egenix-mx-base-${MODPY_EGG_VERSION} DISTNAME = egenix-mx-base-${MODPY_EGG_VERSION}
PKGNAME = py-mxDateTime-${MODPY_EGG_VERSION} PKGNAME = py-mxDateTime-${MODPY_EGG_VERSION}
CATEGORIES = devel CATEGORIES = devel
@ -23,7 +23,7 @@ MASTER_SITES = http://www.lemburg.com/files/python/
FLAVORS = python2.4 python2.7 # 2.4 needed for Zope, e.g. FLAVORS = python2.4 python2.7 # 2.4 needed for Zope, e.g.
FLAVOR ?= python2.7 FLAVOR ?= python2.7
WANTLIB += m WANTLIB += m ${MODPY_WANTLIB}
.if !${FLAVOR} || ${FLAVOR:L:Npython?.?} .if !${FLAVOR} || ${FLAVOR:L:Npython?.?}
ERRORS += "Fatal: You must select one version: ${FLAVORS}" ERRORS += "Fatal: You must select one version: ${FLAVORS}"

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.python2.6,v 1.1 2010/09/04 19:44:46 ajacoutot Exp $
@pkgpath devel/py-mxDateTime,python2.5

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.python2.7,v 1.1 2011/06/11 12:34:33 rpointel Exp $
@pkgpath devel/py-mxDateTime[,python2.5][,python2.6]

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.14 2011/05/15 19:48:59 rpointel Exp $ @comment $OpenBSD: PLIST,v 1.15 2011/06/11 12:34:33 rpointel Exp $
@option no-default-conflict @option no-default-conflict
@conflict py-mxDateTime-*-python${MODPY_VERSION} @conflict py-mxDateTime-*-python${MODPY_VERSION}
%%python2.6%% %%python2.7%%
!%%python2.4%% !%%python2.4%%
lib/python${MODPY_VERSION}/site-packages/mx/ lib/python${MODPY_VERSION}/site-packages/mx/
lib/python${MODPY_VERSION}/site-packages/mx/BeeBase/ lib/python${MODPY_VERSION}/site-packages/mx/BeeBase/