From owner-freebsd-python@FreeBSD.ORG Mon Jul 13 08:50:57 2009 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B4EC106566C for ; Mon, 13 Jul 2009 08:50:57 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 1BD088FC2F for ; Mon, 13 Jul 2009 08:50:57 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 490C012542C; Mon, 13 Jul 2009 17:50:56 +0900 (JST) Message-ID: <4A5AF570.8030603@ongs.co.jp> Date: Mon, 13 Jul 2009 17:50:56 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.22 (X11/20090624) MIME-Version: 1.0 To: freebsd-python@freebsd.org References: <4A51C05B.7060108@ongs.co.jp> <1e39c0a90907061046l5c52ff4fu196ee1836df2bda@mail.gmail.com> In-Reply-To: <1e39c0a90907061046l5c52ff4fu196ee1836df2bda@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Masanori OZAWA Subject: Re: [CFI] About Python3+ libraries X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 08:50:57 -0000 I have committed x11-toolkits/py31-tkinter as my first step. Thanks :) Li-Wen Hsu wrote: > On Mon, Jul 6, 2009 at 17:14, Daichi GOTO wrote: >> Easy and non-impact solution is to add ports with >> py3- prefix I guess. For example, right now I want to >> python3 verion x11-toolkits/py-tkinter. > > I think it is reasonable. I will add databases/py25-bsddb soon, for > mail/py-spambayes using, which can only use Python 2.5 > >> x11-toolkits/py-tkinter - (current port) >> x11-toolkits/py3-tkinter - (I want to add, suiting for >> Python 3+) > > Please have a look at ports/136198, which makes py-tkinter work for both > python 2.x and 3.x. I would like your comments. > > Also, there is ports/136199 for making databases/py-gdbm work for python 3.x, > comments welcomed, too. > >> Ideally, in the future while python3 as default version, >> that will be follow I guess. >> >> x11-toolkits/py-tkinter - (meta port depending on PYTHON_DEFAULT_VERSION) >> x11-toolkits/py2-tkinter - (suiting for Python 2.x, modified from original >> x11-toolkits/py-tkinter) >> x11-toolkits/py3-tkinter - (suiting for Python 3+) >> >> I think that strategy is reasonable. So I am thinking to >> add some python3+ libraries with py3- prefix if there is >> no objections. > > I like this convention, and I prefer have py-* being as a master port, > work both for > every python version. Let py2-*, py3-*, and even py25*-, py24*-, > py31*- as slave > ports by setting USE_PYTHON to specified version in the Makefile. Anybody likes > this suggestion? > > (although I came to this idea after requesting repocopy databases/py-bsddb to > databases/py25-bsddb) > >> Are there any more good ideas and solutions? I want to >> know your ideas. >> > > That's great! Thanks work for Python on FreeBSD! > -- 有限会社オングス 技術開発担当 後藤大地 (daichi@ongs.co.jp) TEL: 042-316-7945 FAX: 042-316-7946 WWW: http://www.ongs.co.jp/