Le mercredi 15 avril 2009 à 08:01 +1000, Ben Finney a écrit :
If there is no upstream build system, you need to replace it, and
the .install file looks like the simplest way to do it. I don’t
understand why you’d want to drop it.
Because it's double-handling: in the ‘debian/rules’ file I
Josselin Mouette j...@debian.org writes:
Le mercredi 15 avril 2009 à 08:01 +1000, Ben Finney a écrit :
Because it's double-handling: in the ‘debian/rules’ file I specify
copying the modules once, and then in ‘debian/foo.install’ I specify
copying them again. I want to copy them to one
[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 indication
+ 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.
Piotr Ożarowski pi...@debian.org writes:
[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/.’.
Adeodato Simó d...@net.com.org.es writes:
+ 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
[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 use:
Ben Finney ben+deb...@benfinney.id.au writes:
Adeodato Simó d...@net.com.org.es writes:
In that case, just use debian/pkgname/usr/lib... instead, and skip
the dh_install step.
That does work, thank you.
I spoke too soon; ‘dh_pysupport’ fails to find the module.
The install process now
+ 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 library
[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.
otherwise I
Adeodato Simó d...@net.com.org.es writes:
dh_install would have been the tool of choice for this task, except
that your destination directory is not a static string: it depends on
the output of some command. Because of this, it can’t be sensibly used
for this. (If pysupport looked in some
[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
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 from being
idempotent. I guess I could just
Piotr Ożarowski pi...@debian.org writes:
[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:
=
[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 from
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 afraid this would lose some information on the
[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 afraid this
17 matches
Mail list logo