Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-13 Thread Cyril Brulebois
Ben Finney (14/04/2009): > As per bug#523965 http://bugs.debian.org/523965>, I'm attempting > to migrate the ‘docutils-manpage-writer’ package from using > ‘python-central’ to using ‘python-support’. *-writer-manpage, actually. > Currently (because there is no upstream build system specifically

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-13 Thread Cyril Brulebois
Cyril Brulebois (14/04/2009): > I'm attaching a source debdiff […] Oops, reading it upon receiving my answer makes me realise I didn't meant to delete get-orig-source from .PHONY, sorry for that. Mraw, KiBi. signature.asc Description: Digital signature

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-13 Thread Cyril Brulebois
Ben Finney (14/04/2009): > > Put them into /usr/lib/python*/site-packages, as documented in its > > manpage? > > What, though, is ‘python*’ here? Remember, this is specifically for a > module that (at present) has no build system upstream; the code is > “installed” by manually copying files. Giv

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Piotr Ożarowski
[Ben Finney, 2009-04-15] > The only way that I know of so far to get ‘dh_pysupport’ to find and > install the module correctly is: > > * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell > pyversions -d)/site-packages/docutils/writers/.’. If I omit this step, > there is no indicati

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Adeodato Simó
+ Ben Finney (Wed, 15 Apr 2009 20:19:55 +1000): > * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell > pyversions -d)/site-packages/docutils/writers/.’. If I omit this step, > there is no indication that the modules should be in the > ‘docutils/writers/’ system library directory

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Piotr Ożarowski
[Ben Finney, 2009-04-15] > > Just fill in .install file, and then call `dh_install; dh_pysupport` > > in debian/rules > > As I said in the original message, I'd love to just do that; but it > doesn't work, as explained in the material you quoted above. otherwise I don't know why you can't just us

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Adeodato Simó
+ Ben Finney (Wed, 15 Apr 2009 21:21:01 +1000): > > > * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell > > > pyversions -d)/site-packages/docutils/writers/.’. If I omit this step, > > > there is no indication that the modules should be in the > > > ‘docutils/writers/’ system l

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Piotr Ożarowski
[Piotr Ożarowski, 2009-04-15] > [Ben Finney, 2009-04-15] > > > Just fill in .install file, and then call `dh_install; dh_pysupport` > > > in debian/rules > > > > As I said in the original message, I'd love to just do that; but it > > doesn't work, as explained in the material you quoted above. >

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Piotr Ożarowski
[Ben Finney, 2009-04-15] > Josselin earlier suggested that ‘dh_pysupport’ will still look in > ‘usr/share/python-support/’ for modules. Should I expect it to work with > just ‘dh_install ; dh_pysupport’ if I use the following install file: > > = > writers/manpage.py usr/share/python-support/do

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Piotr Ożarowski
[Josselin Mouette, 2009-04-15] > Le mercredi 15 avril 2009 à 14:19 +0200, Piotr Ożarowski a écrit : > > oh, you can't - dh_pysupport doesn't pick up files from /usr/share/pyshared > > (Joss: could you add this path to movemodules?) > > It’s not that simple, since that would prevent dh_pysupport fr

Re: Migrating unmanaged Python l ibrary extension from ‘python-central’ to ‘python-support’

2009-04-15 Thread Piotr Ożarowski
[Josselin Mouette, 2009-04-15] > Le mercredi 15 avril 2009 à 15:17 +0200, Piotr Ożarowski a écrit : > > how about: > > * moving all files to usr/share/pyshared (just like you do now) > > * registering files basing on usr/share/pyshared content (ignore > > old .public/.private files) > > I’m afra