/[collab-maint]/deb-maint/python-support/trunk
ViewVC logotype

Log of /deb-maint/python-support/trunk

View Directory Listing Directory Listing


Sticky Revision:

Revision 12964 - Directory Listing
Modified Tue May 5 17:01:39 2009 UTC (4 years ago) by joss
* update-python-modules:
  + Don't do anything when called with -c for public modules. This 
    will allow modules to remain available while being upgraded.
  + Don't byte-compile public modules when called without -p, either. 
    This should reduce the time consumed during upgrades.
  + Support a new --post-install/-p option, that byte-compiles public 
    modules and removes any dangling symbolic links left by a package 
    removal or upgrade.
  + Indentation fixes.
* triggers: register triggers on /usr/share/python-support and 
  /usr/lib/python-support.
* postinst:
  + Always byte-compile python-support.dirs.
  + Launch update-python-support --post-install to enforce 
    byte-compilation.
  + Launch only this command when triggered.
* control: build-depend on debhelper 5.0.59 for triggers support.
* pysupport.py: deprecate python2.3.
* control: depend on python >= 2.4 to match the change.

Revision 12962 - Directory Listing
Modified Tue May 5 17:01:04 2009 UTC (4 years ago) by joss
* update-python-modules:
  + Correctly handle the clean mode when called with an unknown 
    directory as argument. Closes: #468848.
  + Fail when a package tries to provide an extension provided by 
    another one (the previous code only worked for modules).
* README: document that you shouldn't remove the 
  /usr/share/python-support/foo directory.
* control: properly capitalize Python.

Revision 12960 - Directory Listing
Modified Tue May 5 17:00:38 2009 UTC (4 years ago) by joss
* dh_pysupport: allow the Python-Depends field to be wrapped.
  Closes: #458737.
* Standards version is 3.7.3; no changes.

Revision 12958 - Directory Listing
Modified Tue May 5 17:00:08 2009 UTC (4 years ago) by joss
* dh_pysupport:
  + Cut out some unused code.
  + Unify script generation, cutting obsolete -i and -b options.
* {postinst,prerm}-python-support:
  + Update snippets accordingly.
  + Launch the postinst in all cases, not only in the configure case.
    Closes: #446730.

Revision 12956 - Directory Listing
Modified Tue May 5 16:59:40 2009 UTC (4 years ago) by joss
* dh_pysupport: don't treat .so files linking to libpython* as 
  extensions. This will avoid adding spurious dependencies.
* Fix some wrong changelog entries talking about dh_python.
* dh_pysupport: fix an annoying bug sometimes leading to an invalid 
* dh_pysupport: bump the generated dependencies to version 0.7.1. Modules 

Revision 12954 - Directory Listing
Modified Tue May 5 16:58:51 2009 UTC (4 years ago) by joss
dh_python: fix an annoying bug sometimes leading to an invalid 
substvars file when using Python-Depends.

Revision 12952 - Directory Listing
Modified Tue May 5 16:58:25 2009 UTC (4 years ago) by joss
* Upload to unstable.
* dh_python: bump the generated dependencies to version 0.7.1. Modules 
  which need namespace packages will need to build-depend on that 
  version, and will get a dependency on it.

Revision 12950 - Directory Listing
Modified Tue May 5 16:58:00 2009 UTC (4 years ago) by joss
* update-python-modules:
  + Exclude __init__.py files already provided by the package by 
    looking at whether they are symbolic links.
  + Minor cleanups.
  + Use shutil.rmtree instead of rm -rf.

Revision 12948 - Directory Listing
Modified Tue May 5 16:57:33 2009 UTC (4 years ago) by joss
* Make the package priority standard.
* update-python-modules: add support for namespace packages, by
  creating and removing automatically empty __init__.py files where
  appropriate. Thanks Gustavo Noronha Silva for the initial idea and 
  precious input.

Revision 12946 - Directory Listing
Modified Tue May 5 16:57:06 2009 UTC (4 years ago) by joss
* update-python-modules: only warn on missing files if we're in
  cleaning mode (prerm). Closes: #422568.
* pysupport-movemodules: merge .egg-info directories by stripping the 
  -py$vers part from them. Based on a patch by Cyril Brulebois, 
  closes: #422436.

Revision 12944 - Directory Listing
Modified Tue May 5 16:56:38 2009 UTC (4 years ago) by joss
dh_pysupport: trim strings in the Python-Depends field.

Revision 12942 - Directory Listing
Modified Tue May 5 16:56:10 2009 UTC (4 years ago) by joss
* pysupport-movemodules: remove .a and .la files, which are useless 
  cruft generated by libtool (closes: #412477).
* Upload to unstable.

Revision 12940 - Directory Listing
Modified Tue May 5 16:52:55 2009 UTC (4 years ago) by joss
* pysupport-movemodules:
  + Fix a case where the original installation directory was not 
    removed.
  + Move modules from /var/lib/python-support as well. This allows
    to handle packages that hardcode the path to the modules
    (closes: #397895).
* README:
  + Document the procedure for such packages.
  + Also document the Python-Depends field.

Revision 12938 - Directory Listing
Modified Tue May 5 16:52:31 2009 UTC (4 years ago) by joss
* dh_pysupport:
  + Generate the useless ${python:Versions} field (closes: #403366).
   + Parse a new control field, Python-Depends, which contains
     dependencies on other python packages. Add to ${python:Depends}
     the virtual dependencies needed for all python versions.
  + Remove useless spaces at the end of python-support dependencies.

Revision 12936 - Directory Listing
Modified Tue May 5 16:52:01 2009 UTC (4 years ago) by joss
* 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.

Revision 12934 - Directory Listing
Modified Tue May 5 16:51:30 2009 UTC (4 years ago) by joss
* 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.

Revision 12932 - Directory Listing
Modified Tue May 5 16:50:54 2009 UTC (4 years ago) by joss
dh_pysupport: patch from Raphaël Hertzog to correctly depend on 
python when there is no minimum nor maximum version
(closes: #391689).

Revision 12930 - Directory Listing
Modified Tue May 5 16:50:22 2009 UTC (4 years ago) by joss
* dh_pysupport: always generate dependencies.
* Conflict with debhelper (<< 5.0.38).

Revision 12928 - Directory Listing
Modified Tue May 5 16:46:06 2009 UTC (4 years ago) by joss
* 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).

Revision 12926 - Directory Listing
Modified Tue May 5 16:45:43 2009 UTC (4 years ago) by joss
* 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).

Revision 12924 - Directory Listing
Modified Tue May 5 16:45:11 2009 UTC (4 years ago) by joss
* 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.

Revision 12922 - Directory Listing
Modified Tue May 5 16:44:37 2009 UTC (4 years ago) by joss
* 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).

Revision 12920 - Directory Listing
Modified Tue May 5 16:44:14 2009 UTC (4 years ago) by joss
* 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).

Revision 12918 - Directory Listing
Modified Tue May 5 16:43:42 2009 UTC (4 years ago) by joss
* 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.

Revision 12916 - Directory Listing
Modified Tue May 5 16:41:11 2009 UTC (4 years ago) by joss
  + 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.
  + 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.

Revision 12915 - Directory Listing
Modified Tue May 5 16:40:01 2009 UTC (4 years ago) by joss
* 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.
* update-python-modules:
  + Don't call compileall.py on non-existing directories
    (closes: #378773).

Revision 12913 - Directory Listing
Modified Tue May 5 16:38:46 2009 UTC (4 years ago) by joss
* 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).

Revision 12911 - Directory Listing
Modified Tue May 5 16:38:18 2009 UTC (4 years ago) by joss
update-python-modules: fix upgrade path from pre-0.3.4 versions 
(closes: #375608).

Revision 12909 - Directory Listing
Modified Tue May 5 16:37:47 2009 UTC (4 years ago) by joss
debian/prerm: in the case update-python-modules fails, cleanup by 
hand and exit gracefully. This should make upgrades from broken 
versions work.

Revision 12907 - Directory Listing
Modified Tue May 5 16:37:14 2009 UTC (4 years ago) by joss
update-python-modules: Fix a case where the .path file wasn't 
cleaned up automatically upon package removal.

Revision 12905 - Directory Listing
Modified Tue May 5 16:36:45 2009 UTC (4 years ago) by joss
update-python-modules: don't try to generate a .path file if the 
directory doesn't exist. Thanks Bastian Blank for noticing this.

Revision 12903 - Directory Listing
Modified Tue May 5 16:36:20 2009 UTC (4 years ago) by joss
* 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.

Revision 12901 - Directory Listing
Modified Tue May 5 16:35:39 2009 UTC (4 years ago) by joss
pysupport-movemodules: fix directory creation in the case there is 
no .py at all in the package.

Revision 12899 - Directory Listing
Modified Tue May 5 16:35:12 2009 UTC (4 years ago) by joss
* dh_pysupport: fix typo affecting dependency generation.
* README: recommend using pyversions -vr now it works.

Revision 12897 - Directory Listing
Modified Tue May 5 16:34:29 2009 UTC (4 years ago) by joss
* README: add correct documentation (closes: #370515).
* pysupport-movemodules: remove .pyc and .pyo files if some are 
  generated.

Revision 12895 - Directory Listing
Modified Tue May 5 16:33:51 2009 UTC (4 years ago) by joss
* 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.

Revision 12893 - Directory Listing
Modified Tue May 5 16:31:41 2009 UTC (4 years ago) by joss
* Non-maintainer upload.
* Integrate dh_pysupport and generate the corresponding man-page. 
  Closes: #372774

Revision 12891 - Directory Listing
Modified Tue May 5 16:30:37 2009 UTC (4 years ago) by joss
* 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.

Revision 12889 - Directory Listing
Modified Tue May 5 16:29:26 2009 UTC (4 years ago) by joss
missing in previous commit

Revision 12888 - Directory Listing
Modified Tue May 5 16:28:34 2009 UTC (4 years ago) by joss
Include /usr/share/python-support in the package (closes: #365550).

Revision 12886 - Directory Listing
Modified Tue May 5 16:28:02 2009 UTC (4 years ago) by joss
* 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.

Revision 12884 - Directory Listing
Modified Tue May 5 16:27:14 2009 UTC (4 years ago) by joss
Create /var/lib/python-support first.

Revision 12882 - Directory Listing
Modified Tue May 5 16:25:24 2009 UTC (4 years ago) by joss
Initial release (closes: #345638).

Revision 12881 - Directory Listing
Added Tue May 5 16:23:04 2009 UTC (4 years ago) by joss
Create repository for python-suppor

  ViewVC Help
Powered by ViewVC 1.1.5