python-support (0.5.6) unstable; urgency=medium * pysupport-parseversions, dh_pysupport: remove the remaining calls to pyversions, thanks Pawel Tecza. * This allows to loosen dependencies on python to 2.3. * update-python-modules: only show a warning when byte-compilation fails, but don't stop the whole process, thanks Raphaël Hertzog (closes: #400001). * pysupport-parseversions: fix parsing of XS-Python-Version field. -- Josselin Mouette Thu, 23 Nov 2006 22:34:58 +0100 python-support (0.5.5) unstable; urgency=high * dh_pysupport, pysupport-movemodules, debian/rules, pysupport-parseversions, pysupport.py: do not rely on pyversions to obtain the list of installed python versions, because it is not a reliable way to do so, see #396840. * This brings back support for python2.3, and allows support for python2.5. -- Josselin Mouette Tue, 14 Nov 2006 21:25:16 +0100 python-support (0.5.4) unstable; urgency=high * dh_pysupport: patch from Raphaël Hertzog to correctly depend on python when there is no minimum nor maximum version (closes: #391689). -- Josselin Mouette Thu, 12 Oct 2006 19:38:41 +0200 python-support (0.5.3) unstable; urgency=low * dh_pysupport: always generate dependencies. * Conflict with debhelper (<< 5.0.38). -- Josselin Mouette Sun, 1 Oct 2006 19:58:09 +0200 python-support (0.5.2) unstable; urgency=low * update-python-modules: + Remove some useless code. + Small fix in short help. + Handle the case of broken symlinks needing to be overwritten. * dh_pysupport.1: reference README and policy, thanks Tomas Pospisek (closes: #388171). -- Josselin Mouette Fri, 22 Sep 2006 21:14:15 +0200 python-support (0.5.1) unstable; urgency=low * dh_pysupport: + Generate ${python:Provides} when no debian/pyversions file exists. + Barf when /usr/lib/python-support/$package is lacking an existing python version (closes: #387040). -- Josselin Mouette Mon, 11 Sep 2006 23:51:49 +0200 python-support (0.5) unstable; urgency=low * update-python-modules: be much stricter in what is accepted on the command line. Only .dirs files are accepted with the -i option, while directories in /usr/share/python-support are accepted with the -b option. It is now possible to pass both kinds of arguments on the command line. Closes: #386830. * update-python-modules: abandon compatibility with version 0.1 entirely. The warnings have been prominent enough. -- Josselin Mouette Sun, 10 Sep 2006 19:39:21 +0200 python-support (0.4.3) unstable; urgency=medium * update-python-modules: check for .path presence when checking for newly installed python versions, otherwise stuff might not be compiled for it (closes: #383799, medium-urgency fix). * update-python-modules: handle symbolic links to directories (closes: #378853). -- Josselin Mouette Thu, 31 Aug 2006 21:11:19 +0200 python-support (0.4.2) unstable; urgency=low * dh_pysupport: add a python dependency even when there is already a dependency on python-support (closes: #383958). * pysupport.py: strip all unnecessary whitespace (closes: #385105). * pysupport-movemodules: force the umask to avoid getting wrong permissions in the final package (closes: #382755). -- Josselin Mouette Thu, 31 Aug 2006 20:01:10 +0200 python-support (0.4.1) unstable; urgency=low * dh_pysupport: + Implement the -X option to exclude files from being searched to generate the dependencies. + Detect private extensions as .so files calling Py_InitModule*. In this case, a strict dependency on python (>= X.Y), python (<< X.Y+1) is generated. -- Josselin Mouette Thu, 10 Aug 2006 14:03:48 +0200 python-support (0.4.0) unstable; urgency=low * dh_pysupport: + Handle dependencies for packages that only ship modules for non-default python versions. + Always generate dependencies when debian/pycompat isn't found. + Add missing newline at the end of the .dirs files. + Avoid obtaining a double leading / in .dirs files. + Avoid duplicate entries in .dirs files. + Create .pyversion in private module directories when the -V option is used. Require python-support 0.4 in this case. + Handle python dependencies for private modules. + Handle script dependencies. + Improve comments in the code. + Remove .py[co] files in the private module directories. * update-python-modules: + Don't call compileall.py on non-existing directories (closes: #378773). + Bytecompilation of private modules for non-default python versions, using the .pyversion file. * README: + Document all these changes. + Document that using dh_python is not recommended. -- Josselin Mouette Wed, 9 Aug 2006 00:26:42 +0200 python-support (0.3.9) unstable; urgency=low * python-support.rtupdate: only run the script when called with the "rtupdate" argument. * pysupport-movemodules: keep foo.so.3 files in /usr/lib, but print a warning. * dh_pysupport: + Fix typo in documentation (closes: #375934). + Fix --noscripts usage (closes: #378421). * README: a few clarifications from Cédric Delfosse (closes: #378161). -- Josselin Mouette Wed, 2 Aug 2006 13:23:44 +0200 python-support (0.3.8) unstable; urgency=low * update-python-modules: fix upgrade path from pre-0.3.4 versions (closes: #375608). -- Josselin Mouette Tue, 27 Jun 2006 10:00:38 +0200 python-support (0.3.7) unstable; urgency=low * debian/prerm: in the case update-python-modules fails, cleanup by hand and exit gracefully. This should make upgrades from broken versions work. -- Josselin Mouette Sun, 25 Jun 2006 15:50:47 +0200 python-support (0.3.6) unstable; urgency=low * update-python-modules: Fix a case where the .path file wasn't cleaned up automatically upon package removal. -- Josselin Mouette Sun, 25 Jun 2006 15:17:56 +0200 python-support (0.3.5) unstable; urgency=low * update-python-modules: don't try to generate a .path file if the directory doesn't exist. Thanks Bastian Blank for noticing this. -- Josselin Mouette Sun, 25 Jun 2006 15:08:12 +0200 python-support (0.3.4) unstable; urgency=low * update-python-modules: handle .pth files correctly, by concatenating them into ".path". * rules: python-support.pth is now a symbolic link to this .path. * dh_pysupport: make packages depend on python-support 0.3.4 to avoid hitting the bug. -- Josselin Mouette Sat, 24 Jun 2006 18:23:21 +0200 python-support (0.3.3) unstable; urgency=low * pysupport-movemodules: fix directory creation in the case there is no .py at all in the package. -- Josselin Mouette Sat, 24 Jun 2006 11:54:24 +0200 python-support (0.3.2) unstable; urgency=low * dh_pysupport: fix typo affecting dependency generation. * README: recommend using pyversions -vr now it works. -- Josselin Mouette Fri, 23 Jun 2006 19:46:53 +0200 python-support (0.3.1) unstable; urgency=low * README: add correct documentation (closes: #370515). * pysupport-movemodules: remove .pyc and .pyo files if some are generated. -- Josselin Mouette Wed, 21 Jun 2006 10:41:19 +0200 python-support (0.3.0) unstable; urgency=low * Acknowledge NMU (closes: #372774). * Increase minimal dependency to 0.2 in the helper script. + Make it 0.3 in the case where /usr/lib/python-support exists. * rules: cdbs already provides DEB_VERSION, no need to re-compute it. * install: install dh_pysupport in /usr/bin. * Don't build-depend on perl. * Standards-version is 3.7.2. * Add more warnings and errors for package making wrong uses of python-support or using the python-support 0.1 compatibility mode. * Use "pyversions -s to get the list of python versions. + Depend on python 2.3.5-6. * Improve a bit the manual page. * Fail if a package tries to overwrite a file provided by another package (closes: #373753). * Support extensions, by searching /usr/lib/python-support/$package/$version for files specific to a python version. * New command: pysupport-movemodules, to move modules from /usr/lib/python2.X trees to the python-support hierarchies. * Call this command in dh_pysupport. * Add the ability to generate a .version in dh_pysupport, by copying debian/pyversions. * Add the possibility for automatic generation of ${python:Depends} and ${python:Provides}, when calling dh_pysupport -d. * Provide python-support.rt* scripts to provide hooks when python versions are installed or removed. + The dependency on python (<< 2.4) can be removed. * New command: pysupport-parseversions. It parses debian/package.pyversions files to display the list of supported versions that are included in the version list described here. -- Josselin Mouette Mon, 19 Jun 2006 14:18:29 +0200 python-support (0.2.3) unstable; urgency=low * Non-maintainer upload. * Integrate dh_pysupport and generate the corresponding man-page. Closes: #372774 -- Raphael Hertzog Mon, 12 Jun 2006 17:59:47 +0200 python-support (0.2.2) unstable; urgency=low * Rewrite the version parser to correctly handle the "-2.x" version string. * Remove support for python2.1 and python2.2. * Purge directories for old python versions. * Standards-version is 3.7.0. -- Josselin Mouette Wed, 3 May 2006 18:54:10 +0200 python-support (0.2.1) unstable; urgency=low * Include /usr/share/python-support in the package (closes: #365550). -- Josselin Mouette Mon, 1 May 2006 04:26:25 +0200 python-support (0.2) unstable; urgency=low * Link the .py files (closes: #365111, #348596, #363505). * Support /usr/share/python-support/foo/.version to list the python versions for which the package is known to work. * Make python-support entirely stateless. We now rely on /usr/share/python-support/*/ for directories to install and on /usr/share/python-support/*.dirs for directories to bytecompile in situ. * Improve performance by byte-compiling for non-default python versions in a single run. * Treat relative paths in arguments as belonging to /usr/share/python-support. * Support python 2.5. -- Josselin Mouette Sat, 29 Apr 2006 23:29:40 +0200 python-support (0.1.1) unstable; urgency=low * Create /var/lib/python-support first. -- Josselin Mouette Fri, 6 Jan 2006 11:25:20 +0100 python-support (0.1) unstable; urgency=low * Initial release (closes: #345638). -- Josselin Mouette Mon, 2 Jan 2006 14:52:42 +0100