Re: Zope python 2.4

2011-12-15 Thread Federico Schwindt
zope is gone. RIP.
any OKs on the diff below?

On Wed, Dec 14, 2011 at 11:20 PM, Federico G. Schwindt fg...@lodoss.net wrote:
 Hi,

 I'm planning to commit this along with the zope/plone removal.
 Comments? OKs?

 f.-

 Index: databases/Makefile
 ===
 RCS file: /cvs/ports/databases/Makefile,v
 retrieving revision 1.201
 diff -u -p -r1.201 Makefile
 --- databases/Makefile  12 Nov 2011 17:18:55 -      1.201
 +++ databases/Makefile  15 Dec 2011 02:14:31 -
 @@ -134,12 +134,10 @@
      SUBDIR += py-cdb
      SUBDIR += py-couchdb
      SUBDIR += py-elixir
 -     SUBDIR += py-ldap,python2.4
      SUBDIR += py-ldap
      SUBDIR += py-mysql
      SUBDIR += py-odbc
      SUBDIR += py-pgsql
 -     SUBDIR += py-psycopg,python2.4
      SUBDIR += py-psycopg
      SUBDIR += py-psycopg2
      SUBDIR += py-pygresql
 Index: databases/py-ldap/Makefile
 ===
 RCS file: /cvs/ports/databases/py-ldap/Makefile,v
 retrieving revision 1.32
 diff -u -p -r1.32 Makefile
 --- databases/py-ldap/Makefile  17 Oct 2011 13:57:59 -      1.32
 +++ databases/py-ldap/Makefile  15 Dec 2011 02:14:32 -
 @@ -8,7 +8,7 @@ COMMENT-examples=       example programs for t
  V=                     2.3.1
  DISTNAME=              python-ldap-${V}
  PKGNAME-main=          py-ldap-${V}
 -REVISION-main =                9
 +REVISION-main =                10
  FULLPKGNAME-examples=  py-ldap-examples-${V}
  REVISION-examples =    9
  FULLPKGPATH-examples=  databases/py-ldap,-examples
 @@ -28,24 +28,12 @@ WANTLIB-main=               crypto ssl ${MODPY_WANTLI
  MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=python-ldap/}

  MODULES=               lang/python
 -MODPY_VERSION=         ${FLAVOR:S/python//}

  LIB_DEPENDS-main=      databases/openldap \
                        security/cyrus-sasl2
  WANTLIB-main +=                ldap_r=7 lber=7 sasl2=2

 -FLAVORS=               python2.4 python2.7
 -.if !defined(FLAVOR) || empty(FLAVOR)
 -FLAVOR=                        python2.7
 -.endif
 -
 -.if ${FLAVOR} == python2.4
 -MULTI_PACKAGES= -main
 -.elif ${FLAVOR} == python2.7
  MULTI_PACKAGES= -main -examples
 -.else
 -ERRORS+=       Fatal: You must select one version: ${FLAVORS}
 -.endif

  EXAMPLESDIR=           ${PREFIX}/share/examples/py-ldap

 Index: databases/py-ldap/pkg/PFRAG.python2.7-main
 ===
 RCS file: databases/py-ldap/pkg/PFRAG.python2.7-main
 diff -N databases/py-ldap/pkg/PFRAG.python2.7-main
 --- databases/py-ldap/pkg/PFRAG.python2.7-main  12 Jun 2011 09:02:32 -    
   1.1
 +++ /dev/null   1 Jan 1970 00:00:00 -
 @@ -1,2 +0,0 @@
 -@comment $OpenBSD: PFRAG.python2.7-main,v 1.1 2011/06/12 09:02:32 rpointel 
 Exp $
 -@pkgpath databases/py-ldap,-main[,python2.5][,python2.6]
 Index: databases/py-ldap/pkg/PLIST-main
 ===
 RCS file: /cvs/ports/databases/py-ldap/pkg/PLIST-main,v
 retrieving revision 1.5
 diff -u -p -r1.5 PLIST-main
 --- databases/py-ldap/pkg/PLIST-main    12 Jun 2011 09:02:32 -      1.5
 +++ databases/py-ldap/pkg/PLIST-main    15 Dec 2011 02:14:32 -
 @@ -1,8 +1,6 @@
  @comment $OpenBSD: PLIST-main,v 1.5 2011/06/12 09:02:32 rpointel Exp $
 -@option no-default-conflict
 -@conflict py-ldap-*-python${MODPY_VERSION}
  @pkgpath databases/py-ldap
 -%%python2.7%%
 +@pkgpath databases/py-ldap,-main[,python2.5][,python2.6][,python2.7]
  lib/python${MODPY_VERSION}/site-packages/_ldap.so
  lib/python${MODPY_VERSION}/site-packages/dsml.py
  lib/python${MODPY_VERSION}/site-packages/dsml.pyc
 Index: databases/py-psycopg/Makefile
 ===
 RCS file: /cvs/ports/databases/py-psycopg/Makefile,v
 retrieving revision 1.48
 diff -u -p -r1.48 Makefile
 --- databases/py-psycopg/Makefile       18 Nov 2011 00:35:08 -      1.48
 +++ databases/py-psycopg/Makefile       15 Dec 2011 02:14:32 -
 @@ -4,19 +4,15 @@ SHARED_ONLY=          Yes

  COMMENT-main=          PostgreSQL database adapter for Python
  COMMENT-examples=      examples for PostgreSQL database adapter for Python
 -COMMENT-zope=          database adapter for Zope

  VERSION=               1.1.21
  DISTNAME=              psycopg-${VERSION}
  PKGNAME=               py-${DISTNAME}
  PKGNAME-main=          py-${DISTNAME}
 -REVISION-main =                13
 +REVISION-main =                14
  FULLPKGNAME-examples=  py-psycopg-examples-${VERSION}
  REVISION-examples =    6
  FULLPKGPATH-examples=  databases/py-psycopg,-examples
 -FULLPKGNAME-zope=      py-psycopg-zope-${VERSION}
 -REVISION-zope =                7
 -FULLPKGPATH-zope=      databases/py-psycopg,-zope,python2.4
  CATEGORIES=            databases

  HOMEPAGE=              http://initd.org/projects/psycopg1
 @@ -37,41 +33,20 @@ MODULES=    lang/python
  BUILD_DEPENDS= databases/postgresql,-server
  

Re: Zope python 2.4

2011-12-14 Thread Federico G. Schwindt
Hi,

I'm planning to commit this along with the zope/plone removal.
Comments? OKs?

f.-

Index: databases/Makefile
===
RCS file: /cvs/ports/databases/Makefile,v
retrieving revision 1.201
diff -u -p -r1.201 Makefile
--- databases/Makefile  12 Nov 2011 17:18:55 -  1.201
+++ databases/Makefile  15 Dec 2011 02:14:31 -
@@ -134,12 +134,10 @@
  SUBDIR += py-cdb
  SUBDIR += py-couchdb
  SUBDIR += py-elixir
- SUBDIR += py-ldap,python2.4
  SUBDIR += py-ldap
  SUBDIR += py-mysql
  SUBDIR += py-odbc
  SUBDIR += py-pgsql
- SUBDIR += py-psycopg,python2.4
  SUBDIR += py-psycopg
  SUBDIR += py-psycopg2
  SUBDIR += py-pygresql
Index: databases/py-ldap/Makefile
===
RCS file: /cvs/ports/databases/py-ldap/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- databases/py-ldap/Makefile  17 Oct 2011 13:57:59 -  1.32
+++ databases/py-ldap/Makefile  15 Dec 2011 02:14:32 -
@@ -8,7 +8,7 @@ COMMENT-examples=   example programs for t
 V= 2.3.1
 DISTNAME=  python-ldap-${V}
 PKGNAME-main=  py-ldap-${V}
-REVISION-main =9
+REVISION-main =10
 FULLPKGNAME-examples=  py-ldap-examples-${V}
 REVISION-examples =9
 FULLPKGPATH-examples=  databases/py-ldap,-examples
@@ -28,24 +28,12 @@ WANTLIB-main=   crypto ssl ${MODPY_WANTLI
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
 
 MODULES=   lang/python
-MODPY_VERSION= ${FLAVOR:S/python//}
 
 LIB_DEPENDS-main=  databases/openldap \
security/cyrus-sasl2
 WANTLIB-main +=ldap_r=7 lber=7 sasl2=2
 
-FLAVORS=   python2.4 python2.7
-.if !defined(FLAVOR) || empty(FLAVOR)
-FLAVOR=python2.7
-.endif
-
-.if ${FLAVOR} == python2.4
-MULTI_PACKAGES= -main
-.elif ${FLAVOR} == python2.7
 MULTI_PACKAGES= -main -examples
-.else
-ERRORS+=   Fatal: You must select one version: ${FLAVORS}
-.endif
 
 EXAMPLESDIR=   ${PREFIX}/share/examples/py-ldap
 
Index: databases/py-ldap/pkg/PFRAG.python2.7-main
===
RCS file: databases/py-ldap/pkg/PFRAG.python2.7-main
diff -N databases/py-ldap/pkg/PFRAG.python2.7-main
--- databases/py-ldap/pkg/PFRAG.python2.7-main  12 Jun 2011 09:02:32 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,2 +0,0 @@
-@comment $OpenBSD: PFRAG.python2.7-main,v 1.1 2011/06/12 09:02:32 rpointel Exp 
$
-@pkgpath databases/py-ldap,-main[,python2.5][,python2.6]
Index: databases/py-ldap/pkg/PLIST-main
===
RCS file: /cvs/ports/databases/py-ldap/pkg/PLIST-main,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST-main
--- databases/py-ldap/pkg/PLIST-main12 Jun 2011 09:02:32 -  1.5
+++ databases/py-ldap/pkg/PLIST-main15 Dec 2011 02:14:32 -
@@ -1,8 +1,6 @@
 @comment $OpenBSD: PLIST-main,v 1.5 2011/06/12 09:02:32 rpointel Exp $
-@option no-default-conflict
-@conflict py-ldap-*-python${MODPY_VERSION}
 @pkgpath databases/py-ldap
-%%python2.7%%
+@pkgpath databases/py-ldap,-main[,python2.5][,python2.6][,python2.7]
 lib/python${MODPY_VERSION}/site-packages/_ldap.so
 lib/python${MODPY_VERSION}/site-packages/dsml.py
 lib/python${MODPY_VERSION}/site-packages/dsml.pyc
Index: databases/py-psycopg/Makefile
===
RCS file: /cvs/ports/databases/py-psycopg/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- databases/py-psycopg/Makefile   18 Nov 2011 00:35:08 -  1.48
+++ databases/py-psycopg/Makefile   15 Dec 2011 02:14:32 -
@@ -4,19 +4,15 @@ SHARED_ONLY=  Yes
 
 COMMENT-main=  PostgreSQL database adapter for Python
 COMMENT-examples=  examples for PostgreSQL database adapter for Python
-COMMENT-zope=  database adapter for Zope
 
 VERSION=   1.1.21
 DISTNAME=  psycopg-${VERSION}
 PKGNAME=   py-${DISTNAME}
 PKGNAME-main=  py-${DISTNAME}
-REVISION-main =13
+REVISION-main =14
 FULLPKGNAME-examples=  py-psycopg-examples-${VERSION}
 REVISION-examples =6
 FULLPKGPATH-examples=  databases/py-psycopg,-examples
-FULLPKGNAME-zope=  py-psycopg-zope-${VERSION}
-REVISION-zope =7
-FULLPKGPATH-zope=  databases/py-psycopg,-zope,python2.4
 CATEGORIES=databases
 
 HOMEPAGE=  http://initd.org/projects/psycopg1
@@ -37,41 +33,20 @@ MODULES=lang/python
 BUILD_DEPENDS= databases/postgresql,-server
 RUN_DEPENDS=   databases/postgresql
 
-FLAVORS=   python2.4 python2.7
-.if !defined(FLAVOR) || empty(FLAVOR)
-FLAVOR=python2.7
-.endif
-
-.if ${FLAVOR} == python2.4
-MULTI_PACKAGES=-main -examples -zope
-.elif 

Re: Zope python 2.4

2011-12-13 Thread Stuart Henderson
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
--- Makefile2 Dec 2011 14:36:13 -   1.37
+++ Makefile13 Dec 2011 13:45:40 -
@@ -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 -  1.6
+++ pkg/PLIST   13 Dec 2011 13:45:40 -
@@ -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



Re: Zope python 2.4

2011-12-13 Thread David Coppa
On Tue, Dec 13, 2011 at 3:04 PM, Stuart Henderson s...@spacehopper.org wrote:
 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

Ok for me too.



Re: Zope python 2.4

2011-12-13 Thread Federico Schwindt
[..]
 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

yeah, i know. i will take care of all the zope stuff if and when removed.
i just want us to agree on this first.

f.-



Re: Zope python 2.4

2011-12-13 Thread Amit Kulkarni
 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 -       1.37
 +++ Makefile    13 Dec 2011 13:45:40 -
 @@ -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

Looking at that website, its not updated in 6 years. Even if you patch
to latest python 2/3 there are many other graphical text editor
alternatives in the tree...



Re: Zope python 2.4

2011-12-13 Thread Federico Schwindt
On Tue, Dec 13, 2011 at 2:51 PM, Amit Kulkarni amitk...@gmail.com wrote:
 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 -       1.37
 +++ Makefile    13 Dec 2011 13:45:40 -
 @@ -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

 Looking at that website, its not updated in 6 years. Even if you patch
 to latest python 2/3 there are many other graphical text editor
 alternatives in the tree...

Amen to that.



Re: Zope python 2.4

2011-12-13 Thread Stuart Henderson
On 2011/12/13 11:51, Amit Kulkarni wrote:
  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 -       1.37
  +++ Makefile    13 Dec 2011 13:45:40 -
  @@ -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
 
 Looking at that website, its not updated in 6 years. Even if you patch
 to latest python 2/3 there are many other graphical text editor
 alternatives in the tree...

that's no reason to remove it per-se.

the majority of the fixes will be quite simple I just didn't have
time to look at them today (and actually they may be in 3.17.18
already).



Re: Zope python 2.4

2011-12-13 Thread Amit Kulkarni
 Then this just leaves editors/cooledit.  Diff below builds but not
 really tested as cooledit is currently a barrel of fail on amd64.

diff on top of your work...

update to 3.17.17 with better comment. i ran it and it works... on amd64

still keeping it as BROKEN untl you check it out.

Index: Makefile
===
RCS file: /cvs/ports/editors/cooledit/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile2 Dec 2011 14:36:13 -   1.37
+++ Makefile13 Dec 2011 18:53:31 -
@@ -1,12 +1,16 @@
 # $OpenBSD: Makefile,v 1.37 2011/12/02 14:36:13 espie Exp $
 
-COMMENT =  easy to use, graphical editor
+.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 text editor
 
 CATEGORIES =   editors
-MASTER_SITES = ${HOMEPAGE}
-HOMEPAGE = ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
-DISTNAME = cooledit-3.17.14
-REVISION = 6
+MASTER_SITES = http://fossies.org/linux/misc/
+HOMEPAGE = ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
+DISTNAME = cooledit-3.17.17
 
 SHARED_LIBS =  Cw  1.0
 
@@ -15,19 +19,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 +43,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: distinfo
===
RCS file: /cvs/ports/editors/cooledit/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo5 Apr 2007 15:38:07 -   1.5
+++ distinfo13 Dec 2011 18:53:31 -
@@ -1,5 +1,5 @@
-MD5 (cooledit-3.17.14.tar.gz) = xb+g771hYLW6hotyJBjMAg==
-RMD160 (cooledit-3.17.14.tar.gz) = T1EdmWzkK7kWTdQ9T+8yAOSKBZU=
-SHA1 (cooledit-3.17.14.tar.gz) = /ataBiXKQb5iKKB9N4zto/qYRsc=
-SHA256 (cooledit-3.17.14.tar.gz) = rAhGLMxAqnCm7+ntiiCscE2jewctA4c+YCGmDpVNfJ0=
-SIZE (cooledit-3.17.14.tar.gz) = 1671619
+MD5 (cooledit-3.17.17.tar.gz) = u481TVN4+PqeF4skFBUphw==
+RMD160 (cooledit-3.17.17.tar.gz) = lt3eFPraIgw4EULWgUdzWsXHUWM=
+SHA1 (cooledit-3.17.17.tar.gz) = c/m//LXj6S8KcdPzT+8Z6wKH7gc=
+SHA256 (cooledit-3.17.17.tar.gz) = PA2V1Al5bj2SQF6OwxessEBxO0Msyf+XQvhlfAkr5Ik=
+SIZE (cooledit-3.17.17.tar.gz) = 1674273
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 -  1.6
+++ pkg/PLIST   13 Dec 2011 18:53:31 -
@@ -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



Re: Zope python 2.4

2011-12-13 Thread Remi Pointel
On Mon, 12 Dec 2011 10:51:21 -0300
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,

ok rpointel@.

Remi.



Zope python 2.4

2011-12-12 Thread Federico Schwindt
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,

f.-



Re: Zope python 2.4

2011-12-12 Thread Antoine Jacoutot
On Mon, Dec 12, 2011 at 10:51:21AM -0300, Federico Schwindt 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?

Quite the contrary for me, I'm all for removing old unmaintained stuffs... so 
you have my vote :)


 
 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,
 
 f.-
 

-- 
Antoine