1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499
|
python-support (0.8.4lenny2) stable; urgency=low
* update-python-modules:
+ Force umask to 022. Thanks to Matt Kraai for the patch.
Closes: #567811.
-- Josselin Mouette <joss@debian.org> Wed, 24 Feb 2010 19:36:15 +0100
python-support (0.8.4lenny1) stable; urgency=low
* update-python-modules (create_dotpath):
+ Completely ignore lines starting with "import", as they would be
executed by python upon startup.
-- Josselin Mouette <joss@debian.org> Wed, 26 Aug 2009 15:23:24 +0200
python-support (0.8.4) unstable; urgency=medium
* update-python-modules (post_change_stuff):
+ Remove symbolic links to files in packages not supported by the
current python version anymore. Closes: #485740
* Standards version is 3.8.0, no changes required.
-- Josselin Mouette <joss@debian.org> Mon, 30 Jun 2008 13:07:07 +0200
python-support (0.8.3) unstable; urgency=low
* update-python-modules:
+ Integrate a part of the Ubuntu change for LP#208961, fixes a
crash that might occur if a dangling symbolic link to an old
version of the file in a removed package is found.
* README:
+ Document the specific case of daemons needing namespace packages.
This should be very rare, but you never know.
-- Josselin Mouette <joss@debian.org> Mon, 23 Jun 2008 11:07:50 +0200
python-support (0.8.2) unstable; urgency=low
* Fix typo in 0.8.1 changelog entry.
* update-python-modules:
+ Call dpkg-trigger explicitly when we need it. This should prevent
the trigger from being run *before* the actual installation.
Closes: #486516.
* triggers: declare interest on the "pysupport" trigger.
-- Josselin Mouette <joss@debian.org> Mon, 23 Jun 2008 02:35:41 +0200
python-support (0.8.1) unstable; urgency=low
* update-python-modules:
+ Handle the case where a daemon package uses a module that ships a
.pth file. In this case, it is needed at once and we cannot wait
for the trigger.
* Depend on dpkg 1.14.19 to not get hit by #479850.
* Fix minor issue in README.
-- Josselin Mouette <joss@debian.org> Tue, 13 May 2008 10:48:00 +0200
python-support (0.8.0) experimental; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Wed, 07 May 2008 00:18:55 +0200
python-support (0.7.7) unstable; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Wed, 12 Mar 2008 00:07:04 +0100
python-support (0.7.6) unstable; urgency=low
* dh_pysupport: allow the Python-Depends field to be wrapped.
Closes: #458737.
* Standards version is 3.7.3; no changes.
-- Josselin Mouette <joss@debian.org> Sat, 05 Jan 2008 13:04:30 +0100
python-support (0.7.5) unstable; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Wed, 31 Oct 2007 18:51:10 +0100
python-support (0.7.4) unstable; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Thu, 04 Oct 2007 14:22:36 +0200
python-support (0.7.3) unstable; urgency=low
* dh_pysupport: fix an annoying bug sometimes leading to an invalid
substvars file when using Python-Depends.
-- Josselin Mouette <joss@debian.org> Sat, 22 Sep 2007 12:15:34 +0200
python-support (0.7.2) unstable; urgency=low
* Upload to unstable.
* dh_pysupport: 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.
-- Josselin Mouette <joss@debian.org> Thu, 20 Sep 2007 23:07:44 +0200
python-support (0.7.1) experimental; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Wed, 27 Jun 2007 19:13:32 +0200
python-support (0.7) experimental; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Sun, 10 Jun 2007 00:45:37 +0200
python-support (0.6.4) unstable; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Tue, 08 May 2007 18:48:31 +0200
python-support (0.6.3) unstable; urgency=low
* dh_pysupport: trim strings in the Python-Depends field.
-- Josselin Mouette <joss@debian.org> Wed, 28 Mar 2007 22:50:41 +0200
python-support (0.6.2) unstable; urgency=low
* pysupport-movemodules: remove .a and .la files, which are useless
cruft generated by libtool (closes: #412477).
* Upload to unstable.
-- Josselin Mouette <joss@debian.org> Wed, 21 Mar 2007 22:16:20 +0100
python-support (0.6.1) experimental; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Sat, 24 Feb 2007 13:04:23 +0100
python-support (0.6) experimental; urgency=low
* 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.
-- Josselin Mouette <joss@debian.org> Sat, 17 Feb 2007 13:10:27 +0100
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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <hertzog@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> 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 <joss@debian.org> Sat, 29 Apr 2006 23:29:40 +0200
python-support (0.1.1) unstable; urgency=low
* Create /var/lib/python-support first.
-- Josselin Mouette <joss@debian.org> Fri, 6 Jan 2006 11:25:20 +0100
python-support (0.1) unstable; urgency=low
* Initial release (closes: #345638).
-- Josselin Mouette <joss@debian.org> Mon, 2 Jan 2006 14:52:42 +0100
|