[gentoo-user] How to appoint python version for a package

2014-04-02 Thread 林守磊
Hi All I just want emerge retext and run it by python3.3, how to set PYTHON_TAGETS just for this package If can't, tell me why python3.2 case problem below return u'[%s-%s]' % (unichr(a), unichr(b)) ^ SyntaxError: invalid syntax Thank you

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread Tom Wijsman
On Wed, 2 Apr 2014 19:56:44 +0800 林守磊 wrote: > I just want emerge retext Which version of retext are you trying to emerge? > and run it by python3.3, Python 3.3 is supported in retext 4.0.1-r2 and 4.1.1. > how to set PYTHON_TAGETS just for this package In package.use you can put: app-ed

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread Wang Xuerui
2014-04-02 19:56 GMT+08:00 林守磊 : > tell me why python3.2 case problem below > > > return u'[%s-%s]' % (unichr(a), unichr(b)) > ^ > SyntaxError: invalid syntax Well, it seems to be an upstream bug, as Python 3.2 does not recognize the old (Python 2.x) style for Unic

[gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread Douglas J Hunley
I was reviewing my Portage settings yesterday and I noticed that I have PORTAGE_COMPRESS set (to bzip2, the default) on both of my servers and it occurred to me that both of these servers have filesystems that support compression (btrfs on one, zfs on the other). So I'm wondering if it still makes

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread Wang Xuerui
2014-04-02 20:26 GMT+08:00 Wang Xuerui : > 2014-04-02 19:56 GMT+08:00 林守磊 : >> return u'[%s-%s]' % (unichr(a), unichr(b)) > [snip] > so the program will work in Python 3.3 but not 3.2 Oops, there is also unichr. Seems the program is Python 2.x only, in which case you can try using package.env

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread Alan McKinnon
On 02/04/2014 14:27, Douglas J Hunley wrote: > I was reviewing my Portage settings yesterday and I noticed that I have > PORTAGE_COMPRESS set (to bzip2, the default) on both of my servers and > it occurred to me that both of these servers have filesystems that > support compression (btrfs on one, z

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread Tom Wijsman
On Wed, 2 Apr 2014 20:29:41 +0800 Wang Xuerui wrote: > 2014-04-02 20:26 GMT+08:00 Wang Xuerui : > > 2014-04-02 19:56 GMT+08:00 林守磊 : > >> return u'[%s-%s]' % (unichr(a), unichr(b)) > > [snip] > > so the program will work in Python 3.3 but not 3.2 > > Oops, there is also unichr. Seems the pro

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread fruktopus
Am 02.04.2014 16:10, schrieb Alan McKinnon: > On 02/04/2014 14:27, Douglas J Hunley wrote: >> I was reviewing my Portage settings yesterday and I noticed that I have >> PORTAGE_COMPRESS set (to bzip2, the default) on both of my servers and >> it occurred to me that both of these servers have filesy

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread Alan McKinnon
On 02/04/2014 18:48, fruktopus wrote: > Am 02.04.2014 16:10, schrieb Alan McKinnon: >> On 02/04/2014 14:27, Douglas J Hunley wrote: >>> I was reviewing my Portage settings yesterday and I noticed that I have >>> PORTAGE_COMPRESS set (to bzip2, the default) on both of my servers and >>> it occurred

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread fruktopus
Am 02.04.2014 20:29, schrieb Alan McKinnon: > On 02/04/2014 18:48, fruktopus wrote: >> Am 02.04.2014 16:10, schrieb Alan McKinnon: >>> On 02/04/2014 14:27, Douglas J Hunley wrote: I was reviewing my Portage settings yesterday and I noticed that I have PORTAGE_COMPRESS set (to bzip2, the d

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread Douglas J Hunley
On Wed, Apr 2, 2014 at 2:29 PM, Alan McKinnon wrote: > man 5 make.conf What isn't listed in the man page is if you should simply unset it: PORTAGE_COMPRESS="" or set it to something like /bin/true Any thoughts? -- Douglas J Hunley (doug.hun...@gmail.com) Twitter: @hunleyd

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread null_ptr
On 02/04/14 16:02, Douglas J Hunley wrote: On Wed, Apr 2, 2014 at 2:29 PM, Alan McKinnon wrote: man 5 make.conf What isn't listed in the man page is if you should simply unset it: PORTAGE_COMPRESS="" or set it to something like /bin/true Any thoughts? How about setting PORTAGE_COMPRESS_EX

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread fruktopus
Am 02.04.2014 22:02, schrieb Douglas J Hunley: > > On Wed, Apr 2, 2014 at 2:29 PM, Alan McKinnon > wrote: > > man 5 make.conf > > > What isn't listed in the man page is if you should simply unset it: > PORTAGE_COMPRESS="" > or set it to something like /bin/true

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread Mike Gilbert
On Wed, Apr 2, 2014 at 4:02 PM, Douglas J Hunley wrote: > > On Wed, Apr 2, 2014 at 2:29 PM, Alan McKinnon > wrote: >> >> man 5 make.conf > > > What isn't listed in the man page is if you should simply unset it: > PORTAGE_COMPRESS="" > or set it to something like /bin/true > > Any thoughts? > >Fr

Re: [gentoo-user] systemd-networkd: simpler config for my network

2014-04-02 Thread Stefan G. Weichinger
Am 31.03.2014 14:39, schrieb Stefan G. Weichinger: > Am 31.03.2014 14:17, schrieb Nilesh Govindrajan: >> On 31-Mar-2014 5:45 pm, "Stefan G. Weichinger" wrote: >>> >>> >>> Aside from all the discussions around systemd, I simply gave the new >>> systemd-networkd a try. >>> >>> It helped me to simpli

Re: [gentoo-user] PORTAGE_COMPRESS

2014-04-02 Thread Neil Bothwick
On Wed, 2 Apr 2014 22:10:41 +0200, null_ptr wrote: > >What isn't listed in the man page is if you should simply unset it: > >PORTAGE_COMPRESS="" > >or set it to something like /bin/true > > How about setting PORTAGE_COMPRESS_EXCLUDE_SUFFIXES=".*" ? That would still compress files without an exte

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread 林守磊
Thank you all my retext version and package use [I] app-editors/retext Available versions: (~)4.0.1 (~)4.0.1-r1 4.0.1-r2 (~)4.1.0 (~)4.1.1 ** {+spell LINGUAS="ca cs cy da de es et eu fr it ja pl pt pt_BR ru sk uk zh_CN zh_TW" PYTHON_TARGETS="python2_7 python3_2 python3_3"} Installe

[gentoo-user] my gnome-shell break

2014-04-02 Thread 林守磊
Hi all I use gnome-shell-3.10.4-r1 some problem happen when I upgrade from 3.8, such as wall-picture disappeared, word of clock break attached my screenshotsPortage 2.2.10 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.19, 3.13.5-gentoo-shelley x86_64) ==

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread 林守磊
@all I found that is a bug from package pygments-1.6_p20140324, and I downgrade to 1.6-r1. problem solved ! @Tom that mean pygments-1.6_p20140324 do not support python3_2, thank you a lot thank you all regards 2014-04-03 9:02 GMT+08:00 林守磊 : > Thank you all > > my retext version and package u

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread Wang Xuerui
2014-04-03 13:15 GMT+08:00 林守磊 : > @all > > I found that is a bug from package pygments-1.6_p20140324, and I downgrade > to 1.6-r1. problem solved ! Oh, I overlooked the name of the offending file. Yes it's pygments that's at fault, not retext :)