Re: dh-python in unstable

2013-09-09 Thread Dmitrijs Ledkovs
On 2 August 2013 14:15, Piotr Ożarowski wrote: > dh-python is already in unstable \o/ > > To build/install python3-foo or pypy-foo binary packages, > you can use this in debian/rules: > > %: > dh $@ --with python2,python3,pypy --buildsystem=pybuild > > or if you don't want

Re: dh-python in unstable

2013-08-30 Thread Mathias Behrle
* Piotr Ożarowski: " Re: dh-python in unstable" (Fri, 30 Aug 2013 08:54:33 +0200): > [Barry Warsaw, 2013-08-28] >> >good idea, I'll add --name and PYBUILD_NAME >> >> I'm wondering if this is (supposed to be) working yet (in >> dh-python 1

Re: dh-python in unstable

2013-08-29 Thread Piotr Ożarowski
[Dmitrijs Ledkovs, 2013-08-28] > > export PYBUILD_DESTDIR_python3=debian/python3-nose2 > > what caught me off-guard that above paths are relative dh_auto_* > "--sourcedirectory" and are not relative top-level package src dir, > aka $(CURDIR). > I happen to have a "normal" package which has a d

Re: dh-python in unstable

2013-08-29 Thread Piotr Ożarowski
[Barry Warsaw, 2013-08-28] > >good idea, I'll add --name and PYBUILD_NAME > > I'm wondering if this is (supposed to be) working yet (in > dh-python 1.20130819-1)? It's planned for 1.20130830 (or 1.20130901) release :-) > All in all though, pybuild is really fantastic. It will greatly simplify >

Re: dh-python in unstable

2013-08-28 Thread Dmitrijs Ledkovs
On 28 August 2013 21:15, Barry Warsaw wrote: > On Aug 02, 2013, at 05:42 PM, Piotr Ożarowski wrote: > >>[Barry Warsaw, 2013-08-02] >>> On Aug 02, 2013, at 03:15 PM, Piotr Ożarowski wrote: >>> >export PYBUILD_DESTDIR_python2=debian/python-foo/ >>> >export PYBUILD_DESTDIR_python2-dbg=debian/

Re: dh-python in unstable

2013-08-28 Thread Barry Warsaw
On Aug 02, 2013, at 05:42 PM, Piotr Ożarowski wrote: >[Barry Warsaw, 2013-08-02] >> On Aug 02, 2013, at 03:15 PM, Piotr Ożarowski wrote: >> >export PYBUILD_DESTDIR_python2=debian/python-foo/ >> >export PYBUILD_DESTDIR_python2-dbg=debian/python-foo-dbg/ >> >export PYBUILD_DESTDIR_python

Re: dh-python in unstable

2013-08-15 Thread Piotr Ożarowski
[Vincent Bernat, 2013-08-15] > And it works with cdbs 0.4.90 released almost 3 years ago. :) adding Python 3.X support in CDBS didn't require writing anything in Perl (even if it's "just" ~200 lines) ;-P -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl

Re: dh-python in unstable

2013-08-15 Thread Vincent Bernat
❦ 2 août 2013 15:15 CEST, Piotr Ożarowski  : > dh-python is already in unstable \o/ While upgrading some of my packages, I have switched to pybuild and this works well. In the SVN, there is "cerealizer" and "pycha". However, about python2/python3 packages, I did also notice that I did add Pyth

Re: dh-python in unstable

2013-08-05 Thread Scott Kitterman
Stefano Rivera wrote: >Hi Dmitrijs (2013.08.05_00:05:50_+0200) >> pypy published a release with python3 support > >I'm not entirely sure how to handle pypy3 yet... >pypy3 will be able to share /usr/lib/python3/dist-packages, which >probably means single binary packages for both cpython3 and

Re: dh-python in unstable

2013-08-05 Thread Stefano Rivera
Hi Dmitrijs (2013.08.05_00:05:50_+0200) > pypy published a release with python3 support I'm not entirely sure how to handle pypy3 yet... pypy3 will be able to share /usr/lib/python3/dist-packages, which probably means single binary packages for both cpython3 and pypy3. But then we lose the abi

Re: dh-python in unstable

2013-08-04 Thread Dmitrijs Ledkovs
On 2 August 2013 14:15, Piotr Ożarowski wrote: > dh-python is already in unstable \o/ > > To build/install python3-foo or pypy-foo binary packages, > you can use this in debian/rules: > > %: > dh $@ --with python2,python3,pypy --buildsystem=pybuild > Shouldn't it be soon..

Re: dh-python in unstable

2013-08-04 Thread Vincent Bernat
❦ 2 août 2013 16:36 CEST, Piotr Ożarowski  : >> Worse, it doesn't even try to parse Build-Depends. The relevant logic >> appears to be: >> >> if [ -f /usr/share/dh-python/dh_python2 ] &&\ >> grep -q dh-python ./debian/control 2>/dev/null >> then >> exec /usr/share/dh-python/dh_python2 $@

Re: dh-python in unstable

2013-08-02 Thread Piotr Ożarowski
[Yaroslav Halchenko, 2013-08-02] > Do you think it would be feasible to have a backport of dh-python e.g. for > wheezy with corresponding diverts avoiding conflicts here or indeed python3 > (>= > 3.2.3-3~) is required for some functionality (haven't looked inside)? "3.2.3-3~" is generated by dh_p

Re: dh-python in unstable

2013-08-02 Thread Yaroslav Halchenko
This left me puzzling for a bit: $> sudo apt-get install dh-python ... The following packages have unmet dependencies: dh-python : Depends: python3 (>= 3.2.3-3~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. $> apt-cache policy python3 python3

Re: dh-python in unstable

2013-08-02 Thread Piotr Ożarowski
[Barry Warsaw, 2013-08-02] > On Aug 02, 2013, at 03:15 PM, Piotr Ożarowski wrote: > > export PYBUILD_DESTDIR_python2=debian/python-foo/ > > export PYBUILD_DESTDIR_python2-dbg=debian/python-foo-dbg/ > > export PYBUILD_DESTDIR_python3=debian/python3-foo/ > > export PYBUILD_DESTDIR_pyt

Re: dh-python in unstable

2013-08-02 Thread Barry Warsaw
On Aug 02, 2013, at 03:15 PM, Piotr Ożarowski wrote: >dh-python is already in unstable \o/ Yay! And thanks! >To build/install python3-foo or pypy-foo binary packages, >you can use this in debian/rules: > > %: > dh $@ --with python2,python3,pypy --buildsystem=pybuild > >or if

Re: dh-python in unstable

2013-08-02 Thread Piotr Ożarowski
[Dmitry Shachnev, 2013-08-02] > On Fri, Aug 2, 2013 at 6:36 PM, Piotr Ożarowski wrote: > > eh, I forgot to replace the one from experimental with a regexp, > > anyway, if you have a better idea, I'm all ears > > (and installing python3 package with `apt-get install python` > > was already proposed

Re: dh-python in unstable

2013-08-02 Thread Dmitry Shachnev
On Fri, Aug 2, 2013 at 6:36 PM, Piotr Ożarowski wrote: > eh, I forgot to replace the one from experimental with a regexp, > anyway, if you have a better idea, I'm all ears > (and installing python3 package with `apt-get install python` > was already proposed :P) Why not just drop python-defaults'

Re: dh-python in unstable

2013-08-02 Thread Piotr Ożarowski
[Jakub Wilk, 2013-08-02] > * Julien Cristau , 2013-08-02, 15:56: > >So it will rename stuff or not based on the Build-Depends field? > >That seems... wrong. > > Worse, it doesn't even try to parse Build-Depends. The relevant logic > appears to be: > > if [ -f /usr/share/dh-python/dh_python2 ] &&\

Re: dh-python in unstable

2013-08-02 Thread Julien Cristau
On Fri, Aug 2, 2013 at 16:24:00 +0200, Jakub Wilk wrote: > * Julien Cristau , 2013-08-02, 15:56: > >So it will rename stuff or not based on the Build-Depends field? > >That seems... wrong. > > Worse, it doesn't even try to parse Build-Depends. The relevant > logic appears to be: > > if [ -f /us

Re: dh-python in unstable

2013-08-02 Thread Jakub Wilk
* Julien Cristau , 2013-08-02, 15:56: So it will rename stuff or not based on the Build-Depends field? That seems... wrong. Worse, it doesn't even try to parse Build-Depends. The relevant logic appears to be: if [ -f /usr/share/dh-python/dh_python2 ] &&\ grep -q dh-python ./debian/contr

Re: dh-python in unstable

2013-08-02 Thread Piotr Ożarowski
[Julien Cristau, 2013-08-02] > So it will rename stuff or not based on the Build-Depends field? That > seems... wrong. it will use dh-python's dh_python2 which includes this feature -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc

Re: dh-python in unstable

2013-08-02 Thread Julien Cristau
On Fri, Aug 2, 2013 at 15:39:57 +0200, Piotr Ożarowski wrote: > [Julien Cristau, 2013-08-02] > > On Fri, Aug 2, 2013 at 15:15:36 +0200, Piotr Ożarowski wrote: > > > > > Note that adding dh-python to Build-Depends enables multiarch support in > > > dh_python2 > > > > What does that mean? > >

Re: dh-python in unstable

2013-08-02 Thread Piotr Ożarowski
[Julien Cristau, 2013-08-02] > On Fri, Aug 2, 2013 at 15:15:36 +0200, Piotr Ożarowski wrote: > > > Note that adding dh-python to Build-Depends enables multiarch support in > > dh_python2 > > What does that mean? that means dh_python2 will rename /usr/lib/python2.7/dist-packages/foo/bar.so

Re: dh-python in unstable

2013-08-02 Thread Andrey Rahmatullin
On Fri, Aug 02, 2013 at 03:15:36PM +0200, Piotr Ożarowski wrote: > Note that adding dh-python to Build-Depends enables multiarch support in > dh_python2 What does this change exactly? -- WBR, wRAR -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe

Re: dh-python in unstable

2013-08-02 Thread Julien Cristau
On Fri, Aug 2, 2013 at 15:15:36 +0200, Piotr Ożarowski wrote: > Note that adding dh-python to Build-Depends enables multiarch support in > dh_python2 What does that mean? Cheers, Julien -- Julien Cristau Logilab http://www.logilab.fr/ Informatique scientifique & gest

dh-python in unstable

2013-08-02 Thread Piotr Ożarowski
dh-python is already in unstable \o/ To build/install python3-foo or pypy-foo binary packages, you can use this in debian/rules: %: dh $@ --with python2,python3,pypy --buildsystem=pybuild or if you don't want to play with .install files: export PYBUILD_DESTDIR_py