Re: unused substitution,variable ${python:Versions}
OoO Lors de la soirée naissante du mercredi 14 juillet 2010, vers 17:17, Bernd Zeimetz be...@bzed.de disait : I'm working on package that uses CDBS That's not a very good choice. Why? Because cdbs is an unmaintainable beast of Makefiles. I'm not sure who is willing to keep the Python parts in there working. Since we have dh, which is a sane piece of code with a sane upstream, most new packages use dh. And I know several people who are willing to update dh to work with new Python versions/packaging changes if necessary. cdbs is a simple piece of software to maintain a Python package. Until recently, it was the only option to get a debian/rules as short as this: #!/usr/bin/make -f DEB_PYTHON_SYSTEM = pysupport include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk I still prefer cdbs to dh because it is easier to configure by just setting variables. I know that there is some drawback (see for example #386970 that is still not solved) but for simple packages, it just does its job. I think that since it is major piece of Debian (still an official way to build a package), we should ensure that it will work with the new policy. I will try to take care of this (and I will look at other python related bugs currently in BTS). -- I AM NOT A DENTIST I AM NOT A DENTIST I AM NOT A DENTIST -+- Bart Simpson on chalkboard in episode 7F24 pgpFLPsNOIw6s.pgp Description: PGP signature
Re: unused substitution,variable ${python:Versions}
On Wed, 14 Jul 2010, Matteo Vescovi wrote: Could you please point me to an existing python package that uses dh that I can use as an example starting point? An example package that handles a pure python modules and an extension module would be great. For properly bundled pure Python one you merely need /usr/share/doc/debhelper/examples/rules.tiny as your debian/rules ;) cdbs would work as fine for you there too (it used to be my favorite ;)) But if you want a good example for a Python module primarily based on an extension (i.e. there is not much of Python arch-indep code), Christian Kastner pointed me today to Jakub's good work on python-djvu -- there you get an example which provides proper python-*-dbg package, does unittesting for all versions (including -dbg) during build and builds the documentation, with not too much of debian/rules since it relies on dh's builtin functionality primarily. If you do have a mix of relatively large amount of Python code and arch extensions, you might like to look into packages which provide arch-indep python-bla, and then python-bla-lib{,-dbg} for extensions. E.g. you could look into mine python-nipy although it isn't using the latest -dbg logic of dh (TODO for me ;)), so not yet the nicest example. Cheers, -- .-. =-- /v\ = Keep in touch// \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User^^-^^[17] signature.asc Description: Digital signature
Re: unused substitution,variable ${python:Versions}
On 07/13/2010 08:36 AM, Vincent Bernat wrote: OoO La nuit ayant déjà recouvert d'encre ce jour du dimanche 11 juillet 2010, vers 23:05, Jakub Wilk jw...@debian.org disait : I'm working on package that uses CDBS That's not a very good choice. Why? Because cdbs is an unmaintainable beast of Makefiles. I'm not sure who is willing to keep the Python parts in there working. Since we have dh, which is a sane piece of code with a sane upstream, most new packages use dh. And I know several people who are willing to update dh to work with new Python versions/packaging changes if necessary. -- Bernd ZeimetzDebian GNU/Linux Developer http://bzed.dehttp://www.debian.org GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79 ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c3dd511.7030...@bzed.de
Re: unused substitution,variable ${python:Versions}
Le mercredi 14 juillet 2010 à 17:17 +0200, Bernd Zeimetz a écrit : On 07/13/2010 08:36 AM, Vincent Bernat wrote: OoO La nuit ayant déjà recouvert d'encre ce jour du dimanche 11 juillet 2010, vers 23:05, Jakub Wilk jw...@debian.org disait : I'm working on package that uses CDBS That's not a very good choice. Why? Because cdbs is an unmaintainable beast of Makefiles. I don’t like makefile hackery either, but cdbs has done a pretty decent job over the years, and is still maintained. For example, support for autotools Python packages has been recently added - and this is something that dh can’t do. I think there are more urgent matters to settle than picking over a developer’s build system choice. -- .''`. Josselin Mouette : :' : `. `' “If you behave this way because you are blackmailed by someone, `-[…] I will see what I can do for you.” -- Jörg Schilling signature.asc Description: This is a digitally signed message part
Re: unused substitution,variable ${python:Versions}
On Wed, Jul 14, 2010 at 05:17:37PM +0200, Bernd Zeimetz wrote: On 07/13/2010 08:36 AM, Vincent Bernat wrote: OoO La nuit ayant déjà recouvert d'encre ce jour du dimanche 11 juillet 2010, vers 23:05, Jakub Wilk jw...@debian.org disait : I'm working on package that uses CDBS That's not a very good choice. Why? Because cdbs is an unmaintainable beast of Makefiles. I'm not sure who is willing to keep the Python parts in there working. Since we have dh, which is a sane piece of code with a sane upstream, most new packages use dh. And I know several people who are willing to update dh to work with new Python versions/packaging changes if necessary. Could you please point me to an existing python package that uses dh that I can use as an example starting point? An example package that handles a pure python modules and an extension module would be great. Cheers, - Matteo -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100714185458.ga8...@burrow
Re: unused substitution,variable ${python:Versions}
OoO La nuit ayant déjà recouvert d'encre ce jour du dimanche 11 juillet 2010, vers 23:05, Jakub Wilk jw...@debian.org disait : I'm working on package that uses CDBS That's not a very good choice. Why? -- printk(VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...\n); 2.3.99-pre8 /usr/src/linux/fs/super.c pgpY5cAh5SLCl.pgp Description: PGP signature
Re: unused substitution,variable ${python:Versions}
* Matteo Vescovi matteo.vesc...@yahoo.co.uk, 2010-07-11, 11:52: I'm working on package that uses CDBS That's not a very good choice. and python-support to build a python extension module. The package builds fine and works correctly. However, the build reports the following warning: dpkg-gencontrol: warning: package python-presage: unused substitution variable ${python:Versions} It's safe to ignore this warning. -- Jakub Wilk signature.asc Description: Digital signature