From owner-freebsd-python@FreeBSD.ORG  Mon Oct 18 11:07:04 2010
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 B143F10656D2
	for <freebsd-python@FreeBSD.org>; Mon, 18 Oct 2010 11:07:04 +0000 (UTC)
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 9E6DB8FC37
	for <freebsd-python@FreeBSD.org>; Mon, 18 Oct 2010 11:07:04 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9IB74X6029420
	for <freebsd-python@FreeBSD.org>; Mon, 18 Oct 2010 11:07:04 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9IB743J029418
	for freebsd-python@FreeBSD.org; Mon, 18 Oct 2010 11:07:04 GMT
	(envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 18 Oct 2010 11:07:04 GMT
Message-Id: <201010181107.o9IB743J029418@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
	owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@FreeBSD.org>
To: freebsd-python@FreeBSD.org
Cc: 
Subject: Current problem reports assigned to freebsd-python@FreeBSD.org
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, 18 Oct 2010 11:07:04 -0000

Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o ports/151121 python     [PATCH] lang/python27: fix 'make deinstall' while pyth
f ports/150184 python     cannot install ports/math/py-numpy
o ports/149167 python     lang/python26 fails to build _ctypes on Sheevaplug (AR
o ports/148406 python     [PATCH] lang/python26: fix build backage without threa
o ports/147665 python     update for www/py-pylons
o ports/147291 python     lang/python* doesn't compile nis.so when WITHOUT_NIS s
o ports/146957 python     Mk/bsd.python.mk: PYTHONOPTIMIZE=1 in environ(7) break
o ports/146823 python     [patch] lang/python26: knob to build _ctypes module ag
o ports/146644 python     lang/python26: WITH_PTH option breaks most ports depen
f ports/145460 python     Unable to build /usr/ports/net-p2p/py-bittorrent-core
o ports/144335 python     [PATCH] www/py-webhelpers does not use PYTHONPREFIX_SI
a ports/144035 python     ports/databases/py-sqlite3 does not start to build
o ports/142440 python     New Port: databases/py-south0.6
o ports/140968 python     x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4
o ports/136917 python     [patch] lang/python26: gettext detection
o ports/133081 python     [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken
o ports/118301 python     devel/py-setuptools easy-install.pth contents lost on 
o ports/115940 python     Missed one file in lang/python25 if NO_NIS defined

18 problems total.


From owner-freebsd-python@FreeBSD.ORG  Tue Oct 19 12:51:37 2010
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D78471065693;
	Tue, 19 Oct 2010 12:51:37 +0000 (UTC)
	(envelope-from dewayne.geraghty@heuristicsystems.com.au)
Received: from nschwqsrv01p.mx.bigpond.com (nschwqsrv01p.mx.bigpond.com
	[61.9.189.231])
	by mx1.freebsd.org (Postfix) with ESMTP id 4327E8FC12;
	Tue, 19 Oct 2010 12:51:36 +0000 (UTC)
Received: from nschwotgx03p.mx.bigpond.com ([58.172.114.57])
	by nschwmtas02p.mx.bigpond.com with ESMTP id
	<20101019061630.IDBZ4250.nschwmtas02p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com>;
	Tue, 19 Oct 2010 06:16:30 +0000
Received: from mail.heuristicsystems.com.au ([58.172.114.57])
	by nschwotgx03p.mx.bigpond.com with ESMTP id
	<20101019061630.IEPF16083.nschwotgx03p.mx.bigpond.com@mail.heuristicsystems.com.au>;
	Tue, 19 Oct 2010 06:16:30 +0000
Received: from white (white.hs [10.0.5.2]) (authenticated bits=0)
	by mail.heuristicsystems.com.au (8.14.4/8.13.6) with ESMTP id
	o9J6FSSv020348
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT);
	Tue, 19 Oct 2010 17:15:30 +1100 (EST)
	(envelope-from dewayne.geraghty@heuristicsystems.com.au)
From: "Dewayne" <dewayne.geraghty@heuristicsystems.com.au>
To: <python@FreeBSD.org>
Date: Tue, 19 Oct 2010 17:15:28 +1100
Organization: Heuristic Systems Pty Ltd
Message-ID: <38EB0627392C42BE8047DBD5B77DAC1A@HS>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: ActvVQaAgkJo1isET86LYn88Tf+dlQ==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994
X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID
	str=0001.0A150204.4CBD37BE.00DC,ss=1,fgs=0
X-SIH-MSG-ID: rx81EdL3TAD0zmQv0WC2O1J3yArnq3Mt8ZoaRdJjqwQZTULdvMbOJ4/2Y9wShZ7n3S5MMBCEOGsjY7zmXY7RiA==
Cc: ports@FreeBSD.org
Subject: Python27 package build failure - missing NIS library
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: Tue, 19 Oct 2010 12:51:37 -0000

Unfortunately my FreeBSD 8.1Stable systems are built without NIS, using 
/etc/src.conf
WITHOUT_NIS=yes

During a package build, I receive the failure message:
tar: lib/python2.7/lib-dynload/nis.so: Cannot stat: No such file or
directory

May I suggest the following patch to address this error:

--- /usr/ports/lang/python27/Makefile.orig      2010-10-19
04:33:12.000000000 +0000
+++ /usr/ports/lang/python27/Makefile   2010-10-19 05:00:17.000000000 +0000
@@ -55,6 +55,7 @@
                UCS4 "Use UCS4 for unicode support" on \
                PYMALLOC "Use python's internal malloc" on \
                IPV6 "Enable IPv6 support" on \
+               NIS "Enable NIS support" on \
                FPECTL "Enable floating point exception handling" off

 .include <bsd.port.pre.mk>
@@ -130,8 +131,9 @@
 CFLAGS+=       -DPYTHON_DEFAULT_RECURSION_LIMIT=900
 .endif

-.if !exists(/usr/bin/ypcat) # the world with NO_NIS
+.if !defined(WITHOUT_NIS) # the world with NO_NIS
 PLIST_SUB+=    NO_NIS="@comment "
+PLIST_FILES+=%%PYTHON_LIBDIR%%/lib-dynload/nis.so
 .else
 PLIST_SUB+=    NO_NIS=""
 .endif


--- /usr/ports/lang/python27/pkg-plist.orig     2010-10-19
05:00:28.000000000 +0000
+++ /usr/ports/lang/python27/pkg-plist  2010-10-19 05:00:41.000000000 +0000
@@ -885,7 +885,6 @@
 %%PYTHON_LIBDIR%%/lib-dynload/itertools.so
 %%PYTHON_LIBDIR%%/lib-dynload/math.so
 %%PYTHON_LIBDIR%%/lib-dynload/mmap.so
-%%NO_NIS%%%%PYTHON_LIBDIR%%/lib-dynload/nis.so
 %%PYTHON_LIBDIR%%/lib-dynload/operator.so
 %%PYTHON_LIBDIR%%/lib-dynload/ossaudiodev.so
 %%PYTHON_LIBDIR%%/lib-dynload/parser.so

Interestingly when I "make clean deinstall" the file
/usr/local/lib/python2.7/lib-dynload/nis_failed.so remains?  It is the only
file that does remain.

Thank-you for managing this port, I hope that you will accept this change.

Kind regards, Dewayne


From owner-freebsd-python@FreeBSD.ORG  Thu Oct 21 13:11:40 2010
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 AF0A91065670
	for <freebsd-python@FreeBSD.ORG>; Thu, 21 Oct 2010 13:11:40 +0000 (UTC)
	(envelope-from olli@lurza.secnetix.de)
Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 2BD208FC1C
	for <freebsd-python@FreeBSD.ORG>; Thu, 21 Oct 2010 13:11:39 +0000 (UTC)
Received: from lurza.secnetix.de (localhost [127.0.0.1])
	by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o9LDBN2M037400;
	Thu, 21 Oct 2010 15:11:38 +0200 (CEST)
	(envelope-from oliver.fromme@secnetix.de)
Received: (from olli@localhost)
	by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o9LDBNSp037399;
	Thu, 21 Oct 2010 15:11:23 +0200 (CEST) (envelope-from olli)
Date: Thu, 21 Oct 2010 15:11:23 +0200 (CEST)
Message-Id: <201010211311.o9LDBNSp037399@lurza.secnetix.de>
From: Oliver Fromme <olli@lurza.secnetix.de>
To: freebsd-python@FreeBSD.ORG
X-Newsgroups: list.freebsd-python
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX)
	(FreeBSD/6.4-PRERELEASE-20080904 (i386))
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5
	(lurza.secnetix.de [127.0.0.1]);
	Thu, 21 Oct 2010 15:11:39 +0200 (CEST)
Cc: 
Subject: python27 + readline: can't bind ^U
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: freebsd-python@FreeBSD.ORG
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: Thu, 21 Oct 2010 13:11:40 -0000

Hi,

I'm using python27 on FreeBSD 8.1.  I would like to change
the behaviour of ^U at the Python prompt.  By default, it
deletes everything to the left of the cursor, but I want
it to delete the _whole_ line, regardless of the current
cursor position.

Nothing of the following works:

 - adding one of these lines to ~/.inputrc:
   "\C-u": kill-whole-line
   Control-u: kill-whole-line

 - adding "import readline" and one of these lines to
   ~/.pythonstartup:
   readline.parse_and_bind (r'"\C-u": kill-whole-line')
   readline.parse_and_bind (r'Control-u: kill-whole-line')

The desired binding is never executed.  When I run the
"dump-functions" command, kill-whole-line is listed as
unbound, and \C-u is still bound to unix-line-discard.

Other key bindings that I added to ~/.pythonstartup and
~/.inputrc work fine.  Only Control-U refuses to be bound
to anything else than unix-line-discard.

What am I doing wrong?

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.

From owner-freebsd-python@FreeBSD.ORG  Sat Oct 23 07:47:22 2010
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@hub.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 58838106566B;
	Sat, 23 Oct 2010 07:47:22 +0000 (UTC)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
	[IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 2EEFF8FC16;
	Sat, 23 Oct 2010 07:47:22 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9N7lMLf020551;
	Sat, 23 Oct 2010 07:47:22 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9N7lMQB020547;
	Sat, 23 Oct 2010 07:47:22 GMT (envelope-from linimon)
Date: Sat, 23 Oct 2010 07:47:22 GMT
Message-Id: <201010230747.o9N7lMQB020547@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-python@FreeBSD.org
From: linimon@FreeBSD.org
Cc: 
Subject: Re: ports/151534: lang/python26 + WITH_PTH doesn't install correctly
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: Sat, 23 Oct 2010 07:47:22 -0000

Synopsis: lang/python26 + WITH_PTH doesn't install correctly

Responsible-Changed-From-To: freebsd-bugs->freebsd-python
Responsible-Changed-By: linimon
Responsible-Changed-When: Sat Oct 23 07:46:52 UTC 2010
Responsible-Changed-Why: 
ports PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=151534