Installing python modules in a non-standard way

2015-10-25 Thread Onur Aslan
Hi. I asked this in IRC channel but didn't get a clear answer. I have a library package written in C and it's also providing python wrappers. You can see the package in here: https://anonscm.debian.org/cgit/collab-maint/gumbo-parser.git/ I can't use --buildsystem=pybuild to install python

Re: Installing python modules in a non-standard way

2015-10-25 Thread Andrey Rahmatullin
On Sun, Oct 25, 2015 at 10:37:13AM +0200, Onur Aslan wrote: > I can't use --buildsystem=pybuild to install python wrappers, > this package is not providing a configure script or Makefile. pybuild > is not invoking autoreconf to generate a configure script. I have > to build C library manually if I

Re: Installing python modules in a non-standard way

2015-10-25 Thread Ben Finney
Onur Aslan writes: > I can't use --buildsystem=pybuild to install python wrappers, this > package is not providing a configure script or Makefile. pybuild is > not invoking autoreconf to generate a configure script. Can you add a target to ‘debian/rules’ that will invoke

Re: git-dpm: ERROR: 'upstream' does not contain previously recorded revision

2015-10-25 Thread Brian May
Ludovic Rousseau writes: >> git push --all >> > > Ah. > Maybe this should be added in the documentation > https://wiki.debian.org/Python/GitPackaging Yes. I notice that the git-dpm man page is also fails to mention this. At least in the version on Jessie. I imagine

Re: Does “${python3:Depends}” reliably generate correct dependencies?

2015-10-25 Thread Scott Kitterman
On October 25, 2015 1:17:17 AM EDT, Ben Finney wrote: >Howdy all, > >If we set “Depends: ${python3:Depends}” in the binary package, and use >‘dh_python3’, is that all that is needed to ensure the correct >dependencies on Python 3 versions? > >Recently I received

Re: Does “${python3:Depends}” reliably generate correct dependencies?

2015-10-25 Thread Dmitry Shachnev
On Sun, 25 Oct 2015 05:05:08 -0400, Scott Kitterman wrote: > Usually you only get the dependency on the specific python3 interpreters if > there's a script with a shebang using that version. I'd check for that. > > It could either be in the original source or due to dh_python3 doing something >

Re: Does “${python3:Depends}” reliably generate correct dependencies?

2015-10-25 Thread Piotr Ożarowski
[Scott Kitterman, 2015-10-25] > Usually you only get the dependency on the specific python3 > interpreters if there's a script with a shebang using that version. > I'd check for that. right > It could either be in the original source or due to dh_python3 doing > something interesting in shebang

Re: Installing python modules in a non-standard way

2015-10-25 Thread Andrey Rahmatullin
On Sun, Oct 25, 2015 at 12:39:44PM +0200, Onur Aslan wrote: > > Nothing is invoking autoreconf unless you use --with autoreconf. Are you > > saying that with pybuild this option has no effect? > > I am already using --with autoreconf but when I use: > > dh $@ --with

Re: Installing python modules in a non-standard way

2015-10-25 Thread Onur Aslan
On 2015-10-05, Andrey Rahmatullin wrote: > Nothing is invoking autoreconf unless you use --with autoreconf. Are you > saying that with pybuild this option has no effect? I am already using --with autoreconf but when I use: dh $@ --with autoreconf,python2,python3 --buildsystem=pybuild It's

Re: Does “${python3:Depends}” reliably generate correct dependencies?

2015-10-25 Thread Piotr Ożarowski
[Ben Finney, 2015-10-25] > Howdy all, > > If we set “Depends: ${python3:Depends}” in the binary package, and use > ‘dh_python3’, is that all that is needed to ensure the correct > dependencies on Python 3 versions? you also have to add correct Build-Dependencies (if not for something else, then

Re: Request to Join DPMT

2015-10-25 Thread Afif Elghraoui
Because I got no response to my request from ten days ago (below), I am maintaining python-avro within Debian Med. I was sponsored there and it has already been accepted by the ftp-masters. Afif -- Afif Elghraoui | عفيف الغراوي http://afif.ghraoui.name On الخميس 15 تشرين الأول 2015 00:20, Afif

Re: Installing python modules in a non-standard way

2015-10-25 Thread Dmitry Shachnev
On Sun, Oct 25, 2015 at 04:45:17PM +0500, Andrey Rahmatullin wrote: > Indeed. > In this case I'd use the usual autotools buildsystem and do everything > else manually, without using pybuild. But maybe there are better options. Or maybe try to use both build systems, something like this: