summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-06-10doc: Document apt_pkg.TagFile additionsJulian Andres Klode2-9/+32
2015-06-10TagFile: Provide close() and context managerJulian Andres Klode1-0/+58
This is mostly meant to be used with tag files that are opened with a path, rather than a file object. Closes: #748922
2015-06-10doc: Prepare for 1.0 releaseJulian Andres Klode3-1/+34
Change the whatsnew page to a two-component variant (1.0, so we do not get bug fix releases mixed in there, and update the pages for the changes planned for 1.0. Not all have been committed yet, though.
2015-06-10python/cache.cc: Handle deprecation of pkgCache::PkgIterator::Section()Julian Andres Klode1-6/+12
Ignore the deprecation from the C++ compiler and generate a warning for the Python interpreter. Also, remove the section from the representation of the package.
2015-06-10sphinx docs: Fix remaining instances of old C syntax to use domainsJulian Andres Klode2-2/+2
Now it really stopped complaining
2015-06-10doc/source/library/apt_pkg.rst: Fix indentationJulian Andres Klode1-3/+3
Closes: #736119
2015-06-10doc/source/c++/api.rst: Upgrade syntax to use the new domain stuffJulian Andres Klode1-218/+218
Makes sphinx stop complaining during the build
2015-06-10Fix indentation and docstring problemsvon3-10/+11
Closes: #784910
2015-05-29Set Standards-Version to 3.9.6von1-1/+1
2015-05-29Remove the "-Wstrict-prototypes" compiler optionvon1-0/+7
It isn't valid for C++. See: http://bugs.python.org/issue9031, http://bugs.python.org/issue1222585 [jak@debian.org: Reworded commit message]
2015-05-22Fix apt.Package.installed_files for multi-arch packagesMichael Vogt1-1/+1
Thanks to Michael Schaller LP: #1313699
2015-05-22rename "md5" keyword argument in AcquireFile() to "hash" and add backward ↵Michael Vogt2-9/+40
compatiblity
2015-05-22apt_pkg.rst: improve documentation for AcquireFile() hash and add sha512 to ↵Michael Vogt1-5/+6
the documentation
2015-05-15tests/test_tagfile.py: Close files we opened to prevent leakageJulian Andres Klode1-4/+4
This bug was initially experienced in the Ubuntu automatic package testing environment, and they fixed it in 0.9.4ubuntu1 with the same (obvious) patch. The bug was reported in Debian as #785337 with a different patch. Compared to the patch suggested in the bug tracker, this version is more idiomatic Python. Closes: #785337
2015-05-07releasing package python-apt version 0.9.4Michael Vogt1-2/+13
2015-05-07update whatsnewMichael Vogt2-10/+17
2015-05-07Fix pep8 errorMichael Vogt1-2/+2
2015-05-07Fix dead links in python-apt documentationMichael Vogt2-1/+10
Closes: #779426
2015-05-07Add MULTI_ARCH_NO constant and deprecate MULTI_ARCH_NONEMichael Vogt2-2/+4
Thanks to Johannes Schauer closes: #782802
2015-05-07Update doc/example/action.py for py3 and latest APIMichael Vogt2-73/+75
closes: #782335
2015-05-07Update the print_uris.py example to use the new APIvon1-15/+3
Closes: #779217
2015-05-07add Wily templateMartin Pitt2-0/+117
2014-11-07apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a ↵Michael Vogt2-3/+4
.dsc file
2014-11-06Add binding for apt_pkg.maybe_open_clear_signed_file()Michael Vogt2-0/+46
2014-11-06add apt_pkg.sha512sum()Michael Vogt2-2/+73
2014-10-24releasing package python-apt version 0.9.3.11Michael Vogt1-2/+11
2014-10-24Add Ubuntu 15.04 (Vivid Vervet) to the templateMichael Vogt1-0/+119
2014-10-24Merged UbuntuRTMDistribution detection from ubuntuMichael Vogt2-0/+43
* Add template for the "Ubuntu-RTM" derived distribution. * Detect whether a system is running Ubuntu-RTM by way of "system-image-cli -i". Not perfect but close enough.
2014-10-14python/tarfile.cc: use long long in Process() for APT >= 4.14Michael Vogt2-2/+11
The pkgDirStream::Process() signature has changed in apt and is using a long long now for Size and Pos.
2014-09-30Embed changelog entry date and time instead of build date and timeJulian Andres Klode2-3/+14
This makes reproducible builds possible. For non-package builds, simply use the start of the Unix time. Also make sure that all time values are in the UTC timezone. Closes: #762674
2014-09-04releasing package python-apt version 0.9.3.10Michael Vogt1-0/+13
2014-09-03update python-apt.potMichael Vogt1-109/+119
2014-09-03fix testsMichael Vogt3-4/+6
2014-09-03read all tags from a dsc file and improve testsMichael Vogt2-13/+27
2014-09-03add support for apt.debfile.DscSrcPackage.filelistMichael Vogt2-3/+16
2014-09-02Stop reading after the "Format" stanza in a .dsc fileMichael Vogt2-0/+4
This makes the tagfile parser skip the last gpg signature part that also contains a "Version:" line.
2014-09-02python/tag.cc: ensure that the final \n is there when duplicating section dataMichael Vogt1-4/+7
2014-08-28release 0.9.3.9Michael Vogt1-0/+15
2014-08-28tests/test_auth.py: update for gnupg 1.4.18Mauricio Faria de Oliveira2-1/+10
The test 'test_add_key_from_server_mitm' needs updating for gnupg 1.4.18 which fail differently/earlier when 'fingerprints do not match' since commit 'Screen keyserver responses' (5230304349490f31aa64ee2b69a8a2bc06bf7816) With that change gnupg actually checks itself(!) if the key that the server send matches the key that the user asked for. Closes: #755342
2014-08-28tests/test_pep8.py: --ignore E129 too (fix FTBFS with pep8 >= 1.5)Mauricio Faria de Oliveira1-1/+3
2014-07-08doc/source/tutorials/apt-get.rst: Remove -s from --print-uris invocationJulian Andres Klode1-1/+1
This is not needed with APT 1.0 and does not work anymore. LP: #1308670 Reported-by: Sean Payne <sean.d.payne@gmail.com>
2014-07-04fix another pep8 failureMichael Vogt1-1/+1
2014-06-30releasing package python-apt version 0.9.3.8Michael Vogt1-0/+7
2014-06-30make pep8 happy (again)Michael Vogt13-86/+86
2014-06-10releasing package python-apt version 0.9.3.7Michael Vogt1-1/+1
2014-06-10libapt uses pkgSourceRecords::Step() tooMichael Vogt1-2/+2
2014-06-10add apt_pkg.SourceRecords.step() to all steping through all SrcRecordsMichael Vogt2-1/+25
2014-06-10Revert "Merge remote-tracking branch 'mvo/feature/srcrec-enum' into debian/sid"Michael Vogt5-170/+111
This reverts commit 1b6b123a052ca2d53e90b62da09ce300d701265a, reversing changes made to 9de6a183f09f0d0adbcc5817872c5a0024f5ef47.
2014-06-10prepare 0.9.3.7Michael Vogt1-0/+10
2014-06-10Merge remote-tracking branch 'mvo/feature/srcrec-enum' into debian/sidMichael Vogt5-111/+170
Conflicts: debian/control