FreeBSD bugmaster | 1 Jun 13:06 2009
Picon

freebsd-python@...

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/134736 python     [Update]www/py-pylons:update to 0.9.7
o ports/134239 python     [patch] rc script for net-p2p/py-bittornado
o ports/133844 python     New port: databases/py-postgresql  python3 pgsql drive
o ports/133440 python     Building lang/python30 with UCS-4 support doesn't work
o ports/133081 python     [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken
o ports/132093 python     lang/python26: python's subprocess.py fails with 'Inte
o ports/123154 python     New port: devel/py-yapps2 (an easy-to-use parser gener
o ports/122616 python     databases/py-pyPgSQL - apply bytea escape bug patch in
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
o ports/109550 python     lang/python25 does not install /usr/local/bin/python

11 problems total.

Chuck Robey | 6 Jun 22:03 2009

aboout setting up a new python

I wanted to build python26, being that my current python is python25, and I want
(suddenly) to develop on this machine for Pyglet (OpenGL for Python) and
pyglet's port installed using py26 ... beyond that, I think I like the 2.6
version of python (I don't like the 3.0 version, and would REALLY NOT want to
install that here).

So, I know there's a set of links to make, to get the 2.6 version to work.  I'd
guessed that maybe thing thing named "python-config" would do that for me, but
there's no man page, and the response from --help is merely the usage().  I
haven't any idea how to use it, not one line.  I can't find anything in
/usr/local/share, either (but I might not be looking in the right place anyhow).
 Tried in the doc subdir too.

Could I get a hint how to get my python2.6 up?  BTW, I tried to see if maybe
just installing the python26 port might activate 2.6 for me, but when I run
"python" the prompt tells me that version 2.5.4 is still in control.

Thanks.
Josh Paetzel | 7 Jun 04:32 2009

Re: aboout setting up a new python


On Jun 6, 2009, at 3:03 PM, Chuck Robey wrote:

> I wanted to build python26, being that my current python is  
> python25, and I want
> (suddenly) to develop on this machine for Pyglet (OpenGL for Python)  
> and
> pyglet's port installed using py26 ... beyond that, I think I like  
> the 2.6
> version of python (I don't like the 3.0 version, and would REALLY  
> NOT want to
> install that here).
>
> So, I know there's a set of links to make, to get the 2.6 version to  
> work.  I'd
> guessed that maybe thing thing named "python-config" would do that  
> for me, but
> there's no man page, and the response from --help is merely the  
> usage().  I
> haven't any idea how to use it, not one line.  I can't find anything  
> in
> /usr/local/share, either (but I might not be looking in the right  
> place anyhow).
> Tried in the doc subdir too.
>
> Could I get a hint how to get my python2.6 up?  BTW, I tried to see  
> if maybe
> just installing the python26 port might activate 2.6 for me, but  
> when I run
> "python" the prompt tells me that version 2.5.4 is still in control.
(Continue reading)

FreeBSD bugmaster | 8 Jun 13:06 2009
Picon

freebsd-python@...

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/134736 python     [Update]www/py-pylons:update to 0.9.7
o ports/134239 python     [patch] rc script for net-p2p/py-bittornado
o ports/133844 python     New port: databases/py-postgresql  python3 pgsql drive
o ports/133440 python     Building lang/python30 with UCS-4 support doesn't work
o ports/133081 python     [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken
o ports/132093 python     lang/python26: python's subprocess.py fails with 'Inte
o ports/123154 python     New port: devel/py-yapps2 (an easy-to-use parser gener
o ports/122616 python     databases/py-pyPgSQL - apply bytea escape bug patch in
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
o ports/109550 python     lang/python25 does not install /usr/local/bin/python

11 problems total.

Anton Shterenlikht | 9 Jun 12:16 2009
Picon
Picon

python upgrade 2.5 to 2.6

I use portmaster. What shall I use instead of pkg_which?

PORTUPGRADE_CMD?=       ${LOCALBASE}/sbin/portmaster
					  ^^^^^^^^^ changed to portmaster
PKG_WHICH_CMD?=        ${LOCALBASE}/sbin/pkg_which
					 ^^^^^^^^^ this I haven't got

many thanks
anton

--

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
Robert Huff | 9 Jun 14:27 2009

when building python-2.6 ...


	... I get:

Failed to find the necessary bits to build these modules:
linuxaudiodev      spwd               sunaudiodev     
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

	and the build continues, apparently successfully.
	Is this a problem, and what do I do to fix it?

	Respectfully,

					Robert Huff

Frank Shute | 10 Jun 01:24 2009
X-Face
Picon

Re: python upgrade 2.5 to 2.6

On Tue, Jun 09, 2009 at 11:16:42AM +0100, Anton Shterenlikht wrote:
>
> I use portmaster. What shall I use instead of pkg_which?
> 
> PORTUPGRADE_CMD?=       ${LOCALBASE}/sbin/portmaster
> 					  ^^^^^^^^^ changed to portmaster
> PKG_WHICH_CMD?=        ${LOCALBASE}/sbin/pkg_which
> 					 ^^^^^^^^^ this I haven't got
> 
> many thanks
> anton

It seems that: pkg_info -q -W should produce similar output and
pkg_info(1) is part of base.

I guess you might need to change your Makefile to use a variable like
PKG_WHICH_CMD_ARGS also.

Regards,

--

-- 

 Frank 

 Contact info: http://www.shute.org.uk/misc/contact.html 

Wesley Shields | 10 Jun 15:26 2009
Picon

Python 2.6 update with portmaster

Here's a patch[1] that allows you to use portmaster when doing the python
upgrade. I intend to commit this tomorrow morning unless someone speaks
up. I'll also be adding the instructions to the UPDATING entry.

Once applied you should be able to use:

cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER

It will be quite slow compared to using pkg_which (the normal method) so
be patient. I've used this patch to upgrade one lightly used machine and
I know at least one other person has survived an upgrade of a machine
with over 1000 ports installed.

[1]: http://people.freebsd.org/~wxs/python26-portmaster.diff

-- WXS
Wesley Shields | 10 Jun 17:12 2009
Picon

Re: Python 2.6 update with portmaster

On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote:
> 2009/6/10 Wesley Shields <wxs@...>:
> > Here's a patch[1] that allows you to use portmaster when doing the python
> > upgrade. I intend to commit this tomorrow morning unless someone speaks
> > up. I'll also be adding the instructions to the UPDATING entry.
> >
> > Once applied you should be able to use:
> >
> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
> >
> > It will be quite slow compared to using pkg_which (the normal method) so
> > be patient. I've used this patch to upgrade one lightly used machine and
> > I know at least one other person has survived an upgrade of a machine
> > with over 1000 ports installed.
> >
> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
> >
> I applied the patch, but there is something wrong:
> 
> > # make upgrade-site-packages -DUSE_PORTMASTER
> > Syntax error: end of file unexpected (expecting "}")
> > *** Error code 2
> >
> > Stop in /usr/ports/lang/python.

Sorry, updated the patch to address this. Please revert and try again.

-- WXS
Rene Ladan | 10 Jun 16:44 2009
Picon

Re: Python 2.6 update with portmaster

2009/6/10 Wesley Shields <wxs@...>:
> Here's a patch[1] that allows you to use portmaster when doing the python
> upgrade. I intend to commit this tomorrow morning unless someone speaks
> up. I'll also be adding the instructions to the UPDATING entry.
>
> Once applied you should be able to use:
>
> cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
>
> It will be quite slow compared to using pkg_which (the normal method) so
> be patient. I've used this patch to upgrade one lightly used machine and
> I know at least one other person has survived an upgrade of a machine
> with over 1000 ports installed.
>
> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff
>
I applied the patch, but there is something wrong:

> # make upgrade-site-packages -DUSE_PORTMASTER
> Syntax error: end of file unexpected (expecting "}")
> *** Error code 2
>
> Stop in /usr/ports/lang/python.

Regards,
René
--

-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(Continue reading)


Gmane