From owner-freebsd-python@FreeBSD.ORG  Mon Jun 29 11:19:16 2009
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
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 D3AE41065688
	for <freebsd-python@freebsd.org>; Mon, 29 Jun 2009 11:19:16 +0000 (UTC)
	(envelope-from lwhsu.freebsd@gmail.com)
Received: from mail-qy0-f186.google.com (mail-qy0-f186.google.com
	[209.85.221.186])
	by mx1.freebsd.org (Postfix) with ESMTP id 8C43F8FC1F
	for <freebsd-python@freebsd.org>; Mon, 29 Jun 2009 11:19:16 +0000 (UTC)
	(envelope-from lwhsu.freebsd@gmail.com)
Received: by qyk16 with SMTP id 16so4329226qyk.3
	for <freebsd-python@freebsd.org>; Mon, 29 Jun 2009 04:19:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:date
	:x-google-sender-auth:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	bh=/V1cMNl1QIAWWAEF2H6fzDG5cpuECIdRlWvKBY1Pgdk=;
	b=vGsSmXswlNwGiFQ9GnMbplmTqit+ZHQsXLKFjvo6kYlCcGu9aefCymguUUVtlQuHjB
	9WHGhnkOk+ZlKM5+J8BtIJCBSFRZwTu+7linjxKXwszl+q8Hl21QzKW7Qx/mYptQP+ga
	090NZGMr1X52wLTnSSlq0bbP/R7w4shQhmGyI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:date:x-google-sender-auth:message-id:subject
	:from:to:content-type:content-transfer-encoding;
	b=pwx3K7RfvCZ/N+H5ySdjYSeHaWimt+BJZXj9Ow9NPAOTC8JSqa8T/yHTtnGuXym5DS
	0NnBYvfP0Nt7Apgpzc/jsFIMFCvn/0mo3dqKbNo6fOPFBGiEzVKVlPiLpnnDzi2geCpu
	iAzLMP30egzzt5fktEE7QGtOJRJK06XU2Z8Mk=
MIME-Version: 1.0
Sender: lwhsu.freebsd@gmail.com
Received: by 10.229.98.200 with SMTP id r8mr1534455qcn.5.1246272823017; Mon, 
	29 Jun 2009 03:53:43 -0700 (PDT)
Date: Mon, 29 Jun 2009 18:53:42 +0800
X-Google-Sender-Auth: 66fa50111461fded
Message-ID: <1e39c0a90906290353i30ae5e68v9f57c1b4ff78bf58@mail.gmail.com>
From: Li-Wen Hsu <lwhsu@FreeBSD.org>
To: freebsd-python@freebsd.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: [CFT] Python 3.1 port
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, 
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2009 11:19:17 -0000

Hi all,

I've made a quick port for Python 3.1, not fully tested,
but please give me some comments and inputs.

http://people.freebsd.org/~lwhsu/bsd.python.mk-python31.diff
http://people.freebsd.org/~lwhsu/python31.shar

usage:
cd /usr/ports/Mk && patch < bsd.python.mk-python31.diff
cd /usr/ports/lang && sh python31.shar
cd /usr/ports/lang/python31 && make install clean

By the way, I added a regression-test target, however I found
it cannot pass all the test cases:

http://people.freebsd.org/~lwhsu/python31-3.1.log
(see "<phase 5: make test>", it even did not finish the test process)

I am looking into these currently.  Also, I found all the python* ports
don't have regression-test target, and I surprised found all the
versions I tested cannot pass all the cases in  "make test" in python:

http://people.freebsd.org/~lwhsu/python25-2.5.4_1.log
http://people.freebsd.org/~lwhsu/python26-2.6.2.log
http://people.freebsd.org/~lwhsu/python30-3.0.1.log

Did anybody be aware this?  Are these ignorable?
Or did I make any mistake in the test process?

Best Regards,
Li-Wen

-- 
Li-Wen Hsu
http://lwhsu.org