| 1 | python-debian (1.1.1) unstable; urgency=medium |
| 2 | |
| 3 | [ Stuart Prescott ] |
| 4 | * Move charset-normaliser to an optional dep group |
| 5 | * Annotate additional deps with nocheck |
| 6 | * Have dh_python3 add optional deps to Suggests |
| 7 | * Update licence metadata format in pyproject.toml |
| 8 | * Tweak tag_regex for tag2upload vs setuptools_scm compatibility |
| 9 | * Don't raise exceptions on invalid arch specifications (Closes: #1125014) |
| 10 | * Fix crash in copying multivalued Deb822 objects (Closes: #1109030) |
| 11 | * Minor whitespace fixes |
| 12 | |
| 13 | [ Jelmer Vernooij ] |
| 14 | * Always build distribution tarball in CI |
| 15 | |
| 16 | [ Christoph Steiger ] |
| 17 | * Add Static-Built-Using to relations |
| 18 | |
| 19 | -- Jelmer Vernooij <[email protected]> Sun, 07 Jun 2026 11:14:32 +0100 |
| 20 | |
| 21 | python-debian (1.1.0) unstable; urgency=medium |
| 22 | |
| 23 | [ Colin Watson ] |
| 24 | * Add support for merging Changes objects |
| 25 | * Fix merging of multi-line fields |
| 26 | |
| 27 | [ Sébastien Noel ] |
| 28 | * gitlab-ci: Trixie has been released |
| 29 | * Provide a new dpkg_arch_to_multiarch() function |
| 30 | (Closes: #1095138) |
| 31 | |
| 32 | [ Stuart Prescott ] |
| 33 | * Mutliple test, type and annotation related changes |
| 34 | including running `pyupgrade` with `py37` as target |
| 35 | version. |
| 36 | |
| 37 | [ Nicolas Boulenguez ] |
| 38 | * Add deb822.PkgRelation.{holds_on_arch, holds_with_profiles} |
| 39 | (Closes: #1120283) |
| 40 | * Replace physical address to the FSF with an URL in the license text |
| 41 | * Update Standards-Version to 4.7.3 |
| 42 | * Replace collections.namedtuple with typing.NamedTuple in deb822.py |
| 43 | |
| 44 | -- Niels Thykier <[email protected]> Sun, 08 Feb 2026 13:31:49 +0000 |
| 45 | |
| 46 | python-debian (1.0.1) unstable; urgency=medium |
| 47 | |
| 48 | * Fix handling of empty string data given to Deb822.iter_paragraphs. |
| 49 | |
| 50 | -- Stuart Prescott <[email protected]> Tue, 11 Mar 2025 23:17:33 +1100 |
| 51 | |
| 52 | python-debian (1.0.0) unstable; urgency=medium |
| 53 | |
| 54 | * The 1.0.0 release of python-debian :) |
| 55 | * Upload to unstable (and release to pypi). |
| 56 | * Update typing imports to keep new mypy happy. |
| 57 | * Handle non-UTF-8 data in gpgv output from sequoia-generated data |
| 58 | (Closes: #1095835, #1087991). |
| 59 | * Permit filenames and Path objects in Deb822.iter_paragraphs() |
| 60 | (Closes: #1086512). |
| 61 | |
| 62 | -- Stuart Prescott <[email protected]> Mon, 10 Mar 2025 01:05:59 +1100 |
| 63 | |
| 64 | python-debian (0.1.52) experimental; urgency=medium |
| 65 | |
| 66 | * Ensure that gpgv is not gpgv-from-sq for now. |
| 67 | |
| 68 | -- Stuart Prescott <[email protected]> Fri, 27 Dec 2024 00:38:26 +1100 |
| 69 | |
| 70 | python-debian (0.1.51) experimental; urgency=medium |
| 71 | |
| 72 | * Add build-dependency on gpgv. |
| 73 | |
| 74 | -- Stuart Prescott <[email protected]> Thu, 26 Dec 2024 17:11:02 +1100 |
| 75 | |
| 76 | python-debian (0.1.50) experimental; urgency=medium |
| 77 | |
| 78 | [ Stuart Prescott ] |
| 79 | * 1.0.0 release candidate. |
| 80 | * Tweaks to match changes in Python-land tooling: |
| 81 | - Fix some stylistic things that the newly uploaded pylint 2.16 complains |
| 82 | about. |
| 83 | - Fix testing with wine to adapt to changes in wine packaging. |
| 84 | - Fix tests to work with recent changes to pip that prevent installation |
| 85 | outside of a venv. |
| 86 | - Change version generation to be PEP440 compatible to satisfy new |
| 87 | requirements from setuptools, python-packaging etc. This change is |
| 88 | needed for any uploads outside of Debian sid (derivatives, Debian |
| 89 | backports, Debian security/stable-updates, etc). |
| 90 | * Fix file extraction from DebFile for cases where the .deb is generated |
| 91 | from control or data tarballs without the optional entry for "." and the |
| 92 | "./" prefix on all members; this isn't needed for dpkg-generated packages, |
| 93 | but is needed for other tools such as 'cargo deb' (Closes: #1031674). |
| 94 | * Demote Recommends to Suggests; it is up to the calling code to know what |
| 95 | optional features of python-debian it is using rather than dragging in an |
| 96 | ever-increasing list of optional extra packages (Closes: #1029727). |
| 97 | * Drop shims for pre-PEP8 API after 14 years of deprecation. |
| 98 | * Replace setup.py and config for pylint, mypy, pytest with pyproject.toml. |
| 99 | * Switch package build system to use pyproject.toml. |
| 100 | * Relocate tests and test data out of module; they are no longer included |
| 101 | in the binary package or in the wheel. |
| 102 | * Relocate module source from 'lib' to 'src' in line with current practice. |
| 103 | * Change handling of package version to use setuptools_scm during |
| 104 | development (but not at run time). |
| 105 | * Update code to build pypi uploads (sdist and wheel). |
| 106 | * Update copyright statements throughout. |
| 107 | * Tweak pytest configuration for pytest 8.1.1 changes. |
| 108 | * Fix test suite harness that runs tests under wine. |
| 109 | * Update Standards-Version to 4.7.0 (no changes required). |
| 110 | * Fix handling of whitespace-separated file lists in Copyright files with |
| 111 | thanks to Lasse Collin for the suggested fix (Closes: #1062437). |
| 112 | * Parse source field to extract source version in .deb packages from |
| 113 | binNMUs (Closes: #1082838). |
| 114 | * Switch to from chardet to charset-normalizer and make it in the code |
| 115 | (demoted to Suggests), with thanks to Michal Čihař for the initial work. |
| 116 | * Update Standards-Version to 4.7.0 (no changes required). |
| 117 | * Make 'Package-List' a multiline field for Dsc objects, thanks to Philipp |
| 118 | Hahn for the patch (Closes: #1052154). |
| 119 | |
| 120 | [ Max Mehl ] |
| 121 | * Use valid SPDX identified in python package metadata. |
| 122 | |
| 123 | [ Benjamin Drung ] |
| 124 | * Fix version number to be PEP440 compliant. |
| 125 | |
| 126 | [ Jelmer Vernooij ] |
| 127 | * Drop debian_bundle and top-level deb822 modules after 13 years of |
| 128 | deprecation. |
| 129 | |
| 130 | [ Niels Thykier ] |
| 131 | * Fix typing errors from newer mypy in deb822.PkgRelation. |
| 132 | * Changelog parsing speed improvements. |
| 133 | * Add support for file location finding (line, col) in Deb822 files. |
| 134 | |
| 135 | [ Alexandre Detiste ] |
| 136 | * Change some type annotations from Python 2 to Python 3 format. |
| 137 | * Clean up some old Python 2 methods. |
| 138 | * Fixes for pylint 3.1. |
| 139 | |
| 140 | -- Stuart Prescott <[email protected]> Thu, 26 Dec 2024 16:12:37 +1100 |
| 141 | |
| 142 | python-debian (0.1.49) unstable; urgency=medium |
| 143 | |
| 144 | [ Debian Janitor ] |
| 145 | * Update lintian override info to new format on line 1. |
| 146 | |
| 147 | [ Niels Thykier ] |
| 148 | * Fix whitespace handling of Copyright files (Closes: #960278) |
| 149 | |
| 150 | [ Stuart Prescott ] |
| 151 | * Make python-debian (more) portable (Closes: #1011937) |
| 152 | - Tweak tests to be portable to other platforms |
| 153 | - Adapt tests so that skipping optional tests can be prevented if needed |
| 154 | - Add other platforms to CI to test portability |
| 155 | * Switch tests to use more pytest features. |
| 156 | * Updates for newer mypy and pylint. |
| 157 | * Add Debian 14 'forky' to the list of known releases. |
| 158 | |
| 159 | -- Stuart Prescott <[email protected]> Sun, 20 Nov 2022 11:30:33 +1100 |
| 160 | |
| 161 | python-debian (0.1.48) unstable; urgency=medium |
| 162 | |
| 163 | [ Anders Kaseorg ] |
| 164 | * Fix version bound for subscripting abc.Iterator, abc.MutableMapping. |
| 165 | Closes: #1018822 |
| 166 | |
| 167 | [ Jelmer Vernooij ] |
| 168 | * Don't raise AmbiguousDeb822FieldKeyError in __contains__. |
| 169 | |
| 170 | -- Jelmer Vernooij <[email protected]> Mon, 03 Oct 2022 05:19:42 +0100 |
| 171 | |
| 172 | python-debian (0.1.47) unstable; urgency=medium |
| 173 | |
| 174 | * copyright: Allow duplicate fields when strict=False. |
| 175 | * copyright: Fix regression, raise NotMachineReadableError for files |
| 176 | that clearly don't use DEP5. Closes: #1017836 |
| 177 | |
| 178 | -- Jelmer Vernooij <[email protected]> Sat, 27 Aug 2022 14:23:48 +0100 |
| 179 | |
| 180 | python-debian (0.1.46) unstable; urgency=medium |
| 181 | |
| 182 | * Copyright.add_files_paragraph(): Append after the last existing |
| 183 | files paragraph. |
| 184 | * RTS parser: Fix removing and then re-adding a paragraph. |
| 185 | |
| 186 | -- Jelmer Vernooij <[email protected]> Fri, 08 Jul 2022 17:51:18 +0100 |
| 187 | |
| 188 | python-debian (0.1.45) unstable; urgency=medium |
| 189 | |
| 190 | [ Jelmer Vernooij ] |
| 191 | * Add Deb822FileElement.remove method. |
| 192 | * RTS parser: don't add trailing whitespace when setting field values |
| 193 | that start with a newline. Closes: #1013485 |
| 194 | * RTS parser: Add Deb822FileElement.remove(). |
| 195 | |
| 196 | [ Niels Thykier ] |
| 197 | * RTS parser: minor performance improvements (~5%). |
| 198 | * RTS parser: Stop preserving lack of newlines at EOF. Closes: #998715 |
| 199 | * Add substvars module for handling substvars. |
| 200 | * copyright: Use RTS parser. |
| 201 | * Provide `DpkgArchTable` class as a subset of `Dpkg::Arch`. Closes: #771058 |
| 202 | |
| 203 | -- Jelmer Vernooij <[email protected]> Tue, 05 Jul 2022 16:35:04 +0100 |
| 204 | |
| 205 | python-debian (0.1.44) unstable; urgency=medium |
| 206 | |
| 207 | [ Simon Chopin ] |
| 208 | * Add support for zstd compression in .deb files (LP: #1923845) with thanks |
| 209 | also to Athos Ribeiro and Quirin Pamp for contributions to this feature. |
| 210 | |
| 211 | [ Jelmer Vernooij ] |
| 212 | * Use logging.warning rather than warnings for data problems. |
| 213 | |
| 214 | [ Stuart Prescott ] |
| 215 | * Support for finding files (including changelog.Debian.gz) that are beyond |
| 216 | a symlink within the package (Closes: #875305). |
| 217 | * Update packaging for zstd compressed .deb code. |
| 218 | * Annotate binutils build-dep with <!nocheck>. |
| 219 | * Update Standards-Version to 4.6.1 (no changes required). |
| 220 | |
| 221 | [ Niels Thykier ] |
| 222 | * Various improvements to the round-trip-safe deb822 parser. |
| 223 | |
| 224 | -- Stuart Prescott <[email protected]> Sun, 29 May 2022 12:06:57 +1000 |
| 225 | |
| 226 | python-debian (0.1.43) unstable; urgency=medium |
| 227 | |
| 228 | [ Jelmer Vernooij ] |
| 229 | * Support the Files-Included field in debian/copyright. |
| 230 | |
| 231 | [ Stuart Prescott ] |
| 232 | * Always run both mypy and pylint on CI. |
| 233 | * Fix URL for API documentation in README.rst (Closes: #995442). |
| 234 | * RTS parser: minor documentation fixes. |
| 235 | * Declare minimum Python version of 3.5 for most modules except the |
| 236 | RTS parser. Add CI testing with Python 3.5 (Closes: #997857). |
| 237 | |
| 238 | [ Niels Thykier ] |
| 239 | * RTS parser: Handle leading tabs for setting values (Closes: #996785). |
| 240 | * RTS parser: Preserve original field case (Closes: #996784). |
| 241 | * RTS parser: Expose str type for keys in paragraphs (Closes: #996783). |
| 242 | |
| 243 | -- Stuart Prescott <[email protected]> Sun, 16 Jan 2022 13:03:02 +1100 |
| 244 | |
| 245 | python-debian (0.1.42) unstable; urgency=medium |
| 246 | |
| 247 | "The Hitchhiker's Guide to the Galaxy" release. |
| 248 | |
| 249 | [ Jelmer Vernooij ] |
| 250 | * Use logging for warnings about data that's being read, rather than |
| 251 | the warnings module. |
| 252 | |
| 253 | [ Stuart Prescott ] |
| 254 | * Fix type checks for mypy 0.910 |
| 255 | * Refactor CI code to be less repetitive. |
| 256 | * Fix autopkgtest invocation of py.test. |
| 257 | * Silence lintian complaint about touching the dpkg database in the |
| 258 | examples. |
| 259 | * Update Standards-Version to 4.6.0 (no changes required). |
| 260 | * Add RTS parser to setup.py so that it is installed. |
| 261 | * Add copyright attribution for RTS parser. |
| 262 | |
| 263 | [ Niels Thykier ] |
| 264 | * RTS parser: Accept tabs as continuation line marker. Closes: #994854 |
| 265 | * Interpretation: Preserve tab as continuation line if used |
| 266 | * CI: Always build docs; only publish it for master |
| 267 | * RTS parser: Make value interpretation tokenization consistent |
| 268 | * RTS parser: Add interpretation for Uploaders field |
| 269 | |
| 270 | -- Stuart Prescott <[email protected]> Mon, 18 Oct 2021 17:12:47 +1100 |
| 271 | |
| 272 | python-debian (0.1.41) experimental; urgency=medium |
| 273 | |
| 274 | [ Stuart Prescott ] |
| 275 | * Drop some old python version checks (Closes: #986550) |
| 276 | * Skip tests that use apt_pkg if unavailable |
| 277 | * Run tests in absense of recommended packages |
| 278 | * Drop use of six. |
| 279 | * Drop old version constraints in autopkgtest tests |
| 280 | * Generate .deb packages for tests on-demand |
| 281 | * Add contextmanager to DebFile |
| 282 | * Fix sphinx _static config |
| 283 | |
| 284 | [ Niels Thykier ] |
| 285 | * Added format/comment preserving deb822 parser as debian._deb822_repro. |
| 286 | * CI: Add coverage reports |
| 287 | * Use py.test for running tests |
| 288 | |
| 289 | [ Jelmer Vernooij ] |
| 290 | * Add Build-Depends-Arch, Build-Conflicts-Arch to list of relationship |
| 291 | fields. Closes: #985492 |
| 292 | |
| 293 | -- Jelmer Vernooij <[email protected]> Sat, 18 Sep 2021 22:36:23 +0100 |
| 294 | |
| 295 | python-debian (0.1.40) experimental; urgency=medium |
| 296 | |
| 297 | [ Jelmer Vernooij ] |
| 298 | * In debian.changelog.get_maintainer, cope with unknown UIDs. Closes: |
| 299 | #980385 |
| 300 | |
| 301 | [ Niels Thykier ] |
| 302 | * Add some doctest SKIP markers to the code (MR!45). |
| 303 | * Fix examples in code (MR!41, MR!43). |
| 304 | |
| 305 | [ Frédéric Pierret ] |
| 306 | * Numerous enhancements to the deb822.BuildInfo class (MR!40). |
| 307 | |
| 308 | [ Stuart Prescott ] |
| 309 | * Update annotations for mypy 0.8.00. |
| 310 | * Include portability patch for pwd module on Windows from MR!38, with |
| 311 | thanks to Ryan Pavlik for the report and Carmen Bianca Bakker for the |
| 312 | implementation. |
| 313 | * Drop the deb822.BuildInfo.get_debian_suite function. |
| 314 | * Stop testing with Python 2.7. |
| 315 | |
| 316 | [ Debian Janitor ] |
| 317 | * Remove constraints unnecessary since stretch: |
| 318 | + Build-Depends: Drop versioned constraint on binutils. |
| 319 | |
| 320 | -- Stuart Prescott <[email protected]> Mon, 28 Jun 2021 18:09:46 +1000 |
| 321 | |
| 322 | python-debian (0.1.39) unstable; urgency=medium |
| 323 | |
| 324 | [ Stuart Prescott ] |
| 325 | * Move re.compile calls out of functions (Closes: #971960). |
| 326 | * Revert unintended renaming of Changelog.get_version/set_version |
| 327 | (Closes: #975910). |
| 328 | * Add a type for .buildinfo files (deb822.BuildInfo) (Closes: #875306). |
| 329 | * Add support for SHA1-Download and SHA256-* variants in PdiffIndex class |
| 330 | for .diff/Index files (Closes: #970824). |
| 331 | * Permit single-character package names in dependency relationship |
| 332 | specifications (Closes: #977355). |
| 333 | * Silence deprecation warnings in the test suite. |
| 334 | * Test that UserWarning is emitted in tests where it should be. |
| 335 | * Update Standards-Version to 4.5.1 (no changes required). |
| 336 | * Update to debhelper-compat (= 13). |
| 337 | * Update examples to use #!/usr/bin/python3. |
| 338 | * Fix tabs vs spaces in examples. |
| 339 | * Provide accessor for source package version for binary packages |
| 340 | (Closes: #934273). |
| 341 | |
| 342 | [ Jose Luis Rivero ] |
| 343 | * Allow debian_support.PackageFile to accept StringIO as well as BytesIO. |
| 344 | |
| 345 | [ Ansgar ] |
| 346 | * Change handling of case-insensitive field names to allow Deb822 objects |
| 347 | to be serialised (Closes: #975915). |
| 348 | |
| 349 | [ Jelmer Vernooij ] |
| 350 | * Add myself to uploaders. |
| 351 | |
| 352 | [ Johannes 'josch' Schauer ] |
| 353 | * Add SHA265 support to handling of pdiffs. |
| 354 | * Add support for additional headers for merged pdiffs to PDiffIndex. |
| 355 | * Allow debian_support.patches_from_ed_script to consume both bytes and str. |
| 356 | |
| 357 | -- Stuart Prescott <[email protected]> Sat, 19 Dec 2020 11:59:40 +1100 |
| 358 | |
| 359 | python-debian (0.1.38) unstable; urgency=medium |
| 360 | |
| 361 | [ Jelmer Vernooij ] |
| 362 | * Add a debian.watch module for parsing watch files. |
| 363 | * Prevent stripping of last newline in initial lines before changelog files. |
| 364 | * Add a Copyright.files_excluded field. |
| 365 | * Allow specifying allow_missing_author when reserializing changelog |
| 366 | entries. |
| 367 | |
| 368 | [ Stuart Prescott ] |
| 369 | * Fix CI error from typeshed. |
| 370 | * Add lots more type annotations to the code. |
| 371 | * Enable mypy and pylint in the CI pipeline for merge requests. |
| 372 | |
| 373 | [ Dato Simó ] |
| 374 | * Remove myself from Uploaders. |
| 375 | |
| 376 | -- Stuart Prescott <[email protected]> Sun, 04 Oct 2020 15:09:46 +1100 |
| 377 | |
| 378 | python-debian (0.1.37) unstable; urgency=medium |
| 379 | |
| 380 | [ Sandro Tosi ] |
| 381 | * Drop python2 support; Closes: #937691 |
| 382 | * lib/debian/doc-debtags |
| 383 | - run using python3 |
| 384 | |
| 385 | [ Stuart Prescott ] |
| 386 | * Update Standards-Version to 4.5.0 (no changes required). |
| 387 | * Add Rules-Requires-Root: no. |
| 388 | * Test with all supported Python 3 interpreters at build time, not only |
| 389 | in the autopkgtest tests. |
| 390 | * Include the version of the interpreter in the test output. |
| 391 | * Update from pylint3 to pylint. |
| 392 | * Fix some pylint warnings. |
| 393 | * Include pylint and mypy checks for merge requests on salsa. |
| 394 | * Add additional metadata to setup.py, with thanks to Konrad Weihmann for |
| 395 | the suggestion. |
| 396 | |
| 397 | [ Colin Watson ] |
| 398 | * Parse Built-Using relationship fields. |
| 399 | |
| 400 | [ Michael Hudson-Doyle ] |
| 401 | * Run tests with 'supported' not 'installed' Python 3 interpreters. |
| 402 | |
| 403 | -- Stuart Prescott <[email protected]> Sat, 11 Apr 2020 17:54:43 +1000 |
| 404 | |
| 405 | python-debian (0.1.36) unstable; urgency=medium |
| 406 | |
| 407 | * Support streams without a filename in ArMember, with thanks to Matthias |
| 408 | Dellweg for the patch. |
| 409 | * Update autopkgtest variables in tests. |
| 410 | * Update Standards-Version to 4.4.0 (no changes required). |
| 411 | * Update to debhelper-compat 12. |
| 412 | * Update type annotations for newer mpypy. |
| 413 | |
| 414 | -- Stuart Prescott <[email protected]> Sun, 01 Sep 2019 23:50:42 +1000 |
| 415 | |
| 416 | python-debian (0.1.35) unstable; urgency=medium |
| 417 | |
| 418 | [ Stuart Prescott ] |
| 419 | * Fix decode error when using debian_support.PackageFile by allowing the |
| 420 | caller to specify an encoding, defaulting to UTF-8 (Closes: #928655). |
| 421 | * Remove needs-recommends from autopkgtest definitions. |
| 422 | |
| 423 | [ Jan Teske ] |
| 424 | * Fix overwriting of names in importing abc.Mapping and typing.Mapping. |
| 425 | |
| 426 | [ Jelmer Vernooij ] |
| 427 | * Correctly raise NotMachineReadableError when no format is set. |
| 428 | |
| 429 | -- Stuart Prescott <[email protected]> Thu, 30 May 2019 00:23:06 +1000 |
| 430 | |
| 431 | python-debian (0.1.34) unstable; urgency=medium |
| 432 | |
| 433 | [ Jelmer Vernooij ] |
| 434 | * Fix typo in changelog.py documentation. |
| 435 | |
| 436 | [ Stuart Prescott ] |
| 437 | * Fix "DeprecationWarning" regarding the move of ABCs from collections to |
| 438 | collections.abc, with thanks to Jakub Wilk for the report |
| 439 | (Closes: #914737). |
| 440 | * Add accessors for Version objects from Deb822 (Closes: #901651). |
| 441 | * Issue warnings if calling code requested use of python-apt for processing |
| 442 | a Deb822 file but that request could not be honoured (see: #913274). |
| 443 | * Make internal parser match python-apt in strictness when dealing with |
| 444 | Packages and Sources files (Closes: #913274). |
| 445 | * Update Standards-Version to 4.3.0 (no changes required). |
| 446 | |
| 447 | -- Stuart Prescott <[email protected]> Fri, 18 Jan 2019 01:14:54 +1100 |
| 448 | |
| 449 | python-debian (0.1.33) unstable; urgency=medium |
| 450 | |
| 451 | * Switch to salsa.debian.org URLs for homepage, source location etc. |
| 452 | * Bump to debhelper compat 11 (no changes required). |
| 453 | * Update standards-version to 4.2.0 (no changes required). |
| 454 | * Enable the test suite as a CI pipeline on salsa.debian.org. |
| 455 | * Enable building of API documentation using sphinx. |
| 456 | * Publish the API documentation via salsa. |
| 457 | * Fix up various rst issues in documentation and move around docs so that |
| 458 | they can be included in the sphinx output (Closes: #894214). |
| 459 | * Fix handling of http vs https in copyright-format/1.0 parser. |
| 460 | * Add Python 2 compatible type annotation comments throughout. |
| 461 | * Considerable code polish based on pylint and mypy. |
| 462 | |
| 463 | -- Stuart Prescott <[email protected]> Sun, 19 Aug 2018 17:19:11 +1000 |
| 464 | |
| 465 | python-debian (0.1.32) unstable; urgency=medium |
| 466 | |
| 467 | * Fix regexps that are invalid escape sequences with Python 3.6, with thanks |
| 468 | to Ville Skyttä <[email protected]> for the patch (Closes: #878434). |
| 469 | * Fix spelling errors, with thanks to Ville Skyttä <[email protected]> |
| 470 | for the patch (Closes: #878435). |
| 471 | * Add additional documentation about how python-apt is used, with thanks to |
| 472 | Matthieu Caneill <[email protected]> for the patch (Closes: #862058). |
| 473 | * Extend Deb822 parser to allow underscores in the field name, with thanks |
| 474 | to Gerhard Poul <[email protected]> for the patch. |
| 475 | * Update Vcs fields to point to salsa.debian.org, with thanks to John Wright |
| 476 | for doing the migration. |
| 477 | * Update Standards-Version to 4.1.3 (no changes required). |
| 478 | |
| 479 | -- Stuart Prescott <[email protected]> Sat, 17 Feb 2018 16:37:18 +1100 |
| 480 | |
| 481 | python-debian (0.1.31) unstable; urgency=medium |
| 482 | |
| 483 | * Fix codename for 'rex' release, With thanks to Philipp Hahn |
| 484 | <[email protected]> for the report and patch (Closes: #863724). |
| 485 | * Include archqual in the deb822.PkgRelation.str output, with thanks to |
| 486 | Maximiliano Curia <[email protected]> for the report and patch |
| 487 | (Closes: #868249). |
| 488 | * Use unittest rather than nose for test suite discovery (Closes: #851324). |
| 489 | * Update Standards-Version to 4.1.0 (no changes required). |
| 490 | * Use dpkg's pkg-info.mk to get package version in d/rules. |
| 491 | * Add debian/HACKING with some notes about the package. |
| 492 | |
| 493 | -- Stuart Prescott <[email protected]> Sun, 24 Sep 2017 12:38:37 +1000 |
| 494 | |
| 495 | python-debian (0.1.30) unstable; urgency=medium |
| 496 | |
| 497 | * Add missing chardet dependency in setup.py.in (Closes: #838695, #841071). |
| 498 | * Add stretch, buster and bullseye to known releases (Closes: #849058). |
| 499 | * Allow iter_paragraphs to accept bytes under Python 3 (Closes: #833375). |
| 500 | * Don't suppress ChangelogParseError in strict mode when reading in a |
| 501 | changelog via the constructor (Closes: #844026). |
| 502 | * Add experimental API for ftp-master archive removals data (Closes: #473793). |
| 503 | |
| 504 | -- Stuart Prescott <[email protected]> Wed, 25 Jan 2017 12:18:27 +1100 |
| 505 | |
| 506 | python-debian (0.1.29) unstable; urgency=medium |
| 507 | |
| 508 | * Fix handling of gpgv output from gnupg 2 (Closes: #782904). |
| 509 | * Explain what type was passed when raising the TypeError, with thanks to |
| 510 | Chris Lamb <[email protected]> for the patch (Closes: #833363). |
| 511 | * Include examples and extra docs in python3-debian package (Closes: #833368). |
| 512 | |
| 513 | -- Stuart Prescott <[email protected]> Thu, 18 Aug 2016 23:27:48 +1000 |
| 514 | |
| 515 | python-debian (0.1.28) unstable; urgency=medium |
| 516 | |
| 517 | * Change comment handling code in test suite to fix building with updated |
| 518 | apt packages, with thanks to Neil Williams and Barry Warsaw for the patches |
| 519 | (Closes: #807351). |
| 520 | * Add support for uncompressed control.tar deb member (Closes: #761298). |
| 521 | * Bump standards-version to 3.9.8 (no changes required). |
| 522 | * Update Vcs URLs to https ones. |
| 523 | * Remove support for broken timezone names from changelog parsing, with |
| 524 | thanks to Guillem Jover for the patch (Closes: #792415). |
| 525 | * Allow changelog entries to be accessed by sequence number or by version |
| 526 | string (Closes: #634849). |
| 527 | |
| 528 | -- Stuart Prescott <[email protected]> Wed, 15 Jun 2016 00:45:45 +1000 |
| 529 | |
| 530 | python-debian (0.1.27) unstable; urgency=medium |
| 531 | |
| 532 | * Tighten whitespace handling in GPG Armor Header lines, with thanks to |
| 533 | Guillem Jover for the patch (Closes: #782276). |
| 534 | |
| 535 | -- Stuart Prescott <[email protected]> Wed, 15 Apr 2015 00:53:27 +1000 |
| 536 | |
| 537 | python-debian (0.1.26) unstable; urgency=medium |
| 538 | |
| 539 | * Fix FTBFS with binutils >= 2.25-6 by turning off determinism in ar |
| 540 | archives when building archives in the test suite, thanks to Dmitry |
| 541 | Shachnev for the patch (Closes: #781543). |
| 542 | * Require binutils >= 2.23 for building and in the autopkgtest tests to |
| 543 | ensure that ar understands the option to suppress determinism. |
| 544 | |
| 545 | -- Stuart Prescott <[email protected]> Sat, 04 Apr 2015 00:39:02 +1100 |
| 546 | |
| 547 | python-debian (0.1.25) unstable; urgency=medium |
| 548 | |
| 549 | * deb822: More encoding gymnastics to support parsing signed files |
| 550 | opened in text mode (Closes: #764380). |
| 551 | |
| 552 | -- John Wright <[email protected]> Tue, 21 Oct 2014 22:32:26 -0700 |
| 553 | |
| 554 | python-debian (0.1.24) unstable; urgency=medium |
| 555 | |
| 556 | * copyright module: make Copyright objects iterable |
| 557 | * debian_support.list_releases(): update release list (Closes: #758027) |
| 558 | |
| 559 | -- Stefano Zacchiroli <[email protected]> Wed, 01 Oct 2014 16:41:15 +0200 |
| 560 | |
| 561 | python-debian (0.1.23) unstable; urgency=medium |
| 562 | |
| 563 | [ Stuart Prescott ] |
| 564 | * Add sha512 sums to Release and Sources (Closes: #732599). |
| 565 | * Use warnings rather than stderr in PkgRelation (Closes: #712513). |
| 566 | * Expose the list of bugs closed by a changelog entry; thanks to Jelmer |
| 567 | Vernooi and Stefano Rivera for patches (Closes: #634848). |
| 568 | * Add support for .deb with uncompressed data.tar member (Closes: #718355). |
| 569 | * Prefer the internal parser rather than apt's TagFile for processing deb822 |
| 570 | files unless explicitly called to process Packages or Sources files: |
| 571 | - prevents paragraph parsing truncating on comments (Closes: #743174). |
| 572 | - fix parsing of paragraphs when separated by more whitespace than just a |
| 573 | newline (Closes: #655988). (Finally fixing interactions with devscripts' |
| 574 | wrap-and-sort!) |
| 575 | * Parse foreign architecture (package:any) relationships and also other |
| 576 | multi-arch related relationships (Closes: #670679) |
| 577 | * Parse build-profiles syntax. |
| 578 | |
| 579 | [ John Wright ] |
| 580 | * Fix a GPG validation bug. With some trailing whitespace, the code |
| 581 | could be tricked into validating a signature, but using the bogus |
| 582 | data after the signed section (Closes: #695932). |
| 583 | * Drop support for python2.5. (This allows us to do fewer import hacks |
| 584 | in deb822, and probably other modules as well.) |
| 585 | * Add a deb822.RestrictedWrapper class, for exposing read-only access |
| 586 | to a Deb822 instance's field values as strings, while restricting |
| 587 | write access to some fields, which are exposed via properties. |
| 588 | * deb822.Deb822Dict.dump: Add a text_mode parameter for dumping to |
| 589 | file(-like) objects that assume text/unicode input. |
| 590 | * Add a copyright module, for parsing machine-readable debian/copyright |
| 591 | files (Closes: #671485). |
| 592 | * Make deb822 tests hermetic with respect to debian-keyring updates |
| 593 | (Closes: #760488). |
| 594 | |
| 595 | -- John Wright <[email protected]> Wed, 10 Sep 2014 23:18:38 -0700 |
| 596 | |
| 597 | python-debian (0.1.22) unstable; urgency=low |
| 598 | |
| 599 | [ John Wright ] |
| 600 | * Acknowledge NMUs. (Thanks for your work, Colin and Fathi!) |
| 601 | * arfile.ArFile.extractfile: Return a matching member even if it is |
| 602 | not the first one in the archive. Thanks to Mika Eloranta for the |
| 603 | report and patch. (Closes: #689313) |
| 604 | * deb822.Deb822.iter_paragraphs: Actually work with string input. |
| 605 | Thanks to Stefano Rivera for the patch. (Closes: #647455) |
| 606 | |
| 607 | [ Stuart Prescott ] |
| 608 | * Add myself to Uploaders. |
| 609 | * Change Vcs-* URLs to canonical locations. |
| 610 | * Switch build system to short form dh and pybuild. |
| 611 | * Use nose to run test suite. |
| 612 | * Add autopkgtest test suite. |
| 613 | |
| 614 | [ John Wright ] |
| 615 | * python_support: Avoid hashlib dependency, using the built-in _sha or |
| 616 | _sha1 module (depending on Python version) instead. That way we |
| 617 | don't link in OpenSSL, which has an incompatible license. |
| 618 | (Closes: 747031) |
| 619 | |
| 620 | -- John Wright <[email protected]> Wed, 11 Jun 2014 02:25:21 -0700 |
| 621 | |
| 622 | python-debian (0.1.21+nmu3) unstable; urgency=medium |
| 623 | |
| 624 | * Non-maintainer upload. |
| 625 | * Add support for xz-compressed packages. (Closes: #506861) |
| 626 | * Byte-compile python modules for python3-debian. (Closes: #709935) |
| 627 | |
| 628 | -- Fathi Boudra <[email protected]> Tue, 29 Apr 2014 20:32:47 +0300 |
| 629 | |
| 630 | python-debian (0.1.21+nmu2) unstable; urgency=low |
| 631 | |
| 632 | * Non-maintainer upload. |
| 633 | * In Python 2, restore Deb822Dict.has_key method for compatibility. |
| 634 | (Closes: #686731) |
| 635 | |
| 636 | -- Colin Watson <[email protected]> Wed, 05 Sep 2012 11:28:58 +0100 |
| 637 | |
| 638 | python-debian (0.1.21+nmu1) unstable; urgency=low |
| 639 | |
| 640 | * Non-maintainer upload. |
| 641 | * Port to Python 3. (Closes: #625509) |
| 642 | |
| 643 | -- Colin Watson <[email protected]> Wed, 22 Aug 2012 16:27:05 +0100 |
| 644 | |
| 645 | python-debian (0.1.21) unstable; urgency=low |
| 646 | |
| 647 | [ Tshepang Lekhonkhobe ] |
| 648 | * test_changelog.py: Close open files. (Closes: #625672) |
| 649 | |
| 650 | [ John Wright ] |
| 651 | * deb822: Allow ':' as the first character of a value. |
| 652 | (Closes: #597249) |
| 653 | * deb822: Avoid dumping unparseable data. (Closes: #597120) |
| 654 | * Clean up deb822.GpgInfo implementation: |
| 655 | - Change several @staticmethod decorated methods to @classmethod, |
| 656 | since they call the class constructor. |
| 657 | - from_sequence now can accept both sequences of newline-terminated |
| 658 | strings and the output of str.splitlines(). |
| 659 | - from_file now actually calls the from_sequence method. |
| 660 | (Closes: #627058) |
| 661 | - from_sequence now makes a copy of the initial args list before |
| 662 | extending it. (Closes: #627060) |
| 663 | - Keyrings are no longer checked for accessibility, since gpgv can |
| 664 | accept keyring arguments that are under the GnuPG home directory, |
| 665 | regardless of the current directory. (Closes: #627063) |
| 666 | * deb822.Deb822.gpg_info takes an optional keyrings argument. |
| 667 | * deb822: Don't interpret lines starting with '#'. (Closes: #632306) |
| 668 | |
| 669 | [ Colin Watson ] |
| 670 | * Use dh_python2 instead of python-support. (Closes: #631392) |
| 671 | |
| 672 | -- John Wright <[email protected]> Wed, 03 Aug 2011 23:07:17 -0700 |
| 673 | |
| 674 | python-debian (0.1.20) unstable; urgency=low |
| 675 | |
| 676 | * Fix FTBFS, caused by referring to apt_pkg in a test with no |
| 677 | python-apt Build-Depends. (Closes: #623011) |
| 678 | * changelog: Implement __unicode__ in ChangeBlock and Changelog. |
| 679 | (Closes: #561805) |
| 680 | |
| 681 | -- John Wright <[email protected]> Sun, 17 Apr 2011 17:37:44 -0700 |
| 682 | |
| 683 | python-debian (0.1.19) unstable; urgency=low |
| 684 | |
| 685 | * debian_support.BaseVersion: Disallow ':' in upstream version if |
| 686 | there is no epoch. Original patch by Steve Kowalik. |
| 687 | (Closes: #619997) |
| 688 | |
| 689 | -- John Wright <[email protected]> Fri, 15 Apr 2011 02:05:45 -0700 |
| 690 | |
| 691 | python-debian (0.1.18+nmu1) unstable; urgency=low |
| 692 | |
| 693 | * Non-maintainer upload. |
| 694 | * Migrate to new python-apt API (Closes: #604544) |
| 695 | |
| 696 | -- Julian Andres Klode <[email protected]> Tue, 05 Apr 2011 11:02:08 +0200 |
| 697 | |
| 698 | python-debian (0.1.18) unstable; urgency=low |
| 699 | |
| 700 | * Support installation together with older versions of python-apt. |
| 701 | Original patch by Jelmer Vernooij. (Closes: #590805) |
| 702 | |
| 703 | -- John Wright <[email protected]> Wed, 04 Aug 2010 01:16:52 -0700 |
| 704 | |
| 705 | python-debian (0.1.17) unstable; urgency=low |
| 706 | |
| 707 | [ James Westby ] |
| 708 | * Use os.path.normpath to hide python version differences |
| 709 | |
| 710 | [ John Wright ] |
| 711 | * test_deb822.py: Make test_gpg_info more robust (Closes: #582878) |
| 712 | * deb822: Use chardet to try to detect character encodings as necessary |
| 713 | - This is only used when the specified encoding doesn't work. It's mainly |
| 714 | useful for files containing multiple deb822 paragraphs with mixed |
| 715 | encodings, like etch's Sources file. (Closes: #586021) |
| 716 | |
| 717 | -- John Wright <[email protected]> Sun, 25 Jul 2010 02:07:11 -0700 |
| 718 | |
| 719 | python-debian (0.1.16) unstable; urgency=low |
| 720 | |
| 721 | * debian_support: Be more careful in case apt_pkg is not available |
| 722 | - If apt_pkg is not available, AptPkgVersion now raises |
| 723 | NotImplementedError on any initialization attempt |
| 724 | - test_debian_support.py now doesn't try to test AptPkgVersion if |
| 725 | apt_pkg is not available |
| 726 | * test_deb822.py: Don't test gpg info if debian-keyring is not |
| 727 | available (Closes: #573934) |
| 728 | * Use the warnings system to report deprecation warnings |
| 729 | (Closes: #573945) |
| 730 | * Change examples and control file to refer to debian instead of |
| 731 | debian_bundle |
| 732 | |
| 733 | -- John Wright <[email protected]> Mon, 15 Mar 2010 20:02:17 -0600 |
| 734 | |
| 735 | python-debian (0.1.15) unstable; urgency=low |
| 736 | |
| 737 | [ John Wright ] |
| 738 | * deb822: Don't ignore leading newlines on field data with apt_pkg |
| 739 | (Closes: #466753) |
| 740 | * changelog: Consistently parse different types of inputs. The |
| 741 | previous implementation added extra newlines when given a file |
| 742 | object as input, rather than the result of str.splitlines(). |
| 743 | (Closes: #539316) |
| 744 | * deb822: Faster non-shared storage by keeping a TagFile object |
| 745 | around for each Deb822 object yielded |
| 746 | |
| 747 | [ Stefano Zacchiroli ] |
| 748 | * make debian_support.Version hashable, patch from Piotr Ożarowski |
| 749 | (Closes: #543223) |
| 750 | |
| 751 | [ Filippo Giunchedi ] |
| 752 | * changelog: add iterator over changelog blocks (Closes: #539334) |
| 753 | * changelog: split tests into tests/test_changelog.py for consistency |
| 754 | |
| 755 | [ John Wright ] |
| 756 | * deb822: Use the apt_pkg.TagFile class instead of apt_pkg.ParseTagFile() |
| 757 | (Closes: #552190) |
| 758 | * test_deb822.py: Update to support new gpg "SIG_ID" algorithm |
| 759 | * deb822: Better support for non-ascii values. Deb822 objects now |
| 760 | always contain unicode objects instead of strings. Use the encoding |
| 761 | argument to Deb822's initializer and its iter_paragraphs class |
| 762 | method if the encoding of a file you are reading in is not utf-8. |
| 763 | (The dump method also takes an encoding argument, if you wish the |
| 764 | output not to be utf-8-encoded.) (Closes: #495272) |
| 765 | * Use the apt_pkg.TagFile iterator interface instead of hacking its |
| 766 | offset. As of python-apt version 0.7.94, that interface doesn't use |
| 767 | shared storage. (Closes: #571470) |
| 768 | * debian_support: Add a native python Version class, based on Raphael |
| 769 | Hertzog's DpkgVersion class in the PTS (Closes: #562257, #573009) |
| 770 | |
| 771 | [ Jelmer Vernooij ] |
| 772 | * Remove unused imports in the debfile and debtags modules |
| 773 | |
| 774 | [ John Wright ] |
| 775 | * changelog: Use debian_support.Version directly |
| 776 | * Deprecate the 'debian_bundle' package in favor of a new 'debian' |
| 777 | package (Closes: #570210) |
| 778 | * debian_support: split tests into tests/test_debian_support.py for |
| 779 | consistency |
| 780 | * Convert to "3.0 (native)" source format and update Standards-Version |
| 781 | to 3.8.4 (no changes necessary) |
| 782 | |
| 783 | -- John Wright <[email protected]> Sun, 14 Mar 2010 05:04:50 -0600 |
| 784 | |
| 785 | python-debian (0.1.14) unstable; urgency=low |
| 786 | |
| 787 | [ Stefano Zacchiroli ] |
| 788 | * setup.py.in: switch to setuptools, which are able to generate eggs; |
| 789 | add matching build-dep on python-setuptools (Closes: #525694) |
| 790 | * examples/deb822/: add new example render-dctrl, to render packages in |
| 791 | a dctrl-tools pipeline (using Markdown as long description syntax) |
| 792 | * deb822: use __new__ to sub-class strings for case-insensitiveness; |
| 793 | former approach is deprecated with python 2.6. |
| 794 | Thanks to Loïc Minier for the patch. (Closes: #524061) |
| 795 | |
| 796 | [ Filippo Giunchedi ] |
| 797 | * deb822: parse also Binary as PkgRelation, thus add .binary attribute |
| 798 | |
| 799 | [ Muharem Hrnjadovic ] |
| 800 | * fixed changelog parser exception raised when dealing with empty |
| 801 | changelog files (LP: #400589). |
| 802 | |
| 803 | -- Stefano Zacchiroli <[email protected]> Sat, 18 Jul 2009 21:26:40 +0200 |
| 804 | |
| 805 | python-debian (0.1.13) unstable; urgency=low |
| 806 | |
| 807 | [ John Wright ] |
| 808 | * deb822: Correctly handle deletion of keys that only exist in a pre-parsed |
| 809 | dictionary |
| 810 | |
| 811 | [ Stefano Zacchiroli ] |
| 812 | * change naming convention to match PEP 8, with backward compatibility |
| 813 | (and deprecation warnings) for all old names. Thanks to Ben Finney for |
| 814 | the patch. (Closes: #489722) |
| 815 | * Switch from "sha" module to "hashlib": fix a deprecation warning of |
| 816 | Python 2.6. As a consequence, update pyversions to require a minimum |
| 817 | of Python 2.5, which is available also in stable now. (Closes: #518427) |
| 818 | * debian_support.PackageFile: allow for stanza separators made of tabs |
| 819 | and spaces in addition to newlines (Closes: #501927) |
| 820 | * bump Standards-Version to 3.8.1 (no changes needed) |
| 821 | |
| 822 | -- Stefano Zacchiroli <[email protected]> Tue, 07 Apr 2009 10:21:04 +0200 |
| 823 | |
| 824 | python-debian (0.1.12) unstable; urgency=low |
| 825 | |
| 826 | [ Filippo Giunchedi ] |
| 827 | * Add initial support to deb822 for gpg signature checking (Closes: #485829) |
| 828 | * Suggest gpgv for signature checking |
| 829 | |
| 830 | [ Stefano Zacchiroli ] |
| 831 | * deb822: add support for pretty printing structured inter-package |
| 832 | relationships (and relevant tests) |
| 833 | * debfile: add support for .tar.bz2 parts contained in .deb packages, and |
| 834 | relative regression test. Thanks to Cameron Dale and Tom Parker. |
| 835 | (Closes: #462859). |
| 836 | |
| 837 | [ John Wright ] |
| 838 | * deb822: allow the use of unicode objects in __getitem__ |
| 839 | * changelog: fix the "topline" regular expression to match the one in dpkg's |
| 840 | Dpkg/Changelog/Debian.pm so that it allows '.' and '+' in the distribution |
| 841 | field |
| 842 | * deb822: Add a use_apt_pkg parameter to Deb822.iter_paragraphs. Now, |
| 843 | callers can set use_apt_pkg=True and shared_storage=False (now the default) |
| 844 | in order to take advantage of apt_pkg's speed and still be able to use |
| 845 | values across iterations. (Closes: #504413) |
| 846 | |
| 847 | -- John Wright <[email protected]> Wed, 05 Nov 2008 16:03:40 -0700 |
| 848 | |
| 849 | python-debian (0.1.11) unstable; urgency=low |
| 850 | |
| 851 | [ James Westby ] |
| 852 | * Allow urgency=HIGH and other words made of capital letters there, see |
| 853 | fuse's changelog. |
| 854 | * Allow any number of spaces before "urgency" in the header line of a |
| 855 | changelog, see lvm2's changelog in Ubuntu. |
| 856 | * Overhaul the parsing code to follow that used by dpkg-parsechangelog.py, |
| 857 | making it much more robust. |
| 858 | - There is now a "strict" option to turn warnings in to errors. It is |
| 859 | on by default. |
| 860 | * The file parameter in the changelog can now be a file-like object, |
| 861 | to save reading a file to a string first. Thanks to Tilman Koschnick. |
| 862 | (Closes: #487797) |
| 863 | |
| 864 | [ John Wright ] |
| 865 | * debian/control: |
| 866 | - Fix a typo in the Description field (Closes: #483688) |
| 867 | * debian_bundle/deb822.py: Checksums-Sha1 and Checksums-Sha256 don't have |
| 868 | section or priority subfields (Closes: #487902) |
| 869 | |
| 870 | [ Stefano Zacchiroli ] |
| 871 | * debian_bundle/deb822.py: add support for "parsed" dependencies and other |
| 872 | inter-package relationships. See examples/deb822/depgraph for sample usage |
| 873 | * examples/deb822/ add new example "depgraph" |
| 874 | * tests/test_deb822.py: add tests for inter-package relationships |
| 875 | * debian_bundle/debfile.py: add has_key (same implementation of |
| 876 | __contains__) to better emulate dictionary containers |
| 877 | * minor revamp of README pointing to deb822.py for Packages parsing and |
| 878 | mentioning debfile.py |
| 879 | * debian/control: |
| 880 | - fix Vcs-* fields to point to the new git repository (bzr is gone) |
| 881 | * bump Standards-Version to 3.8.0, no changes needed though profit of the |
| 882 | possibility of wrapping Uploaders in debian/control |
| 883 | |
| 884 | [ Filippo Giunchedi ] |
| 885 | * Add test case for changes file with checksums (see #487902) |
| 886 | |
| 887 | -- Stefano Zacchiroli <[email protected]> Wed, 06 Aug 2008 23:48:38 -0300 |
| 888 | |
| 889 | python-debian (0.1.10) unstable; urgency=low |
| 890 | |
| 891 | * debian_bundle/deb822.py, tests/test_deb822.py: |
| 892 | - Do not cache _CaseInsensitiveString objects, since it causes case |
| 893 | preservation issues under certain circumstances (Closes: #473254) |
| 894 | - Add a test case |
| 895 | * debian_bundle/deb822.py: |
| 896 | - Add support for fixed-length subfields in multivalued fields. I updated |
| 897 | the Release and PdiffIndex classes to use this. The default behavior for |
| 898 | Release is that of apt-ftparchive, just because it's simpler. Changing |
| 899 | the behavior to resemble dak requires simply setting the |
| 900 | size_field_behavior attribute to 'dak'. (Ideally, deb822 would detect |
| 901 | which behavior to use if given an actual Release file as input, but this |
| 902 | is not implemented yet.) (Closes: #473259) |
| 903 | - Add support for Checksums-{Sha1,Sha256} multivalued fields in Dsc and |
| 904 | Changes classes |
| 905 | * debian/control: |
| 906 | - "python" --> "Python" in the Description field |
| 907 | - Change the section to "python" |
| 908 | |
| 909 | -- John Wright <[email protected]> Wed, 30 Apr 2008 23:58:24 -0600 |
| 910 | |
| 911 | python-debian (0.1.9) unstable; urgency=low |
| 912 | |
| 913 | * Promote python-apt from Suggests to Recommends. (Closes: #462845) |
| 914 | |
| 915 | -- Adeodato Simó <[email protected]> Wed, 06 Feb 2008 15:36:02 +0100 |
| 916 | |
| 917 | python-debian (0.1.8) unstable; urgency=low |
| 918 | |
| 919 | [ Filippo Giunchedi ] |
| 920 | * Move tests to a separate subdirectory. |
| 921 | |
| 922 | [ Stefano Zacchiroli ] |
| 923 | * Add examples dir for deb822 with a simple example. |
| 924 | |
| 925 | [ Adeodato Simó ] |
| 926 | |
| 927 | * Sync debian_support.py with the latest version from the secure-testing |
| 928 | repository. Note that this removes support for version comparison without |
| 929 | apt_pkg. (Our copy was modified in 0.1.2 to *accept* ~ in version strings, |
| 930 | but comparison without apt_pkg was already broken by then.) |
| 931 | |
| 932 | Also, undo the change introduced for #431087, since we shouldn't be |
| 933 | keeping incompatible versions of debian_support.py around, plus the |
| 934 | desired functionality in that bug report is best provided by the deb822 |
| 935 | module. (Closes: #457697, #457854) |
| 936 | |
| 937 | * While rewriting the grep-maintainer example to use deb822.Packages to |
| 938 | accommodate the above change, make it cope with stanzas without a |
| 939 | maintainer field as well. (Closes: #457855) |
| 940 | |
| 941 | * Fix dump() method of deb822._multivalued. (Closes: #457929) |
| 942 | |
| 943 | * Small improvements to the exception handling in the grep-maintainer |
| 944 | example. |
| 945 | |
| 946 | * Bump Standards-Version to 3.7.3 (no changes needed). |
| 947 | |
| 948 | -- Adeodato Simó <[email protected]> Fri, 28 Dec 2007 19:46:13 +0100 |
| 949 | |
| 950 | python-debian (0.1.7) unstable; urgency=low |
| 951 | |
| 952 | [ John Wright ] |
| 953 | * debian_bundle/deb822.py, debian_bundle/test_deb822.py |
| 954 | - Bug fix: Allow fields with blank (empty string) values. Previously, |
| 955 | these were parsed fine, but if you tried to dump the resulting Deb822 |
| 956 | object, you'd get an IndexError (because of how we handled fields whose |
| 957 | values start with newlines). Added a test case. |
| 958 | - Fix the copy method of Deb822Dict so that it returns an object of the |
| 959 | same type, rather than explicitly instantiating Deb822Dict (so that |
| 960 | subclasses like Deb822 can directly use the copy method and have it "just |
| 961 | work"). Added a test case. |
| 962 | |
| 963 | [ Stefano Zacchiroli ] |
| 964 | * debian/control |
| 965 | - mention the debfile module in the long description |
| 966 | - promote Vcs-Bzr to a real field, now that dpkg supports it |
| 967 | |
| 968 | -- John Wright <[email protected]> Tue, 27 Nov 2007 16:25:33 -0700 |
| 969 | |
| 970 | python-debian (0.1.6) unstable; urgency=low |
| 971 | |
| 972 | [ Stefano Zacchiroli ] |
| 973 | * debfile.py |
| 974 | - bugfix: make md5sums top-level method acts as a proxy instead of |
| 975 | returning a method |
| 976 | - bugfix: use readlines() to iterate over the md5sums file since direct |
| 977 | iteration on files is available only in python >= 2.5 (closes: #438804) |
| 978 | - bugfix: support spaces in filenames when accessing md5sums; thanks to |
| 979 | Romain Francoise for the patch (closes: #438909) |
| 980 | |
| 981 | [ John Wright ] |
| 982 | * debian/pyversions: |
| 983 | - Since there are some Python 2.4-isms in this package, support only Python |
| 984 | >= 2.4, rather than all versions (Closes: #438920) |
| 985 | |
| 986 | -- Stefano Zacchiroli <[email protected]> Sat, 08 Sep 2007 10:12:20 +0200 |
| 987 | |
| 988 | python-debian (0.1.5) unstable; urgency=low |
| 989 | |
| 990 | [ Stefano Zacchiroli ] |
| 991 | * debfile.py |
| 992 | - do not fail if extra ar members exist in a .deb, according to deb(5) |
| 993 | extra ar members should be ignored (Closes: #438486). Also add the |
| 994 | corresponding regression test to test_debfile.py |
| 995 | - support both the (buggy) file naming scheme for TarFile of python << 2.5 |
| 996 | (e.g. "control") and of python >= 2.5 (e.g. "./control"). In addition, |
| 997 | enable users to specify file members in three equivalent formats: |
| 998 | "file", "./file", and "/file" (Closes: #438603) |
| 999 | * deb822.py |
| 1000 | - add a deprecation warning (printed on stderr) when accessing the module |
| 1001 | as a top-level one; it should be rather used as "debian_bundle.deb822" |
| 1002 | |
| 1003 | [ John Wright ] |
| 1004 | * examples/debfile/ar, examples/debfile/changelog_head, |
| 1005 | examples/debfile/dpkg-info, examples/debfile/extract_cron: |
| 1006 | - Fix ImportError caused by importing modules as if they were top-level |
| 1007 | modules, rather than modules in the debian_bundle package |
| 1008 | (Closes: #438428) |
| 1009 | |
| 1010 | -- Stefano Zacchiroli <[email protected]> Sun, 19 Aug 2007 09:38:20 +0200 |
| 1011 | |
| 1012 | python-debian (0.1.4) unstable; urgency=low |
| 1013 | |
| 1014 | [ James Westby ] |
| 1015 | * changelog.py |
| 1016 | - Add allow_empty_author option to changelog to allow the author line |
| 1017 | to have no information. |
| 1018 | |
| 1019 | [ Stefano Zacchiroli ] |
| 1020 | * debian/control |
| 1021 | - joining the team: add myself as an uploader |
| 1022 | - add Vcs-Bzr field pointing to our Bzr repository on bzr.debian.org |
| 1023 | * arfile.py / debfile.py |
| 1024 | - new modules implementing (read-only) dpkg-deb like access to .deb |
| 1025 | packages; when possible, access to information contained in .deb is made |
| 1026 | available via other debian_bundle classes (e.g. Changelog, Deb822, ...) |
| 1027 | - code contributed by Stefano Zacchiroli and Filippo Giunchedi |
| 1028 | - corresponding examples in examples/debfile |
| 1029 | * debian_support.py |
| 1030 | - yield dictionaries instead of tuples in Packages parsing and normalize |
| 1031 | to lower case 822 field names (Closes: #431087) |
| 1032 | - no longer require a space after a ':' in RFC 822 fields; fix bogus |
| 1033 | parse errors of Packages-like file with PackageFile() class |
| 1034 | * examples/ |
| 1035 | - added grep-maintainer example to show the Packages parsing API |
| 1036 | |
| 1037 | [ John Wright ] |
| 1038 | * debian_bundle/deb822.py, debian_bundle/test_deb822.py, deb822.py: |
| 1039 | - Import latest version of deb822, and create a "dummy" top-level module |
| 1040 | for compatibility |
| 1041 | - For multiline fields that start with a newline (e.g. Files in a .dsc, |
| 1042 | MD5Sum in Release files), the line with the "Field:" should not end in |
| 1043 | trailing whitespace. Fixed and added test cases. |
| 1044 | * setup.py: |
| 1045 | - The version wasn't getting updated, so I've renamed it to setup.py.in, |
| 1046 | and added a __CHANGELOG_VERSION__ placeholder |
| 1047 | * debian/rules: |
| 1048 | - Generate generate setup.py from setup.py.in, filling in the version |
| 1049 | information from debian/changelog |
| 1050 | - No longer delete deb822 files |
| 1051 | * debian/control: |
| 1052 | - Add myself as an uploader |
| 1053 | - Add Provides, Conflicts, and Replaces fields for python-deb822 |
| 1054 | - When describing features, mention which modules they are implemented in |
| 1055 | * HISTORY.deb822, debian/docs: |
| 1056 | - Install old changelog for deb822 as |
| 1057 | /usr/share/doc/python-debian/HISTORY.deb822 |
| 1058 | * debian_bundle/changelog.py: |
| 1059 | - Accept numbers, '+', and '.' in the distribution field, to match dpkg's |
| 1060 | behavior |
| 1061 | |
| 1062 | -- John Wright <[email protected]> Sun, 5 Aug 2007 00:41:24 -0600 |
| 1063 | |
| 1064 | python-debian (0.1.3) unstable; urgency=low |
| 1065 | |
| 1066 | [ James Westby ] |
| 1067 | * changelog.py |
| 1068 | - Add max_blocks parameter to Changelog constructor. This limits the |
| 1069 | number of blocks that will be parsed to that number. If you only need |
| 1070 | the latest entry then pass max_blocks=1 and you will only have one |
| 1071 | block. This is also useful to avoid trying to parse old changelog |
| 1072 | entries that don't follow the current format. (Closes: #429357) |
| 1073 | |
| 1074 | [ Reinhard Tartler ] |
| 1075 | * debian_bundle/changelog.py: don't fail if a changelog block is not |
| 1076 | parseable. Just return all changelog blocks we've been able to parse |
| 1077 | so far. (Closes: #429299) |
| 1078 | |
| 1079 | -- James Westby <[email protected]> Sun, 17 Jun 2007 13:25:20 +0100 |
| 1080 | |
| 1081 | python-debian (0.1.2) unstable; urgency=low |
| 1082 | |
| 1083 | [ James Westby ] |
| 1084 | * debian_support.py |
| 1085 | - Support ~ in version numbers when python-apt is not installed. |
| 1086 | * Turn on the testsuites of changelog.py, and debtags.py in the build. |
| 1087 | * debtags.py |
| 1088 | - Rename with to with_ to avoid a warning on python2.5 as with will be |
| 1089 | a keyword in 2.6. (Closes: #409333) |
| 1090 | * Suggest python-apt and mention why in the README. |
| 1091 | |
| 1092 | [Reinhard Tartler] |
| 1093 | * Fix the regex matching the end line of a debian/changelog. Using |
| 1094 | improved regex contributed by Francois-Denis Gonthier, thanks! |
| 1095 | (Closes: #410880) |
| 1096 | * disable python_support.py testrun, it is missing in the branch. |
| 1097 | * add myself to uploaders. |
| 1098 | |
| 1099 | -- Reinhard Tartler <[email protected]> Thu, 14 Jun 2007 19:54:13 +0100 |
| 1100 | |
| 1101 | python-debian (0.1.1) unstable; urgency=low |
| 1102 | |
| 1103 | [ John Wright ] |
| 1104 | * changelog.py: |
| 1105 | - Version class: |
| 1106 | + Subclass debian_support.Version, for rich comparison |
| 1107 | + Changing any attribute now automatically updates any other affected |
| 1108 | attribute (i.e. changing full_version will update all of the other |
| 1109 | attributes; changing debian_version will update full_version) |
| 1110 | - Changelog class: |
| 1111 | + Many "getter" and "setter" methods were replaced with properties (so |
| 1112 | they appear as regular object attributes). Most set_* methods remain |
| 1113 | for compatibility, and they're the actual set methods for the |
| 1114 | properties anyway. Please see README.changelog. |
| 1115 | + You can now assign a string to the version attribute, and it will be |
| 1116 | coerced into a Version object |
| 1117 | |
| 1118 | [ James Westby ] |
| 1119 | * changelog.py: |
| 1120 | - Added a method to write the changelog to an open file. |
| 1121 | - Allow single digit day with no extra space in the endline of a |
| 1122 | changelog. Hopefully this wont allow things to be parsed that will |
| 1123 | be rejected by the more important tools. It does allow more files |
| 1124 | to be parsed and used, and I'm not entirely sure what is right. |
| 1125 | - Allow uppercase characters in the version number when parsing |
| 1126 | changelogs. Thanks to Jelmer Vernooij for the report and the fix. |
| 1127 | * README.changelog: |
| 1128 | - Update the documentation to reflect the changes mentioned above |
| 1129 | * Add debian/NEWS to warn of the API changes. |
| 1130 | |
| 1131 | [ Enrico Zini ] |
| 1132 | * debtags.py: |
| 1133 | - Added various methods after the work on the inferrer of tag |
| 1134 | relationships |
| 1135 | - Added tagminer and pkgwalk examples |
| 1136 | |
| 1137 | -- James Westby <[email protected]> Tue, 30 Jan 2007 20:56:44 +0000 |
| 1138 | |
| 1139 | python-debian (0.1.0) experimental; urgency=low |
| 1140 | |
| 1141 | * Initial release. (Closes: #381599) |
| 1142 | |
| 1143 | -- James Westby <[email protected]> Tue, 15 Aug 2006 18:57:57 +0100 |