lp:debian/experimental/python-defaults

Created by James Westby and last modified
Get this branch:
bzr branch lp:debian/experimental/python-defaults
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Development

Recent revisions

40. By Matthias Klose

Always build the policy files.

39. By Matthias Klose

* Build dependency packages as architecture dependent packages.
* Make python, python-{minimal,dev,dbg} Multi-Arch: allowed.
* Build Multi-Arch: any packages libpython-{dev,dbg} packages providing
  $(DEB_HOST_GNU_TYPE/DEB_HOST_MULTIARCH)-python-config symlinks.
* Provide python2 symlinks.

38. By Piotr Ożarowski

[ Scott Kitterman ]
* Fixed typo in python-policy (thanks to Jakub Wilk)

[ Piotr Ożarowski ]
* dh_python2:
  - handle private dir paths without leading slash
  - add python to Depends if unversioned python shebang is detected in
    private directory
  - dist_fallback: add /usr/share/python-support/package/ to paths searched
    for Egg metadata; add "wsgiref" and "python" fallbacks
  - do not try to remove .so.foo symlinks twice (if files were listed in an
    unfortunate order)

37. By Scott Kitterman

[ Piotr Ożarowski ]
* dh_python2:
  - generates rtupdate scripts for private directories that compile files
    from given package only, add --compile-all to dh_python2's call if you
    want the old behaviour (i.e. compile also files (plugins?) provided by
    other packages, which do not use a helper/bytecompile them)
  - add --no-dbg-cleaning option (to disable removing files from debug
    packages)
  - fix handling "distname[features]" in debpython.pydist.guess_dependency
    (closes: 636255)
* pyclean now accepts --package and private dir argument at the same time

[ Scott Kitterman ]
* debpyhton/pydist: Incorporate patch from Jonathan Lange to stop printing
  to stderr (LP: #812960)
* Add Piotr Ożarowski <email address hidden> back to Uploaders

36. By Scott Kitterman

[ Piotr Ożarowski ]
* dh_python2:
  - no longer moves .so.foo files to pyshared dir (closes: 635316)
  - replaces .so symlinks with .so.foo files in dist-packages

[ Scott Kitterman ]
* Drop python2 symlink pending further discussion (closes: 634967)
* Update recent Python policy changes based on feedback from Debian Python

35. By Matthias Klose

* python: Provide python profiler.
* Provide a python2 symlink according to PEP 394.
* Bump standards version.
* Fix some lintian warnings.
* Add 2to3.1 manual page symlink.

34. By Scott Kitterman

[ Piotr Ożarowski ]
* dh_python2:
  - no longer generates maintainer scripts that invoke pycentral's
    pkgremove script, use --clean-pycentral if you want the old behaviour
  - egg-info directories are parsed even if cleaning the name was necessary
    (thanks to Arnaud Fontaine for the patch)
  - private directory names with apostrophes are escaped properly in
    maintainer script's -X arguments (thanks to Jakub Wilk for the patch)
  - deal with original symlinks more carefully (closes: 627969, thanks to
    Leonid Borisenko for the original patch)
  - add --ignore-shebangs option that will disable translating shebangs into
    Debian dependencies
  - add --ignore-namespace option that will disable handling
    Egg-info's namespace_packages.txt (AKA namespace feature)
  - PyDist: update dist_fallback file (with atypical Debian package names)
  - disable PyDist feature if dh sequencer is invoked --with pydeb
    (closes: 630502, thanks to Gediminas Paulauskas for the original patch)
  - warn if public Python extension is linked to libpython2.X, fail if it's
    linked to a wrong version
  - warn if both XS-Python-Version and X-Python-Version are defined
  - private dirs: if there is more than one Python version parsed from
    shebangs, byte-compile the dir with default Python version (or the one
    requested via X-Python-Version) instead od failing. Add dependency for
    each (supported) interpreter detected in shebangs
  - /usr/share/pyshared is not added to the package if empty (closes: 623909)
  - dh_python2's manpage updated (among other changes, no longer advertises
    python:Breaks - closes: 631397, describes .pyinstall and .pyremove files)
  - remove setuptools from requires.txt (it is replaced with
    python-pkg-resources Debian dependency)
  - "--namespace foo" no longer triggers .../dist-packages/bar/foo/__init__.py
    creation, use "--namespace bar.foo" instead

[ Scott Kitterman ]
* Python policy:
  - Add deprecation information about python-central and python-support
  - Clarify Python module and package descriptions

33. By Scott Kitterman

[ Piotr Ożarowski ]
* dh_pythno2: generate more strict dependencies for packages with private
  extensions (closes: #625760)

[ Scott Kitterman ]
* Set python2.7 as default for testing in experimental
  - Update version references in patching file debian/control, control.in,
    debian_defaults, python.postinst.in, python.preinst.in, pyversions.py,
    and rules

32. By Scott Kitterman

* Add python2.7 as a supported Python version.
* python-all{,-dev,-dbg}: Depend on the 2.7 packages.
* Run the rtinstall script, when 2.7 became a supported version (2.6.6-13)
  and python2.7 is installed.
* Python-minimal Breaks python-support (<< 1.0.12)

31. By Piotr Ożarowski

* dh_python2 and pycompile: read /usr/share/python/debian_defaults to get
  default Python version and a list of supported Python versions
* dh_python2:
  - fix parsing .pyinstall files (a space between file name and
    module name is now required)
  - replace a file with a symlink also if there's a matching one in
    pyshared directory already
  - add support for DH_OPTIONS env. variable
  - fix checking shebangs in private directories (executable bit wasn't
    checked correctly)
  - add test4 to test handling private directories
  - make egg-info files/dirs searches case insensitive (closes: #614910)
* pycompile:
  - --exclude now works with private dirs
  - use /usr/bin/pythonX.Y rather than pythonX.Y (to avoid /usr/local
    interpreters)
* rewrite dh_python2.1, pycompile.1 and pyclean.1 manpages in ReStructured
  Text, add quick guide for maintainers to dh_python2 manpage

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:debian/squeeze/python-defaults
This branch contains Public information 
Everyone can see this information.

Subscribers