From owner-freebsd-python@FreeBSD.ORG Sun Dec 5 13:33:53 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FD9516A4CE for ; Sun, 5 Dec 2004 13:33:53 +0000 (GMT) Received: from miffy.openlook.org (openlook.org [211.236.182.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 792C343D2F for ; Sun, 5 Dec 2004 13:33:52 +0000 (GMT) (envelope-from perky@miffy.openlook.org) Received: by miffy.openlook.org (Postfix, from userid 1000) id 30C10A95E; Sun, 5 Dec 2004 22:33:51 +0900 (KST) Date: Sun, 5 Dec 2004 22:33:51 +0900 From: Hye-Shik Chang To: Gerhard Schmidt Message-ID: <20041205133351.GA38494@i18n.org> References: <20041205103504.GA30949@augusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20041205103504.GA30949@augusta.de> X-Accept-Language: ko, en User-Agent: Mutt/1.5.6i cc: python@FreeBSD.org Subject: Re: Patch to www/zope makefile to work with 2.4 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 13:33:53 -0000 On Sun, Dec 05, 2004 at 11:35:04AM +0100, Gerhard Schmidt wrote: > Hi Perky, > > You have updated the zope port to work with python2.4. zope27x isnīt > planed to run on python24. > > Here is the statemant from the release manager of Zope. > > On Wed, Nov 10, 2004 at 03:04:28PM +0100, Andreas Jung wrote: > [...] > Speaking as Zope release manager but not as official of ZC: Python 2.3.4 > will likely be the recommended Python version for Zope 2.7. I am personally > running Zope 2.7.3 with Plone since some weeks under Python 2.4b1 but > I am doing this at my "own risk". Python 2.4 might be of interest for Zope > 2.8. > [...] > > He wrote this to the zope developer mailinglist. > > I donīt think we should patch zope to run with 2.4 when not supported from > the zope Community. Okay. I'll investigate what will be happened if we force USE_PYTHON=2.3 when USE_ZOPE=yes is activated. As far as I remember, it was such a hell for handling dependencies. > The second thing about your patch is that it only works with python2.4 > so it will force enybody to upgrade to python2.4 when installing zope even > there is a running python2.3.x installation. In ports, we must use explicitly specified version (or default version) to record correct dependency. So, you can force python ports to use Python 2.3. (PYTHONPORT_VERSION is defined after along PYTHON_VERSION) make PYTHON_VERSION=python2.3 install > If I whould have been asked the patch wouldnīt have been approved. > Emergency build fixes in ports are usually free from maintainer approval to commit in FreeBSD community. But it doesn't look proper as your comments, I'll add PYTHON_VERSION=python2.3 in zope port. > I think we should change the zope port to use only python2.3 > > I will provide an updated Makefile soon. Sorry I have to go right now > so I can't provide it with this mail. Mk/bsd.python.mk will need some fix for zope product ports as well. Thank you for comments and sorry for incorrect fix. :) Hye-Shik From owner-freebsd-python@FreeBSD.ORG Sun Dec 5 13:34:43 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83B4B16A4CE for ; Sun, 5 Dec 2004 13:34:43 +0000 (GMT) Received: from smtp-o01.eonet.ne.jp (smtp-o01.eonet.ne.jp [203.140.81.16]) by mx1.FreeBSD.org (Postfix) with SMTP id A7FC343D31 for ; Sun, 5 Dec 2004 13:34:42 +0000 (GMT) (envelope-from yasi@yasi.to) Received: (qmail 32062 invoked from network); 5 Dec 2004 22:34:41 +0900 Received: from unknown (HELO AA0000-MIMS13s.eo.k-opti.ad.jp) by aa0000-moms11d4 with SMTP; 5 Dec 2004 22:34:41 +0900 Received: (qmail 2902 invoked from network); 5 Dec 2004 22:34:41 +0900 Received: from unknown (HELO hayashi2j51u1x) (219.122.177.141) by aa0000-mims13s with SMTP; 5 Dec 2004 22:34:41 +0900 Message-ID: <005801c4dacf$2c50e140$0200a8c0@hayashi2j51u1x> From: "HAYASHI Yasushi" To: Date: Sun, 5 Dec 2004 22:34:38 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 cc: yasi@yasi.to Subject: www/zope-coreblog has trouble with python 2.4 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 13:34:43 -0000 Hello. I'm COREBlog (www/zope-coreblog) maintainer. When I tried to use COREBlog with python 2.4, there was a trouble. COREBlog imports 'rotor' module which is deleted from python 2.4, so it can't run. COREBlog author says he will modify it to be able run with python 2.4. But he needs some days or weeks. I want to modify www/zope-coreblog and www/zope that build and run COREBlog/Zope with python 2.3. What is better way for me? I think: - Add a line 'USE_PYTHON=2.3' into www/zope-coreblog/Makefile - And also change 'USE_PYTHON=2.3-' to 'USE_PYTHON=2.3' in www/zope Thank you. -- Yasushi Hayashi yasi@yasi.to From owner-freebsd-python@FreeBSD.ORG Sun Dec 5 14:25:05 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2120B16A4CE for ; Sun, 5 Dec 2004 14:25:05 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC2AD43D41 for ; Sun, 5 Dec 2004 14:25:04 +0000 (GMT) (envelope-from hyeshik@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so113233rng for ; Sun, 05 Dec 2004 06:25:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=WlU0yV19zrMh5Zla9t25oBC1zvMnw7llakgnfUjVZOEFXZ9++oPsoz2tMnhiBU5NJqV0exrC2yQs1w8l5lI4WO+WwtSemCTSeDPTIewUxcbrQWwldAujk0jGtNY3sGorHHfh2WjqLhzsctDM0K78h7CuFQN8W0UZMe/jGdhT0uQ= Received: by 10.38.10.36 with SMTP id 36mr25329rnj; Sun, 05 Dec 2004 06:25:04 -0800 (PST) Received: by 10.39.1.39 with HTTP; Sun, 5 Dec 2004 06:25:04 -0800 (PST) Message-ID: <4f0b69dc04120506256728b92a@mail.gmail.com> Date: Sun, 5 Dec 2004 23:25:04 +0900 From: Hye-Shik Chang To: HAYASHI Yasushi In-Reply-To: <005801c4dacf$2c50e140$0200a8c0@hayashi2j51u1x> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <005801c4dacf$2c50e140$0200a8c0@hayashi2j51u1x> cc: freebsd-python@freebsd.org Subject: Re: www/zope-coreblog has trouble with python 2.4 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hye-Shik Chang List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 14:25:05 -0000 On Sun, 5 Dec 2004 22:34:38 +0900, HAYASHI Yasushi wrote: > Hello. > I'm COREBlog (www/zope-coreblog) maintainer. > > When I tried to use COREBlog with python 2.4, there was a trouble. > COREBlog imports 'rotor' module which is deleted from python 2.4, > so it can't run. > > COREBlog author says he will modify it to be able run with python 2.4. > But he needs some days or weeks. > According to Gerhard, the maintainer of www/zope, he will not let www/zope to use Python 2.4 until Zope 2.8 is released. And I just fixed zope port to force to use Python 2.3 in CVS. Hye-Shik From owner-freebsd-python@FreeBSD.ORG Sun Dec 5 21:50:30 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D968216A4DC for ; Sun, 5 Dec 2004 21:50:30 +0000 (GMT) Received: from smtp-o04.eonet.ne.jp (smtp-o04.eonet.ne.jp [203.140.81.19]) by mx1.FreeBSD.org (Postfix) with SMTP id 0496A43D72 for ; Sun, 5 Dec 2004 21:50:30 +0000 (GMT) (envelope-from yasi@yasi.to) Received: (qmail 13150 invoked from network); 6 Dec 2004 06:50:28 +0900 Received: from unknown (HELO AA0000-MIMS11s.eo.k-opti.ad.jp) by aa0000-moms14d4 with SMTP; 6 Dec 2004 06:50:28 +0900 Received: (qmail 12269 invoked from network); 6 Dec 2004 06:50:28 +0900 Received: from unknown (HELO hayashi2j51u1x) (219.122.177.141) by aa0000-mims11s with SMTP; 6 Dec 2004 06:50:28 +0900 Message-ID: <004501c4db14$6f6d00e0$0200a8c0@hayashi2j51u1x> From: "HAYASHI Yasushi" To: "Hye-Shik Chang" References: <005801c4dacf$2c50e140$0200a8c0@hayashi2j51u1x> <4f0b69dc04120506256728b92a@mail.gmail.com> Date: Mon, 6 Dec 2004 06:50:28 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 cc: freebsd-python@freebsd.org Subject: Re: www/zope-coreblog has trouble with python 2.4 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 21:50:31 -0000 Thanks a lot ! I'll modify www/zope-coreblog referring www/zope. Is it better that all ports which has "USE_ZOPE=yes" should also have "USE_PYTHON=2.3" ? And how about textproc/py-xml ? Zope has "BUILD_DEPENDS" for it. ----- Original Message ----- From: "Hye-Shik Chang" To: "HAYASHI Yasushi" Cc: Sent: Sunday, December 05, 2004 11:25 PM Subject: Re: www/zope-coreblog has trouble with python 2.4 (snip) > According to Gerhard, the maintainer of www/zope, he will not let www/zope > to use Python 2.4 until Zope 2.8 is released. And I just fixed zope > port to force > to use Python 2.3 in CVS. > > Hye-Shik -- Yasushi Hayashi yasi@yasi.to From owner-freebsd-python@FreeBSD.ORG Tue Dec 7 15:57:41 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8089116A4CE for ; Tue, 7 Dec 2004 15:57:41 +0000 (GMT) Received: from w1001.widhost.net (w1001.widhost.net [209.235.192.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39FE643D39 for ; Tue, 7 Dec 2004 15:57:41 +0000 (GMT) (envelope-from filippo.natali@widestore.net) Received: from mx0.hq.widestore.net (mx0.hq.widestore.net [212.97.46.42]) by w1001.widhost.net (Postfix) with ESMTP id 4CE342194B for ; Tue, 7 Dec 2004 10:57:36 -0500 (EST) Received: from [192.168.1.1] (cagnina.hq.widestore.net [192.168.1.1]) by mx0.hq.widestore.net (Postfix) with ESMTP id 41EC85B; Tue, 7 Dec 2004 16:57:04 +0100 (CET) Message-ID: <41B5D2D0.9040904@widestore.net> Date: Tue, 07 Dec 2004 16:57:04 +0100 From: Filippo Natali Organization: Widestore.Net User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: HAYASHI Yasushi References: <005801c4dacf$2c50e140$0200a8c0@hayashi2j51u1x> <4f0b69dc04120506256728b92a@mail.gmail.com> <004501c4db14$6f6d00e0$0200a8c0@hayashi2j51u1x> In-Reply-To: <004501c4db14$6f6d00e0$0200a8c0@hayashi2j51u1x> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------080900050207080907040603" cc: Hye-Shik Chang cc: freebsd-python@freebsd.org Subject: Re: www/zope-coreblog has trouble with python 2.4 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 15:57:41 -0000 This is a multi-part message in MIME format. --------------080900050207080907040603 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit on 05.12.2004 22:50 HAYASHI Yasushi wrote: > Thanks a lot ! > I'll modify www/zope-coreblog referring www/zope. > > Is it better that all ports which has "USE_ZOPE=yes" should also have > "USE_PYTHON=2.3" ? > And how about textproc/py-xml ? Zope has "BUILD_DEPENDS" for it. Hi! this little patch for bsd.python.mk sets USE_PYTHON=2.3 if a port has USE_ZOPE=yes. This could be a workaround until Zope 2.8, instead of patching all Zope related ports. If someone else can test it (at his own risk ;) ), I'll send a pr. regards, Filippo Natali --------------080900050207080907040603 Content-Type: text/plain; name="bsd.python.mk.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bsd.python.mk.patch" --- bsd.python.mk Wed Dec 1 16:04:04 2004 +++ bsd.python.mk.new Tue Dec 7 16:19:32 2004 @@ -136,6 +136,10 @@ || ${ECHO_CMD} ${_PYTHON_PORTBRANCH} .endif # defined(PYTHON_VERSION) +.if defined(USE_ZOPE) +USE_PYTHON= 2.3 +.endif + .if !defined(USE_PYTHON) .if defined(USE_PYTHON_BUILD) USE_PYTHON= ${USE_PYTHON_BUILD} --------------080900050207080907040603--