Re: Bug#589759: debhelper: dh_auto_install + python-all-dbg changes shebang of scripts

2010-07-20 Thread Joey Hess
When building a package with python-all-dbg, dh_auto_build does this: dh_auto_build python2.5-dbg setup.py build python-dbg setup.py build python2.5 setup.py build python setup.py build This results in build/scripts-2.6/* having python-dbg in the shebang line. B

Re: Bug#548392: debhelper: python_distutils buildsystem and, setuptools entry_points don't use default python

2009-09-26 Thread Joey Hess
Joey Hess wrote: > Andrew Straw wrote: > > To be sure I understand, you're saying this is a bug with setuptools, > > because it autogenerates the /usr/bin/my_script improperly at install > > time when called by "python2.4 setup.py install"? > > No, the pr

Re: Bug#548392: debhelper: python_distutils buildsystem and, setuptools entry_points don't use default python

2009-09-26 Thread Joey Hess
Andrew Straw wrote: > To be sure I understand, you're saying this is a bug with setuptools, > because it autogenerates the /usr/bin/my_script improperly at install > time when called by "python2.4 setup.py install"? No, the problem is, loosely speaking, that python is on crack. The order in which

Re: [pkg-fso-maint] Bug#547510: zhone refuse to start

2009-09-23 Thread Joey Hess
Bernd Zeimetz wrote: > Normally the scripts are not copied a second time, if they exist at the > destination (have a look at winpdb, for example - if you want to build it in a > chroot, don't forget to s/python/python-all/ in the build-deps. So usually - > and > in my experience - dh does the righ

Re: [pkg-fso-maint] Bug#547510: zhone refuse to start

2009-09-23 Thread Joey Hess
Joachim Breitner wrote: > hi, > > Am Mittwoch, den 23.09.2009, 21:27 +0200 schrieb Jakub Wilk: > > >We discussed possible breakage in #520834 but missed the case that python > > >script shebang lines would be modified like this. This seems to be done > > >by python2.4 setup.py, but not by python2.

Re: [pkg-fso-maint] Bug#547510: zhone refuse to start

2009-09-23 Thread Joey Hess
Joachim Breitner wrote: > it seems that this is actually a bug in dh: It seems to call setup.py > twice, once for each version of python, including adjusting the shebang > line. Then, as the the python version tried last ist 2.4, this modified > script is shipped with the package. > > I’m not sure

Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-04-10 Thread Joey Hess
Julian Andres Klode wrote: > pyversions -r lists all supported versions if the field in debian/control > and debian/pyversions are both missing. If debian/pyversions is empty it > would fail, but debian/pyversions should never be empty. > > At least this is what I saw in my local testing. You're

Re: dh_pycentral and dh_pysupport clash

2008-07-05 Thread Joey Hess
Package: python-central Ben Finney wrote: > Ideally, I'd only need those rules to say: > > = > .PHONY: install > install: build > dh --with python_central install > > .PHONY: binary-indep > binary-indep: build install > dh --with python_central binary-indep > = > > This

Re: RFS: quodlibet (1.0.ds1-1)

2008-06-03 Thread Joey Hess
Tristan Seligmann wrote: > Well, fair enough; I suppose the README.Debian note should not be quite > as explicit as I made it. I'm just not very happy with the gratuitous > (in my view) change to the upstream tarball, so I wanted to be as clear > about it as I could for anyone else wondering why it

Re: RFS: quodlibet (1.0.ds1-1)

2008-06-03 Thread Joey Hess
Tristan Seligmann wrote: >* Ship modified upstream tarball, removing insulting source code, and put a > note in README.Debian to explain why we're doing this (closes: #477454). For the record, your README.Debian consists of: The upstream tarball for quodlibet in Debian does not match

Re: FHS location for Python libraries as locally-compiled bytecode (was: debhelper 7 and python-central)

2008-05-21 Thread Joey Hess
Josselin Mouette wrote: > At least python-support is not the only package to do that. On my > system, the following directories are generated upon package > installation and will not change in other situations: FWIW, you forgot /var/lib/dpkg/info (And yes, I've argued before that this d

Re: debhelper 7 and python-central

2008-05-17 Thread Joey Hess
Ben Finney wrote: > Does anyone know debhelper better than me, and can suggest ways to > improve that package's current 'debian/rules' file to make better use > of debhelper 7 with 'python-central'? python-central could include a dh sequence file, then you could use something like: dh bin

Re: dpkg-gencontrol: warning: unknown substitution variable ${python:Depends}

2007-03-19 Thread Joey Hess
Ben Finney wrote: > This is referring to the debian/control Depends field: > > Depends: ${python:Depends} > > Earlier, I had > > Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} By removing misc:Depends, you are simply potentially shooting yourself in the foot. Debhelper c

Re: Future of dh_python

2006-08-16 Thread Joey Hess
Raphael Hertzog wrote: > As I can understand him, we really should respect his wish. If Matthias > agrees, > I can extract the "dependency" generation code from dh_python and create > a little perl library that would be included in the python package > (or python-dev) and that would be used by dh_

Re: dpkg-repack warnings: what effect?

2006-07-24 Thread Joey Hess
(Thanks for the CC.) Matthias Klose wrote: > I haven't yet seen any reasoning why people are seeing that > information as "cluttering the database" or just as "ugly". Causing unrelated programs like dpkg-repack to spew warning messages is, by definition, ugly. Using X- fields, which are intended

Re: dpkg-repack warnings: what effect?

2006-07-24 Thread Joey Hess
Hugo Vanwoerkom wrote: > dpkg-repack (from sid dpkg 1.13.22) gives warnings when repacking python > packages: > > ... > warning, `./dpkg-repack-5343/DEBIAN/control' contains user-defined field > `Python-Version' > ... > > What effect does this have? Can the .deb be used or not? It's harmless,

Re: Bug#370833: New dh_python proposal

2006-06-13 Thread Joey Hess
I don't particularly mind that you've chosen to NMU debhelper. However, I can't guarantee that I will preserve the interfaces that you've added to dh_python in a backwards compatible way when I get around to looking at it. (FWIW, I began ignoring this issue when the politics and constant advocacy

Re: Bug#370833: New dh_python proposal

2006-06-09 Thread Joey Hess
Raphael Hertzog wrote: > Because Matthias and Josselin do not (or can't or don't want to) work > together. I tried my best to fill the gap. :-/ I appreciate your work, but I am not comfortable supporting two competing implementations in debhelper. Sorry. -- see shy jo signature.asc Descriptio

Re: when and why did python(-minimal) become essential?

2006-01-20 Thread Joey Hess
Kevin Mark wrote: > Giving away code (GPL or otherwise) to the world is done for many > reasons. Aparently some folks are more concerned about how their work > is used. As with the attribution in .debs, folks want the users to not > associate possible (as judged by them) 'bad'/'unofficial'/'off >

Re: when and why did python(-minimal) become essential?

2006-01-20 Thread Joey Hess
Matt Zimmerman wrote: > On Thu, Jan 19, 2006 at 03:34:58PM -0500, Joey Hess wrote: > > If we followed the same method for python-base, then we would > > > > a) instroduce python-base iff we had some package(s) written in python > >that we wanted in the base syste

Re: when and why did python(-minimal) become essential?

2006-01-19 Thread Joey Hess
Colin Watson wrote: > FWIW the relevant design docs from when this was done in Ubuntu are > here: > > https://wiki.ubuntu.com/EssentialPython (requirements) > https://wiki.ubuntu.com/PythonInEssential (details) > > The rationale for the set of included modules is in the latter, and was > basi

Re: python packaging infrastructure

2006-01-13 Thread Joey Hess
Matthias Klose wrote: > Josselin Mouette writes: > > Furthermore, if you want to see this implemented, you'll have to find > > someone else to write the necessary changes to dh_python. I will not > > write nor maintain any code that parses the control file in dh_python. > > This script is already o

Re: Duplicate debconf templates in zope-* packages

2003-11-14 Thread Joey Hess
Luca - De Whiskey's - De Vitis wrote: > On Fri, Nov 14, 2003 at 01:28:21PM +0100, Andreas Tille wrote: > [...] > > Hmmm, are you sure that this paragraph in the manual makes sense > > I guess if a zope package depends from zope all relevant debconf information > > is available and copying the s

Re: [Pkg-zope-developers] Re: Duplicate debconf templates in zope-* packages

2003-11-14 Thread Joey Hess
Andreas Tille wrote: > On Thu, 13 Nov 2003, Denis Barbier wrote: > > > This was your original point, then Andreas Tille and Federico Di > > Gregorio replied that this explanation does not apply here because all > > packages depend on Zope, you agreed and proposed to drop templates, > > and everyon

Re: python 2.2 -> python 2.3 transition

2003-08-08 Thread Joey Hess
Josip Rodin wrote: > Am I the only one who has a disgusting reminiscence of netscape*.* packages > every time python* is mentioned? :P Actually I'm more reminded of the perl* packages and the complete mess that followed. And I keep expecting to see the same set of problems affect python. -- see

python task package needs TLC

2003-07-25 Thread Joey Hess
The current set of packages installed by the python task: python python-doc ddd python-htmlgen idle python-dev python-examples python-extclass python-gdbm python-gdk-imlib python-gendoc python-glade python-gnome python-gtk python-ldap python-mpz python-xml If someone who knows py

Re: Bug#178373: debconf: severity critical

2003-01-31 Thread Joey Hess
Bernhard Kuemel wrote: > Thank you very much. I had python 2.1 installed and with 2.2 the > problem disappeared. Seems python2.2 should be a dependency for > debconf and mailman. Why? They only run python2.2 if it can be found in the path. I dont really understand how you could possibly have seen

Re: Bug#178373: debconf: severity critical

2003-01-31 Thread Joey Hess
Josselin Mouette wrote: > Your python installation is screwed. The compileall.py module in Debian > does support -q in all versions. It's not possible to be mistaken about > that, as the error message included in Debian's compileall.py is not > exactly this one. Ok so it is a local install of an o

Re: Bug#178373: debconf: severity critical

2003-01-30 Thread Joey Hess
Bernhard Kuemel wrote: > apt-get dist-upgrade now won't install even a single package. At first I > chose severity normal because mailman depends on debconf, but now > totally unrelated packages don't get installed. Unfortunately it seems > reportbug won't set the severity of this bug to critical b

packages tasksel expects to find in woody, that arn't there

2002-02-25 Thread Joey Hess
Tasksel expects to find a bunch of packages in woody that arn't there. This is not often a big deal; the missing packages will be silently skipped. That can sorta suck if it is one of the core packages in the task though. Of particular note is the missing KDE metapackage, which means that new wood

Re: Status of the python-dev task

2001-07-20 Thread Joey Hess
David Coe wrote: > There are/were a minor bugs against the task-python-* packages in > unstable, all due to broken dependencies; those are easy to fix, but > are one of the things that drove us away from the old task-* packages, > as I understand it. Yep. It's not the end of the world in the new s

Re: Status of the python-dev task

2001-07-19 Thread Joey Hess
Jérôme Marant wrote: > According to Joey Hess, it seems that the python-dev needs > someone to maintain it. Well, the best maintainer would probably (presumably) be the maintainer[1] of task-pthon-dev. I'm going to go through and contact the maintainers of the task packages indi

Re: Proposal: Reorganizing Python for Python2 (and fixes for the previous proposal)

2001-01-14 Thread Joey Hess
Moshe Zadka wrote: > s/posible/certain/ > Python 2.1 already contains many features future programs will be > able to use. (It's not out now, but alpha is supposed to be released > in a few days) > OTOH, all Python programs in Debian *should* work with 2.0. If they > do not, then they have a bug

Re: Proposal: Reorganizing Python for Python2 (and fixes for the previous proposal)

2001-01-14 Thread Joey Hess
Disclaimer: I don't know much about python. I just want to make sure that you're not making the same mistakes that were made when perl was modified so multiple versions could be installed at one time. > . Python 1.5 was installed and we decide to install 2.0 > python 1.5 specific package

Re: Bug#41113: Proposal: Naming Conventions for modules

1999-08-01 Thread Joey Hess
Stefan Gybas wrote: > I would also prefer such a scheme. What about colons in package names? > I know that they are currently not allowed but is there a technical > reason not to allow them? According to footnote 14 in the packaging > manual, colons used to be legal. Was this changed when epochs we

Re: Bug#41113: Proposal: Naming Conventions for modules

1999-07-16 Thread Joey Hess
Gregor Hoffleit wrote: > FYI: Alexander Reelsen filed bug#41113 against debian-policy, which > is of interest for debian-java, debian-python as well as debian-perl: > > Currently, the Python maintainers have an implicit policy to use a > naming scheme of python-foo-bar for all Python extension mod