lp:debian/wheezy/python-debian
- Get this branch:
- bzr branch lp:debian/wheezy/python-debian
Branch information
- Owner:
- Ubuntu branches
- Status:
- Development
Recent revisions
- 12. By John Wright
-
[ 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) - 11. By John Wright
-
* 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) - 10. By John Wright
-
debian_
support. BaseVersion: Disallow ':' in upstream version if
there is no epoch. Original patch by Steve Kowalik.
(Closes: #619997) - 9. By John Wright
-
Support installation together with older versions of python-apt.
Original patch by Jelmer Vernooij. (Closes: #590805) - 8. By John Wright
-
[ 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) - 7. By John Wright
-
* 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 - 6. By John Wright
-
[ 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) - 5. By Stefano Zacchiroli
-
[ 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). - 4. By Stefano Zacchiroli
-
[ 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) - 3. By John Wright
-
[ 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)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:debian/python-debian