Change log for python-debian package in Debian

144 of 44 results
Published in bookworm-release
Published in sid-release
python-debian (0.1.49) unstable; urgency=medium

  [ Debian Janitor ]
  * Update lintian override info to new format on line 1.

  [ Niels Thykier ]
  * Fix whitespace handling of Copyright files (Closes: #960278)

  [ Stuart Prescott ]
  * Make python-debian (more) portable (Closes: #1011937)
    - Tweak tests to be portable to other platforms
    - Adapt tests so that skipping optional tests can be prevented if needed
    - Add other platforms to CI to test portability
  * Switch tests to use more pytest features.
  * Updates for newer mypy and pylint.
  * Add Debian 14 'forky' to the list of known releases.

 -- Stuart Prescott <email address hidden>  Sun, 20 Nov 2022 11:30:33 +1100

Available diffs

Superseded in sid-release
python-debian (0.1.48) unstable; urgency=medium

  [ Anders Kaseorg ]
  * Fix version bound for subscripting abc.Iterator, abc.MutableMapping.
    Closes: #1018822

  [ Jelmer Vernooij ]
  * Don't raise AmbiguousDeb822FieldKeyError in __contains__.

 -- Jelmer Vernooij <email address hidden>  Mon, 03 Oct 2022 05:19:42 +0100
Superseded in sid-release
python-debian (0.1.47) unstable; urgency=medium

  * copyright: Allow duplicate fields when strict=False.
  * copyright: Fix regression, raise NotMachineReadableError for files
    that clearly don't use DEP5. Closes: #1017836

 -- Jelmer Vernooij <email address hidden>  Sat, 27 Aug 2022 14:23:48 +0100
Superseded in sid-release
python-debian (0.1.46) unstable; urgency=medium

  * Copyright.add_files_paragraph(): Append after the last existing
    files paragraph.
  * RTS parser: Fix removing and then re-adding a paragraph.

 -- Jelmer Vernooij <email address hidden>  Fri, 08 Jul 2022 17:45:29 +0100

Available diffs

Superseded in sid-release
python-debian (0.1.45) unstable; urgency=medium

  * Add Deb822FileElement.remove method.
  * RTS parser: don't add trailing whitespace when setting field values
    that start with a newline. Closes: #1013485

 -- Jelmer Vernooij <email address hidden>  Tue, 05 Jul 2022 16:35:04 +0100

Available diffs

Superseded in sid-release
python-debian (0.1.44) unstable; urgency=medium

  [ Simon Chopin ]
  * Add support for zstd compression in .deb files (LP: #1923845) with thanks
    also to Athos Ribeiro and Quirin Pamp for contributions to this feature.

  [ Jelmer Vernooij ]
  * Use logging.warning rather than warnings for data problems.

  [ Stuart Prescott ]
  * Support for finding files (including changelog.Debian.gz) that are beyond
    a symlink within the package (Closes: #875305).
  * Update packaging for zstd compressed .deb code.
  * Annotate binutils build-dep with <!nocheck>.
  * Update Standards-Version to 4.6.1 (no changes required).

  [ Niels Thykier ]
  * Various improvements to the round-trip-safe deb822 parser.

 -- Stuart Prescott <email address hidden>  Sun, 29 May 2022 12:06:57 +1000
Superseded in sid-release
python-debian (0.1.43) unstable; urgency=medium

  [ Jelmer Vernooij ]
  * Support the Files-Included field in debian/copyright.

  [ Stuart Prescott ]
  * Always run both mypy and pylint on CI.
  * Fix URL for API documentation in README.rst (Closes: #995442).
  * RTS parser: minor documentation fixes.
  * Declare minimum Python version of 3.5 for most modules except the
    RTS parser. Add CI testing with Python 3.5 (Closes: #997857).

  [ Niels Thykier ]
  * RTS parser: Handle leading tabs for setting values (Closes: #996785).
  * RTS parser: Preserve original field case (Closes: #996784).
  * RTS parser: Expose str type for keys in paragraphs (Closes: #996783).

 -- Stuart Prescott <email address hidden>  Sun, 16 Jan 2022 13:03:02 +1100
Superseded in sid-release
python-debian (0.1.42) unstable; urgency=medium

  "The Hitchhiker's Guide to the Galaxy" release.

  [ Jelmer Vernooij ]
  * Use logging for warnings about data that's being read, rather than
    the warnings module.

  [ Stuart Prescott ]
  * Fix type checks for mypy 0.910
  * Refactor CI code to be less repetitive.
  * Fix autopkgtest invocation of py.test.
  * Silence lintian complaint about touching the dpkg database in the
    examples.
  * Update Standards-Version to 4.6.0 (no changes required).
  * Add RTS parser to setup.py so that it is installed.
  * Add copyright attribution for RTS parser.

  [ Niels Thykier ]
  * RTS parser: Accept tabs as continuation line marker. Closes: #994854
  * Interpretation: Preserve tab as continuation line if used
  * CI: Always build docs; only publish it for master
  * RTS parser: Make value interpretation tokenization consistent
  * RTS parser: Add interpretation for Uploaders field

 -- Stuart Prescott <email address hidden>  Mon, 18 Oct 2021 17:12:47 +1100
Deleted in experimental-release (Reason: None provided.)
python-debian (0.1.41) experimental; urgency=medium

  [ Stuart Prescott ]
  * Drop some old python version checks (Closes: #986550)
  * Skip tests that use apt_pkg if unavailable
  * Run tests in absense of recommended packages
  * Drop use of six.
  * Drop old version constraints in autopkgtest tests
  * Generate .deb packages for tests on-demand
  * Add contextmanager to DebFile
  * Fix sphinx _static config

  [ Niels Thykier ]
  * Added format/comment preserving deb822 parser as debian._deb822_repro.
  * CI: Add coverage reports
  * Use py.test for running tests

  [ Jelmer Vernooij ]
  * Add Build-Depends-Arch, Build-Conflicts-Arch to list of relationship
    fields. Closes: #985492

 -- Jelmer Vernooij <email address hidden>  Sat, 18 Sep 2021 22:36:23 +0100
Superseded in experimental-release
python-debian (0.1.40) experimental; urgency=medium

  [ Jelmer Vernooij ]
  * In debian.changelog.get_maintainer, cope with unknown UIDs. Closes:
    #980385

  [ Niels Thykier ]
  * Add some doctest SKIP markers to the code (MR!45).
  * Fix examples in code (MR!41, MR!43).

  [ Frédéric Pierret ]
  * Numerous enhancements to the deb822.BuildInfo class (MR!40).

  [ Stuart Prescott ]
  * Update annotations for mypy 0.8.00.
  * Include portability patch for pwd module on Windows from MR!38, with
    thanks to Ryan Pavlik for the report and Carmen Bianca Bakker for the
    implementation.
  * Drop the deb822.BuildInfo.get_debian_suite function.
  * Stop testing with Python 2.7.

  [ Debian Janitor ]
  * Remove constraints unnecessary since stretch:
    + Build-Depends: Drop versioned constraint on binutils.

 -- Stuart Prescott <email address hidden>  Mon, 28 Jun 2021 18:09:46 +1000
Published in bullseye-release
Superseded in sid-release
python-debian (0.1.39) unstable; urgency=medium

  [ Stuart Prescott ]
  * Move re.compile calls out of functions (Closes: #971960).
  * Revert unintended renaming of Changelog.get_version/set_version
    (Closes: #975910).
  * Add a type for .buildinfo files (deb822.BuildInfo) (Closes: #875306).
  * Add support for SHA1-Download and SHA256-* variants in PdiffIndex class
    for .diff/Index files (Closes: #970824).
  * Permit single-character package names in dependency relationship
    specifications (Closes: #977355).
  * Silence deprecation warnings in the test suite.
  * Test that UserWarning is emitted in tests where it should be.
  * Update Standards-Version to 4.5.1 (no changes required).
  * Update to debhelper-compat (= 13).
  * Update examples to use #!/usr/bin/python3.
  * Fix tabs vs spaces in examples.

  [ Jose Luis Rivero ]
  * Allow debian_support.PackageFile to accept StringIO as well as BytesIO.

  [ Ansgar ]
  * Change handling of case-insensitive field names to allow Deb822 objects
    to be serialised  (Closes: #975915).

  [ Jelmer Vernooij ]
  * Add myself to uploaders.

  [ Johannes 'josch' Schauer ]
  * Add SHA265 support to handling of pdiffs.
  * Add support for additional headers for merged pdiffs to PDiffIndex.
  * Allow debian_support.patches_from_ed_script to consume both bytes and str.

 -- Stuart Prescott <email address hidden>  Sat, 19 Dec 2020 11:59:40 +1100

Available diffs

Superseded in sid-release
python-debian (0.1.38) unstable; urgency=medium

  [ Jelmer Vernooij ]
  * Add a debian.watch module for parsing watch files.
  * Prevent stripping of last newline in initial lines before changelog files.
  * Add a Copyright.files_excluded field.
  * Allow specifying allow_missing_author when reserializing changelog
    entries.

  [ Stuart Prescott ]
  * Fix CI error from typeshed.
  * Add lots more type annotations to the code.
  * Enable mypy and pylint in the CI pipeline for merge requests.

  [ Dato Simó ]
  * Remove myself from Uploaders.

 -- Stuart Prescott <email address hidden>  Sun, 04 Oct 2020 15:09:46 +1100

Available diffs

Superseded in sid-release
python-debian (0.1.37) unstable; urgency=medium

  [ Sandro Tosi ]
  * Drop python2 support; Closes: #937691
  * lib/debian/doc-debtags
    - run using python3

  [ Stuart Prescott ]
  * Update Standards-Version to 4.5.0 (no changes required).
  * Add Rules-Requires-Root: no.
  * Test with all supported Python 3 interpreters at build time, not only
    in the autopkgtest tests.
  * Include the version of the interpreter in the test output.
  * Update from pylint3 to pylint.
  * Fix some pylint warnings.
  * Include pylint and mypy checks for merge requests on salsa.
  * Add additional metadata to setup.py, with thanks to Konrad Weihmann for
    the suggestion.

  [ Colin Watson ]
  * Parse Built-Using relationship fields.

  [ Michael Hudson-Doyle ]
  * Run tests with 'supported' not 'installed' Python 3 interpreters.

 -- Stuart Prescott <email address hidden>  Sat, 11 Apr 2020 17:54:43 +1000
Superseded in sid-release
python-debian (0.1.36) unstable; urgency=medium

  * Support streams without a filename in ArMember, with thanks to Matthias
    Dellweg for the patch.
  * Update autopkgtest variables in tests.
  * Update Standards-Version to 4.4.0 (no changes required).
  * Update to debhelper-compat 12.
  * Update type annotations for newer mpypy.

 -- Stuart Prescott <email address hidden>  Sun, 01 Sep 2019 23:50:42 +1000

Available diffs

Superseded in sid-release
Published in buster-release
Superseded in sid-release
python-debian (0.1.35) unstable; urgency=medium

  [ Stuart Prescott ]
  * Fix decode error when using debian_support.PackageFile by allowing the
    caller to specify an encoding, defaulting to UTF-8 (Closes: #928655).
  * Remove needs-recommends from autopkgtest definitions.

  [ Jan Teske ]
  * Fix overwriting of names in importing abc.Mapping and typing.Mapping.

  [ Jelmer Vernooij ]
  * Correctly raise NotMachineReadableError when no format is set.

 -- Stuart Prescott <email address hidden>  Thu, 30 May 2019 00:23:06 +1000

Available diffs

Superseded in buster-release
Superseded in sid-release
python-debian (0.1.34) unstable; urgency=medium

  [ Jelmer Vernooij ]
  * Fix typo in changelog.py documentation.

  [ Stuart Prescott ]
  * Fix "DeprecationWarning" regarding the move of ABCs from collections to
    collections.abc, with thanks to Jakub Wilk for the report
    (Closes: #914737).
  * Add accessors for Version objects from Deb822 (Closes: #901651).
  * Issue warnings if calling code requested use of python-apt for processing
    a Deb822 file but that request could not be honoured (see: #913274).
  * Make internal parser match python-apt in strictness when dealing with
    Packages and Sources files (Closes: #913274).
  * Update Standards-Version to 4.3.0 (no changes required).

 -- Stuart Prescott <email address hidden>  Fri, 18 Jan 2019 01:14:54 +1100

Available diffs

Superseded in buster-release
Superseded in sid-release
python-debian (0.1.33) unstable; urgency=medium

  * Switch to salsa.debian.org URLs for homepage, source location etc.
  * Bump to debhelper compat 11 (no changes required).
  * Update standards-version to 4.2.0 (no changes required).
  * Enable the test suite as a CI pipeline on salsa.debian.org.
  * Enable building of API documentation using sphinx.
  * Publish the API documentation via salsa.
  * Fix up various rst issues in documentation and move around docs so that
    they can be included in the sphinx output (Closes: #894214).
  * Fix handling of http vs https in copyright-format/1.0 parser.
  * Add Python 2 compatible type annotation comments throughout.
  * Considerable code polish based on pylint and mypy.

 -- Stuart Prescott <email address hidden>  Sun, 19 Aug 2018 17:19:11 +1000

Available diffs

Superseded in buster-release
Superseded in sid-release
python-debian (0.1.32) unstable; urgency=medium

  * Fix regexps that are invalid escape sequences with Python 3.6, with thanks
    to Ville Skyttä <email address hidden> for the patch (Closes: #878434).
  * Fix spelling errors, with thanks to Ville Skyttä <email address hidden>
    for the patch (Closes: #878435).
  * Add additional documentation about how python-apt is used, with thanks to
    Matthieu Caneill <email address hidden> for the patch (Closes: #862058).
  * Extend Deb822 parser to allow underscores in the field name, with thanks
    to Gerhard Poul <email address hidden> for the patch.
  * Update Vcs fields to point to salsa.debian.org, with thanks to John Wright
    for doing the migration.
  * Update Standards-Version to 4.1.3 (no changes required).

 -- Stuart Prescott <email address hidden>  Sat, 17 Feb 2018 16:37:18 +1100

Available diffs

Superseded in buster-release
Superseded in sid-release
python-debian (0.1.31) unstable; urgency=medium

  * Fix codename for 'rex' release, With thanks to Philipp Hahn
    <email address hidden> for the report and patch (Closes: #863724).
  * Include archqual in the deb822.PkgRelation.str output, wih thanks to
    Maximiliano Curia <email address hidden> for the report and patch
    (Closes: #868249).
  * Use unittest rather than nose for test suite discovery (Closes: #851324).
  * Update Standards-Version to 4.1.0 (no changes required).
  * Use dpkg's pkg-info.mk to get package version in d/rules.
  * Add debian/HACKING with some notes about the package.

 -- Stuart Prescott <email address hidden>  Sun, 24 Sep 2017 12:38:37 +1000

Available diffs

Superseded in buster-release
Published in stretch-release
Superseded in sid-release
python-debian (0.1.30) unstable; urgency=medium

  * Add missing chardet dependency in setup.py.in (Closes: #838695, #841071).
  * Add stretch, buster and bullseye to known releases (Closes: #849058).
  * Allow iter_paragraphs to accept bytes under Python 3 (Closes: #833375).
  * Don't suppress ChangelogParseError in strict mode when reading in a
    changelog via the constructor (Closes: #844026).
  * Add experimental API for ftp-master archive removals data (Closes: #473793).

 -- Stuart Prescott <email address hidden>  Wed, 25 Jan 2017 12:18:27 +1100

Available diffs

Superseded in stretch-release
Superseded in sid-release
python-debian (0.1.29) unstable; urgency=medium

  * Fix handling of gpgv output from gnupg 2 (Closes: #782904).
  * Explain what type was passed when raising the TypeError, with thanks to
    Chris Lamb <email address hidden> for the patch (Closes: #833363).
  * Include examples and extra docs in python3-debian package (Closes: #833368).

 -- Stuart Prescott <email address hidden>  Thu, 18 Aug 2016 23:27:48 +1000
Superseded in stretch-release
Superseded in sid-release
python-debian (0.1.28) unstable; urgency=medium

  * Change comment handling code in test suite to fix building with updated
    apt packages, with thanks to Neil Williams and Barry Warsaw for the patches
    (Closes: #807351).
  * Add support for uncompressed control.tar deb member (Closes: #761298).
  * Bump standards-version to 3.9.8 (no changes required).
  * Update Vcs URLs to https ones.
  * Remove support for broken timezone names from changelog parsing, with
    thanks to Guillem Jover for the patch (Closes: #792415).
  * Allow changelog entries to be accessed by sequence number or by version
    string (Closes: #634849).

 -- Stuart Prescott <email address hidden>  Wed, 15 Jun 2016 00:45:45 +1000
Superseded in stretch-release
Published in jessie-release
Superseded in sid-release
python-debian (0.1.27) unstable; urgency=medium


  * Tighten whitespace handling in GPG Armor Header lines, with thanks to
    Guillem Jover for the patch (Closes: #782276).

 -- Stuart Prescott <email address hidden>  Wed, 15 Apr 2015 00:53:27 +1000
Superseded in sid-release
python-debian (0.1.26) unstable; urgency=medium


  * Fix FTBFS with binutils >= 2.25-6 by turning off determinism in ar
    archives when building archives in the test suite, thanks to Dmitry
    Shachnev for the patch (Closes: #781543).
  * Require binutils >= 2.23 for building and in the autopkgtest tests to
    ensure that ar understands the option to suppress determinism.

 -- Stuart Prescott <email address hidden>  Sat, 04 Apr 2015 00:39:02 +1100
Superseded in jessie-release
Superseded in sid-release
python-debian (0.1.25) unstable; urgency=medium


  * deb822: More encoding gymnastics to support parsing signed files
    opened in text mode (Closes: #764380).

 -- John Wright <email address hidden>  Tue, 21 Oct 2014 22:32:26 -0700
Superseded in jessie-release
Superseded in sid-release
python-debian (0.1.24) unstable; urgency=medium


  * copyright module: make Copyright objects iterable
  * debian_support.list_releases(): update release list (Closes: #758027)

 -- Stefano Zacchiroli <email address hidden>  Wed, 01 Oct 2014 16:41:15 +0200
Superseded in jessie-release
Superseded in sid-release
python-debian (0.1.23) unstable; urgency=medium


  [ Stuart Prescott ]
  * Add sha512 sums to Release and Sources (Closes: #732599).
  * Use warnings rather than stderr in PkgRelation (Closes: #712513).
  * Expose the list of bugs closed by a changelog entry; thanks to Jelmer
    Vernooi and Stefano Rivera for patches (Closes: #634848).
  * Add support for .deb with uncompressed data.tar member (Closes: #718355).
  * Prefer the internal parser rather than apt's TagFile for processing deb822
    files unless explicitly called to process Packages or Sources files:
    - prevents paragraph parsing truncating on comments (Closes: #743174).
    - fix parsing of paragraphs when separated by more whitespace than just a
      newline (Closes: #655988). (Finally fixing interactions with devscripts'
      wrap-and-sort!)
  * Parse foreign architecture (package:any) relationships and also other
    multi-arch related relationships (Closes: #670679)
  * Parse build-profiles syntax.

  [ John Wright ]
  * Fix a GPG validation bug.  With some trailing whitespace, the code
    could be tricked into validating a signature, but using the bogus
    data after the signed section (Closes: #695932).
  * Drop support for python2.5.  (This allows us to do fewer import hacks
    in deb822, and probably other modules as well.)
  * Add a deb822.RestrictedWrapper class, for exposing read-only access
    to a Deb822 instance's field values as strings, while restricting
    write access to some fields, which are exposed via properties.
  * deb822.Deb822Dict.dump: Add a text_mode parameter for dumping to
    file(-like) objects that assume text/unicode input.
  * Add a copyright module, for parsing machine-readable debian/copyright
    files (Closes: #671485).
  * Make deb822 tests hermetic with respect to debian-keyring updates
    (Closes: #760488).

 -- John Wright <email address hidden>  Wed, 10 Sep 2014 23:18:38 -0700
Superseded in jessie-release
Superseded in sid-release
python-debian (0.1.22) unstable; urgency=low


  [ John Wright ]
  * Acknowledge NMUs.  (Thanks for your work, Colin and Fathi!)
  * arfile.ArFile.extractfile: Return a matching member even if it is
    not the first one in the archive.  Thanks to Mika Eloranta for the
    report and patch. (Closes: #689313)
  * deb822.Deb822.iter_paragraphs: Actually work with string input.
    Thanks to Stefano Rivera for the patch. (Closes: #647455)

  [ Stuart Prescott ]
  * Add myself to Uploaders.
  * Change Vcs-* URLs to canonical locations.
  * Switch build system to short form dh and pybuild.
  * Use nose to run test suite.
  * Add autopkgtest test suite.

  [ John Wright ]
  * python_support: Avoid hashlib dependency, using the built-in _sha or
    _sha1 module (depending on Python version) instead.  That way we
    don't link in OpenSSL, which has an incompatible license.
    (Closes: 747031)

 -- John Wright <email address hidden>  Wed, 11 Jun 2014 02:25:21 -0700
Superseded in jessie-release
Superseded in sid-release
python-debian (0.1.21+nmu3) unstable; urgency=medium


  * Non-maintainer upload.
  * Add support for xz-compressed packages. (Closes: #506861)
  * Byte-compile python modules for python3-debian. (Closes: #709935)

 -- Fathi Boudra <email address hidden>  Tue, 29 Apr 2014 20:32:47 +0300
Superseded in jessie-release
Superseded in sid-release
python-debian (0.1.21+nmu2) unstable; urgency=low


  * Non-maintainer upload.
  * In Python 2, restore Deb822Dict.has_key method for compatibility.
    (Closes: #686731)

 -- Colin Watson <email address hidden>  Wed, 05 Sep 2012 11:28:58 +0100
Superseded in sid-release
python-debian (0.1.21+nmu1) unstable; urgency=low


  * Non-maintainer upload.
  * Port to Python 3. (Closes: #625509)

 -- Colin Watson <email address hidden>  Wed, 22 Aug 2012 16:27:05 +0100
Published in squeeze-release
python-debian (0.1.18+squeeze1) stable; urgency=low


  * Allow ':' as the first character of a value.  This fixes an
    implementation error where the paragraph

      Foo: : bar

    would be interpreted as

      {'Foo:': 'bar'}

    by the Python-native parser, while it would be correctly interpreted
    as

      {'Foo': ': bar'}

    by both the apt_pkg parser and the Python email library.
    (Closes: #597249)

 -- John Wright <email address hidden>  Wed, 28 Dec 2011 14:50:57 -0800
Published in wheezy-release
Superseded in sid-release
python-debian (0.1.21) unstable; urgency=low


  [ Tshepang Lekhonkhobe ]
  * test_changelog.py: Close open files. (Closes: #625672)

  [ John Wright ]
  * deb822: Allow ':' as the first character of a value.
    (Closes: #597249)
  * deb822: Avoid dumping unparseable data. (Closes: #597120)
  * Clean up deb822.GpgInfo implementation:
    - Change several @staticmethod decorated methods to @classmethod,
      since they call the class constructor.
    - from_sequence now can accept both sequences of newline-terminated
      strings and the output of str.splitlines().
    - from_file now actually calls the from_sequence method.
      (Closes: #627058)
    - from_sequence now makes a copy of the initial args list before
      extending it. (Closes: #627060)
    - Keyrings are no longer checked for accessibility, since gpgv can
      accept keyring arguments that are under the GnuPG home directory,
      regardless of the current directory. (Closes: #627063)
  * deb822.Deb822.gpg_info takes an optional keyrings argument.
  * deb822: Don't interpret lines starting with '#'. (Closes: #632306)

  [ Colin Watson ]
  * Use dh_python2 instead of python-support. (Closes: #631392)

 -- John Wright <email address hidden>  Wed, 03 Aug 2011 23:07:17 -0700

Available diffs

Superseded in wheezy-release
Superseded in sid-release
python-debian (0.1.20) unstable; urgency=low
  * Fix FTBFS, caused by referring to apt_pkg in a test with no    python-apt Build-Depends. (Closes: #623011)  * changelog: Implement __unicode__ in ChangeBlock and Changelog.    (Closes: #561805) -- John Wright <email address hidden>  Sun, 17 Apr 2011 17:37:44 -0700
Superseded in sid-release
python-debian (0.1.19) unstable; urgency=low
  * debian_support.BaseVersion: Disallow ':' in upstream version if    there is no epoch.  Original patch by Steve Kowalik.    (Closes: #619997) -- John Wright <email address hidden>  Fri, 15 Apr 2011 02:05:45 -0700
Superseded in wheezy-release
Superseded in squeeze-release
Superseded in sid-release
python-debian (0.1.18) unstable; urgency=low


  * Support installation together with older versions of python-apt.
    Original patch by Jelmer Vernooij. (Closes: #590805)

 -- John Wright <email address hidden>  Wed, 04 Aug 2010 01:16:52 -0700
Superseded in sid-release
python-debian (0.1.17) unstable; urgency=low


  [ James Westby ]
  * Use os.path.normpath to hide python version differences

  [ John Wright ]
  * test_deb822.py: Make test_gpg_info more robust (Closes: #582878)
  * deb822: Use chardet to try to detect character encodings as necessary
    - This is only used when the specified encoding doesn't work.  It's mainly
      useful for files containing multiple deb822 paragraphs with mixed
      encodings, like etch's Sources file. (Closes: #586021)

 -- John Wright <email address hidden>  Sun, 25 Jul 2010 02:07:11 -0700
Superseded in squeeze-release
Superseded in sid-release
python-debian (0.1.16) unstable; urgency=low


  * debian_support: Be more careful in case apt_pkg is not available
    - If apt_pkg is not available, AptPkgVersion now raises
      NotImplementedError on any initialization attempt
    - test_debian_support.py now doesn't try to test AptPkgVersion if
      apt_pkg is not availble
  * test_deb822.py: Don't test gpg info if debian-keyring is not
    available (Closes: #573934)
  * Use the warnings system to report deprecation warnings
    (Closes: #573945)
  * Change examples and control file to refer to debian instead of
    debian_bundle

 -- John Wright <email address hidden>  Mon, 15 Mar 2010 20:02:17 -0600
Superseded in sid-release
python-debian (0.1.15) unstable; urgency=low


  [ John Wright ]
  * deb822: Don't ignore leading newlines on field data with apt_pkg
    (Closes: #466753)
  * changelog: Consistently parse different types of inputs.  The
    previous implementation added extra newlines when given a file
    object as input, rather than the result of str.splitlines().
    (Closes: #539316)
  * deb822: Faster non-shared storage by keeping a TagFile object
    around for each Deb822 object yielded

  [ Stefano Zacchiroli ]
  * make debian_support.Version hashable, patch from Piotr Ożarowski
    (Closes: #543223)

  [ Filippo Giunchedi ]
  * changelog: add iterator over changelog blocks (Closes: #539334)
  * changelog: split tests into tests/test_changelog.py for consistency

  [ John Wright ]
  * deb822: Use the apt_pkg.TagFile class instead of apt_pkg.ParseTagFile()
    (Closes: #552190)
  * test_deb822.py: Update to support new gpg "SIG_ID" algorithm
  * deb822: Better support for non-ascii values.  Deb822 objects now
    always contain unicode objects instead of strings.  Use the encoding
    argument to Deb822's initializer and its iter_paragraphs class
    method if the encoding of a file you are reading in is not utf-8.
    (The dump method also takes an encoding argument, if you wish the
    output not to be utf-8-encoded.) (Closes: #495272)
  * Use the apt_pkg.TagFile iterator interface instead of hacking its
    offset.  As of python-apt version 0.7.94, that interface doesn't use
    shared storage. (Closes: #571470)
  * debian_support: Add a native python Version class, based on Raphael
    Hertzog's DpkgVersion class in the PTS (Closes: #562257, #573009)

  [ Jelmer Vernooij ]
  * Remove unused imports in the debfile and debtags modules

  [ John Wright ]
  * changelog: Use debian_support.Version directly
  * Deprecate the 'debian_bundle' package in favor of a new 'debian'
    package (Closes: #570210)
  * debian_support: split tests into tests/test_debian_support.py for
    consistency
  * Convert to "3.0 (native)" source format and update Standards-Version
    to 3.8.4 (no changes necessary)

 -- John Wright <email address hidden>  Sun, 14 Mar 2010 05:04:50 -0600
Superseded in squeeze-release
Superseded in sid-release
python-debian (0.1.14) unstable; urgency=low


  [ Stefano Zacchiroli ]
  * setup.py.in: switch to setuptools, which are able to generate eggs;
    add matching build-dep on python-setuptools (Closes: #525694)
  * examples/deb822/: add new example render-dctrl, to render packages in
    a dctrl-tools pipeline (using Markdown as long description syntax)
  * deb822: use __new__ to sub-class strings for case-insensitiveness;
    former approach is deprecated with python 2.6.
    Thanks to Loïc Minier for the patch. (Closes: #524061)

  [ Filippo Giunchedi ]
  * deb822: parse also Binary as PkgRelation, thus add .binary attribute

  [ Muharem Hrnjadovic ]
  * fixed changelog parser exception raised when dealing with empty
    changelog files (LP: #400589).

 -- Stefano Zacchiroli <email address hidden>  Sat, 18 Jul 2009 21:26:40 +0200
Superseded in squeeze-release
Superseded in sid-release
python-debian (0.1.13) unstable; urgency=low


  [ John Wright ]
  * deb822: Correctly handle deletion of keys that only exist in a pre-parsed
    dictionary

  [ Stefano Zacchiroli ]
  * change naming convention to match PEP 8, with backward compatibility
    (and deprecation warnings) for all old names. Thanks to Ben Finney for
    the patch. (Closes: #489722)
  * Switch from "sha" module to "hashlib": fix a deprecation warning of
    Python 2.6. As a consequence, update pyversions to require a minimum
    of Python 2.5, which is available also in stable now. (Closes: #518427)
  * debian_support.PackageFile: allow for stanza separators made of tabs
    and spaces in addition to newlines (Closes: #501927)
  * bump Standards-Version to 3.8.1 (no changes needed)

 -- Stefano Zacchiroli <email address hidden>  Tue, 07 Apr 2009 10:21:04 +0200
Superseded in squeeze-release
Superseded in sid-release
python-debian (0.1.12) unstable; urgency=low


  [ Filippo Giunchedi ]
  * Add initial support to deb822 for gpg signature checking (Closes: #485829)
  * Suggest gpgv for signature checking

  [ Stefano Zacchiroli ]
  * deb822: add support for pretty printing structured inter-package
    relationships (and relevant tests)
  * debfile: add support for .tar.bz2 parts contained in .deb packages, and
    relative regression test. Thanks to Cameron Dale and Tom Parker.
    (Closes: #462859).

  [ John Wright ]
  * deb822: allow the use of unicode objects in __getitem__
  * changelog: fix the "topline" regular expression to match the one in dpkg's
    Dpkg/Changelog/Debian.pm so that it allows '.' and '+' in the distribution
    field
  * deb822: Add a use_apt_pkg parameter to Deb822.iter_paragraphs.  Now,
    callers can set use_apt_pkg=True and shared_storage=False (now the default)
    in order to take advantage of apt_pkg's speed and still be able to use
    values across iterations.  (Closes: #504413)

 -- John Wright <email address hidden>  Wed, 05 Nov 2008 16:03:40 -0700
Superseded in sid-release
python-debian (0.1.11) unstable; urgency=low


  [ James Westby ]
  * Allow urgency=HIGH and other words made of capital letters there, see
    fuse's changelog.
  * Allow any number of spaces before "urgency" in the header line of a
    changelog, see lvm2's changelog in Ubuntu.
  * Overhaul the parsing code to follow that used by dpkg-parsechangelog.py,
    making it much more robust.
    - There is now a "strict" option to turn warnings in to errors. It is
      on by default.
  * The file parameter in the changelog can now be a file-like object,
    to save reading a file to a string first. Thanks to Tilman Koschnick.
    (Closes: #487797)

  [ John Wright ]
  * debian/control:
    - Fix a typo in the Description field (Closes: #483688)
  * debian_bundle/deb822.py: Checksums-Sha1 and Checksums-Sha256 don't have
    section or priority subfields (Closes: #487902)

  [ Stefano Zacchiroli ]
  * debian_bundle/deb822.py: add support for "parsed" dependencies and other
    inter-package relationships. See examples/deb822/depgraph for sample usage
  * examples/deb822/ add new example "depgraph"
  * tests/test_deb822.py: add tests for inter-package relationships
  * debian_bundle/debfile.py: add has_key (same implementation of
    __contains__) to better emulate dictionary containers
  * minor revamp of README pointing to deb822.py for Packages parsing and
    mentioning debfile.py
  * debian/control:
    - fix Vcs-* fields to point to the new git repository (bzr is gone)
  * bump Standards-Version to 3.8.0, no changes needed though profit of the
    possibility of wrapping Uploaders in debian/control

  [ Filippo Giunchedi ]
  * Add test case for changes file with checksums (see #487902)

 -- Stefano Zacchiroli <email address hidden>  Wed, 06 Aug 2008 23:48:38 -0300
Published in lenny-release
python-debian (0.1.10) unstable; urgency=low


  * debian_bundle/deb822.py, tests/test_deb822.py:
    - Do not cache _CaseInsensitiveString objects, since it causes case
      preservation issues under certain circumstances (Closes: #473254)
    - Add a test case
  * debian_bundle/deb822.py:
    - Add support for fixed-length subfields in multivalued fields.  I updated
      the Release and PdiffIndex classes to use this.  The default behavior for
      Release is that of apt-ftparchive, just because it's simpler.  Changing
      the behavior to resemble dak requires simply setting the
      size_field_behavior attribute to 'dak'.  (Ideally, deb822 would detect
      which behavior to use if given an actual Release file as input, but this
      is not implemented yet.)  (Closes: #473259)
    - Add support for Checksums-{Sha1,Sha256} multivalued fields in Dsc and
      Changes classes
  * debian/control:
    - "python" --> "Python" in the Description field
    - Change the section to "python"

 -- John Wright <email address hidden>  Wed, 30 Apr 2008 23:58:24 -0600
144 of 44 results