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:
parent
a10080277c
commit
131add93bd
@ -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
|
||||
|
||||
COMMENT = date and time types for Python
|
||||
|
||||
MODPY_EGG_VERSION = 3.1.3
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
DISTNAME = egenix-mx-base-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-mxDateTime-${MODPY_EGG_VERSION}
|
||||
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.
|
||||
FLAVOR ?= python2.7
|
||||
|
||||
WANTLIB += m
|
||||
WANTLIB += m ${MODPY_WANTLIB}
|
||||
|
||||
.if !${FLAVOR} || ${FLAVOR:L:Npython?.?}
|
||||
ERRORS += "Fatal: You must select one version: ${FLAVORS}"
|
||||
|
@ -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
|
2
devel/py-mxDateTime/pkg/PFRAG.python2.7
Normal file
2
devel/py-mxDateTime/pkg/PFRAG.python2.7
Normal 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]
|
@ -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
|
||||
@conflict py-mxDateTime-*-python${MODPY_VERSION}
|
||||
%%python2.6%%
|
||||
%%python2.7%%
|
||||
!%%python2.4%%
|
||||
lib/python${MODPY_VERSION}/site-packages/mx/
|
||||
lib/python${MODPY_VERSION}/site-packages/mx/BeeBase/
|
||||
|
Loading…
Reference in New Issue
Block a user