On 2011-12-12, Federico Schwindt <fg...@lodoss.net> wrote:
> Hi,
>
> The only reason python 2.4 is around is because of Zope. Now, we have
> a very old version (2.10) that is long time dead. ITOH, newer Zope
> releases work with more recent python versions and most likely will
> require newer versions of Plone, CMF, etc.
> Killing Zope and friends will allow us to remove lot of crap and if
> someone really needs it she should be using something recent anyways
> so I don't see much point on keeping this.
> So the question is, is anyone using this version of Zope? Any
> objection removing the ports below?
>
> books/zopebook
> www/plone
> www/plone-formgen
> www/plone-ldap
> www/plone-massload
> www/zope
> www/zope-cmf
> www/zope-cmfquickinstaller
> www/zope-coreblog
> www/zope-externaleditor
> www/zope-formulator
> www/zope-fortune
> www/zope-fscounter
> www/zope-genericsetup
> www/zope-groupuserfolder
> www/zope-jtracker
> www/zope-ldapmultiplugins
> www/zope-ldapuserfolder
> www/zope-logger
> www/zope-placelesstranslationservice
> www/zope-pluggableauthservice
> www/zope-pluginregistry
> www/zope-rdfsummary
> www/zope-xmlmethods
> www/zope-zippy
> www/zope-zsyncer
> www/zope-zwiki
> www/zopeedit
>
> Please talk NOW or get them from the Attic later.
> Thanks,

No objection, OK. If it's added back in later as a newer version I would
suggest bundling them into a single directory (a la drupal) where they can
easily share common features via Makefile.inc

There are some support packages which can go too:

databases/py-ldap,python2.4
databases/py-psycopg,python2.4
devel/py-mxDateTime,python2.4
graphics/py-Imaging,python2.4
textproc/py-ElementTree

Diff for these should look something like
http://pbot.rmdir.de/66bd47d99f5cb7ba2d806834c9d559f5

Then this just leaves editors/cooledit.  Diff below builds but not
really tested as cooledit is currently a barrel of fail on amd64.

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/cooledit/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile    2 Dec 2011 14:36:13 -0000       1.37
+++ Makefile    13 Dec 2011 13:45:40 -0000
@@ -1,12 +1,17 @@
 # $OpenBSD: Makefile,v 1.37 2011/12/02 14:36:13 espie Exp $
 
+.include <bsd.port.arch.mk>
+.if ${PROPERTIES:Mlp64}
+BROKEN =       crashes all over the place on LP64 arches, missing prototypes
+.endif
+
 COMMENT =      easy to use, graphical editor
 
 CATEGORIES =   editors
 MASTER_SITES = ${HOMEPAGE}
-HOMEPAGE =     ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
+HOMEPAGE =     ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
 DISTNAME =     cooledit-3.17.14
-REVISION =     6
+REVISION =     7
 
 SHARED_LIBS =  Cw      1.0
 
@@ -15,19 +20,19 @@ MAINTAINER =        Marc Espie <espie@openbsd.o
 FLAVORS =      python
 FLAVOR ?=
 
-PYTHON_VER =   2.4
-WANTLIB =      X11 Xau Xdmcp c pthread-stubs util xcb
+WANTLIB =      X11 c util xcb
 USE_LIBTOOL =  Yes
 
 .if ${FLAVOR:Mpython}
-LIB_DEPENDS += python->=${PYTHON_VER},<2.5:lang/python/${PYTHON_VER}
-CONFIGURE_ENV +=PYTHON_VER=${PYTHON_VER} LOCALBASE=${LOCALBASE}
-WANTLIB +=     pthread m python${PYTHON_VER}
+MODULES +=     lang/python
+LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
+CONFIGURE_ENV +=PYTHON_VER=${MODPY_VERSION} LOCALBASE=${LOCALBASE}
+WANTLIB +=     pthread m ${MODPY_WANTLIB}
 .else
 CONFIGURE_ENV +=NOPYTHON=Yes
 .endif
 
-MODULES =      devel/gettext
+MODULES +=     devel/gettext
 USE_GROFF =    Yes
 
 CONFIGURE_STYLE = gnu
@@ -39,7 +44,7 @@ CONFIGURE_ENV += XTERM_CMD=xterm LDFLAGS
 CONFIGURE_ARGS += ${CONFIGURE_SHARED}
 CONFIGURE_ARGS += --enable-static --disable-mail-author
 
-# GPL
+# GPLv2+
 PERMIT_PACKAGE_FTP =   Yes
 PERMIT_DISTFILES_FTP = Yes
 PERMIT_PACKAGE_CDROM = Yes
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/cooledit/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   16 May 2005 20:26:51 -0000      1.6
+++ pkg/PLIST   13 Dec 2011 13:45:40 -0000
@@ -1,9 +1,9 @@
 @comment $OpenBSD: PLIST,v 1.6 2005/05/16 20:26:51 alek Exp $
-bin/cooledit
+@bin bin/cooledit
 bin/cooledit-gdb
-bin/coolman
+@bin bin/coolman
 bin/coolproject
-bin/smalledit
+@bin bin/smalledit
 lib/libCw.a
 lib/libCw.la
 @man man/man1/cooledit.1

Reply via email to