python-apt (0.8.3ubuntu7.4+lliurex1) precise; urgency=high * Added LliureX as a distribution -- Angel Berlanas Vicente Thu, 16 Jul 2015 13:42:58 +0200 python-apt (0.8.3ubuntu7.3) precise-proposed; urgency=medium * Update list of mirrors from launchpad, using pre-build.sh hook. (LP: #1397578) -- Brian Murray Tue, 06 Jan 2015 16:55:37 -0800 python-apt (0.8.3ubuntu7.2) precise; urgency=medium * Cherry-pick fixes from 0.8.8ubuntu1 to close apt.Cache and free file-descriptors. (LP: #1051935). * Update list of mirrors from launchpad, using pre-build.sh hook. -- Dimitri John Ledkov Fri, 24 Jan 2014 12:19:45 +0000 python-apt (0.8.3ubuntu7.1) precise-proposed; urgency=low * Make python{,3}-apt{,-dbg} Multi-Arch: allowed. LP: #1130709. -- Matthias Klose Fri, 22 Feb 2013 09:14:45 +0100 python-apt (0.8.3ubuntu7) precise; urgency=low [ Michael Vogt ] * python/cache.cc: - ensure that pkgApplyStatus is called when the cache is opened Thanks to Sebastian Heinlein for finding this bug, providing a fix and adding a regression test, LP: #659438 -- Michael Vogt Wed, 18 Apr 2012 10:26:06 +0200 python-apt (0.8.3ubuntu6) precise; urgency=low * apt/cache.py: - fix _have_multi_arch flag (thanks to Sebastian Heinlein) LP: #966916 -- Michael Vogt Mon, 02 Apr 2012 14:33:50 +0200 python-apt (0.8.3ubuntu5) precise; urgency=low [ Michael Vogt ] * apt/package.py: - if there is no Version.uri return None [ Julian Andres Klode ] * python/apt_pkgmodule.cc: - Fix apt_pkg.Dependency.TYPE_RECOMMENDS, had Suggests value previously -- Michael Vogt Tue, 27 Mar 2012 13:34:19 +0200 python-apt (0.8.3ubuntu4) precise; urgency=low * doc/examples/build-deps.py: - update the build-deps.py example to use the apt API more * add support for apt_pkg.Policy.get_priority(PkgFileIterator) * apt/debfile.py: - use apt_inst for reading the control_filelist * debian/control: - remove no longer needed dependency on python-debian * tests/test_tagfile.py: - add test for apt_pkg.TagFile() both for compressed/uncompressed files * python/tag.cc, tests/test_tagfile.py: - add support a filename argument in apt_pkg.TagFile() (in addition to the file object currently supported) * tests/test_apt_cache.py: - fix tests on kfreebsd/ia64 * apt/debfile.py: - fix crash in dep multiarch handling -- Michael Vogt Tue, 14 Feb 2012 09:37:18 +0100 python-apt (0.8.3ubuntu3) precise; urgency=low * rebuild against latest libapt -- Michael Vogt Mon, 30 Jan 2012 10:56:44 +0100 python-apt (0.8.3ubuntu2) precise; urgency=low * debian/control: Drop unnecessary Recommends: python2.6 again. -- Martin Pitt Fri, 09 Dec 2011 12:59:15 +0100 python-apt (0.8.3ubuntu1) precise; urgency=low * merged from debian/sid -- Michael Vogt Thu, 08 Dec 2011 20:44:30 +0100 python-apt (0.8.3) unstable; urgency=low [ Alexey Feldgendler ] * handle architecture-specific conflicts correctly (LP: #829138) [ Michael Vogt ] * lp:~mvo/python-apt/debfile-multiarch: - add multiarch support to the debfile.py code (LP: #854839) * tests/test_apt_cache.py: - add additional check if provides test can actually be run -- Michael Vogt Thu, 08 Dec 2011 20:31:52 +0100 python-apt (0.8.2) unstable; urgency=low [ Michael Vogt ] * merged from ubuntu: - use logging instead of print - update distro template Ubuntu.info.in - add xz compression support * po/python-apt.pot: - refreshed * po/pt_BR.po: - updated, thanks to Sergio Cipolla (closes: #628398) * po/da.po: - updated, thanks to Joe Dalton (closes: #631309) * po/sr.po: - updated, thanks to Nikola Nenadic (closes: #638308) * python/apt_pkgmodule.cc: - add apt_pkg.get_architectures() call * apt/cache.py: - remove "print" when creating dirs in apt.Cache(rootdir=dir), thanks to Martin Pitt - add __lt__ to apt.Package so that sort() sorts by name on list of package objects * debian/control: - add recommends to xz-lzma to ensure we have the unlzma command * apt/cache.py: - set Dir::bin::dpkg if a alternate rootdir is given (LP: #885895) * build fixes for the apt in experimental * apt/debfile.py: - raise error when accessing require_changes and missing_deps without calling check() before, thanks to Tshepang Lekhonkhobe (closes: #624379) * apt/package.py: - add new "suggests" property, thanks to Christop Groth - allow Dependency object to be iteratable, this allows to write code like: for or_dep_group in pkg.candidate.dependencies: for dep in or_dep_group: do_something() (thanks to Christop Groth) * apt/progress/base.py: - write exception text to stderr to avoid hidding exceptions like "pre-configure failed" from libapt (thanks to Jean-Baptiste Lallement) [ Tshepang Lekhonkhobe ] * rm usage of camelcase in cache.py doc (closes: #626617) * grammar fix in the cache.py doc (closes: #626610) [ Nikola Pavlović ] * fixed a typo, changed "Open Source software" to "free and open-source software" (LP: #500940) -- Michael Vogt Thu, 01 Dec 2011 14:14:42 +0100 python-apt (0.8.1ubuntu1) precise; urgency=low * aptsources/sourceslist.py: - import distinfo from the same dir (LP: #871007) * data/templates/Ubuntu.info.in: - add precise -- Michael Vogt Wed, 19 Oct 2011 17:46:18 +0200 python-apt (0.8.1) unstable; urgency=low [ Julian Andres Klode ] * Breaks: debsecan (<< 0.4.15) [not only << 0.4.14] (Closes: #629512) [ Michael Vogt ] * python/arfile.cc: - use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx * tests/test_aptsources_ports.py, tests/test_aptsources.py: - use tmpdir during the tests to fix test failure with apt from experimental * tests/test_apt_cache.py: - fix test by providing proper fixture data - fix test if sources.list is not readable (as is the case on some PPA buildds) * apt/package.py: - fix py3 compatiblity with print * tests/test_all.py: - skip all tests if sources.list is not readable (as is the case on some builds) - packages in marked_install state can also be auto-removable * add concept of "ParentComponent" for e.g. ubuntu/multiverse that needs universe enabled as well (plus add test) * apt/progress/gtk2.py: - update to the latest vte API for child-exited (LP: #865388) -- Michael Vogt Wed, 19 Oct 2011 16:39:13 +0200 python-apt (0.8.0ubuntu9) oneiric; urgency=low * apt/progress/gtk2.py: - update to the latest vte API for child-exited (LP: #865388) -- Michael Vogt Tue, 04 Oct 2011 16:35:52 +0200 python-apt (0.8.0ubuntu8) oneiric; urgency=low * add concept of "ParentComponent" for e.g. ubuntu/multiverse that needs universe enabled as well (plus add test) LP: #829284 -- Michael Vogt Wed, 28 Sep 2011 16:27:20 +0200 python-apt (0.8.0ubuntu7) oneiric; urgency=low * aptsources/distinfo.py: - make mirror a valid protocol name * utils/get_ubuntu_mirrors_from_lp.py: - add "mirror://mirrors.ubuntu.com/mirrors.txt" to the default mirror list -- Michael Vogt Thu, 11 Aug 2011 15:38:06 +0200 python-apt (0.8.0ubuntu6) oneiric; urgency=low * debian/control: - remove recommends of python2.6 * tests/test_all.py: - print library dir during the tests to hunt down mysterious build failure on amd64 -- Michael Vogt Wed, 10 Aug 2011 06:12:30 +0200 python-apt (0.8.0ubuntu5) oneiric; urgency=low * setup.py: - enable extra builds too -- Michael Vogt Tue, 09 Aug 2011 16:05:09 +0200 python-apt (0.8.0ubuntu4) oneiric; urgency=low * apt/package.py: - fix py3 compatbility with print -- Michael Vogt Tue, 09 Aug 2011 16:04:04 +0200 python-apt (0.8.0ubuntu3) oneiric; urgency=low * aptsources/sourceslist.py: - fix py3.2 compat issue that causes FTBFS on amd64 tests -- Michael Vogt Mon, 08 Aug 2011 22:48:43 +0200 python-apt (0.8.0ubuntu2) oneiric; urgency=low * disable tests if /etc/apt/sources.list is not readable -- Michael Vogt Mon, 08 Aug 2011 18:51:50 +0200 python-apt (0.8.0ubuntu1) oneiric; urgency=low [ Julian Andres Klode ] * Breaks: debsecan (<< 0.4.15) [not only << 0.4.14] (Closes: #629512) [ Michael Vogt ] * python/arfile.cc: - use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx * tests/test_aptsources_ports.py, tests/test_aptsources.py: - use tmpdir during the tests to fix test failure with apt from experimental * tests/test_apt_cache.py: - fix test by providing proper fixture data - fix test if sources.list is not readable (as is the case on some PPA buildds) * build against the latest libapt -- Michael Vogt Mon, 08 Aug 2011 14:24:29 +0200 python-apt (0.8.0) unstable; urgency=low * Upload to unstable [ Julian Andres Klode ] * Increase Breaks for update-notifier to 0.99.3debian9 * utils/get_debian_mirrors.py: Adjust for new Alioth SCM urls * debian/control: Standards-Version 3.9.2 * Fix Lintian overrides * Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en) * po/urd.po: Remove, ur.po is the correct file * debian/source/format: Add, set it to "3.0 (native)" [ Tshepang Lekhonkhobe ] * Fix get_changelog in Python 3 (Closes: #626532) * apt/package.py: fix a few typos [formated->formatted] (Closes: #597054) * doc/source/tutorials/contributing.rst: minor improvements (Closes: #625225) - one typo [2to => 2to3], one broken link [pep8.py link] [ Translation updates ] * Esperanto (Closes: #626430) -- Julian Andres Klode Fri, 27 May 2011 16:12:46 +0200 python-apt (0.8.0~exp4ubuntu2) UNRELEASED; urgency=low * add missing bits for the xz compression support for the 0.7 API, thanks to Colin Watson for the fix! (LP: #805389) -- Michael Vogt Wed, 13 Jul 2011 11:51:47 +0200 python-apt (0.8.0~exp4ubuntu1) oneiric; urgency=low * Merged from debian/experimental, remaining changes: - updated mirror list - do not disable 0.7 compat API yet -- Michael Vogt Tue, 24 May 2011 10:08:56 +0200 python-apt (0.8.0~exp4) experimental; urgency=low * apt_pkg: Add OrderList, wanted for mancoosi (Closes: #623485) * apt_pkg: Add subclassing fun to PackageManager, for #623485 as well * apt.cache: Emit change signals in ProblemResolver * apt.Cache: Add a _changes_count member for later use -- Julian Andres Klode Fri, 29 Apr 2011 13:57:30 +0200 python-apt (0.8.0~exp3) experimental; urgency=low [ Stéphane Graber ] * Update enable_component to also apply to -src entries (LP: #758732) [ Julian Andres Klode ] * apt_pkg: Add apt_pkg.Version.multi_arch and friends -- Julian Andres Klode Thu, 21 Apr 2011 15:33:38 +0200 python-apt (0.8.0~exp2) experimental; urgency=low * aptsources: Parse multi-arch sources.list files correctly * aptsources: Allow insertion of new multi-arch entries * aptsources: Various cleanup work * all: Fix all instances of ResourceWarning about unclosed files * tests/test_apt_cache.py: Use assertTrue() instead of assert_() * apt_pkg: Raise error when parse_commandline gets empty argv (LP: #707416) * apt_pkg: Fix time_to_str, time_rfc1123 to accept more correct values (time_to_str accepts unsigned long, time_rfc1123 long long, y2k31-correct). * apt.progress: Use long for ETA, natural type for size (LP: #377375) * aptsources/sourceslist.py: s/aptsource.py/sourceslist.py/ (LP: #309603) * doc/examples: Add example on how to get architecture names (LP: #194374) * apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820) * apt.cache: Document that update() may need an open() (Closes: #622342) * apt.cache: Add a fetch_archives() method (Closes: #622347) * doc: Fix a minor formatting error, patch by Jakub Wilk (Closes: #608914) * apt.package: Add 'tasks' to Version, improve doc (Closes: #619574) * doc: Fix documentation of BaseDependency.relation (Closes: #607031) -- Julian Andres Klode Tue, 12 Apr 2011 15:25:38 +0200 python-apt (0.8.0~exp1) experimental; urgency=low * Disable the old-style API, and break all packages using it * Add an 'is_multi_arch' attribute to apt_pkg.Cache * Add apt_pkg.Group class, wrapping pkgCache::GrpIterator * Change apt_pkg.Cache() so that passing None for 'progress' results in no progress output * Support (name, arch) tuples in apt_pkg.Cache mappings, wrapping FindPkg() with two string parameters. * Introduce apt_pkg.Cache.groups and apt_pkg.Cache.group_count * Fix debian/rules to work correctly with tilde in version number -- Julian Andres Klode Tue, 05 Apr 2011 16:21:45 +0200 python-apt (0.7.100.3ubuntu7) oneiric; urgency=low * data/templates/Ubuntu.info.in: - add oneiric templates -- Michael Vogt Fri, 29 Apr 2011 17:30:29 +0200 python-apt (0.7.100.3ubuntu6) natty; urgency=low * Add missing _Description entry to Ubuntu.info for new deb-src entries. (LP: #768363) -- Stéphane Graber Sun, 24 Apr 2011 13:24:53 -0400 python-apt (0.7.100.3ubuntu5) natty; urgency=low [ Stéphane Graber ] * fix enable_components for deb-src entries on ports.ubuntu.com (LP: #760035) -- Michael Vogt Wed, 20 Apr 2011 18:05:51 +0200 python-apt (0.7.100.3ubuntu4) natty; urgency=low * Update enable_component to also apply to -src entries (LP: #758732) -- Stéphane Graber Tue, 12 Apr 2011 10:49:34 -0400 python-apt (0.7.100.3ubuntu3) natty; urgency=low [ Michael Vogt ] * cherry pick multiarch support for aptsources from debian [ Julian Andres Klode ] * aptsources: Parse multi-arch sources.list files correctly * aptsources: Allow insertion of new multi-arch entries -- Michael Vogt Wed, 06 Apr 2011 16:59:07 +0200 python-apt (0.7.100.3ubuntu2) natty; urgency=low * Rename Vcs-* to XS-Debian-Vcs-*. * No other changes upload to build against latest apt and hopefully fix LP #733741. -- Loïc Minier Tue, 05 Apr 2011 18:11:40 +0200 python-apt (0.7.100.3ubuntu1) natty; urgency=low * merge fixes from debian-sid, most notably the fixes to support multiarch (thanks to Julian Andres Klode) -- Michael Vogt Mon, 04 Apr 2011 16:15:15 +0200 python-apt (0.7.100.3) unstable; urgency=low [ Barry Warsaw ] * PyFetchProgress::Pulse(): When ignoring a false return value from PyArg_Parse() after running the simple callback pulse(), there can be an exception on the stack, which must be cleared. (LP: #711225) [ Michael Vogt ] * python/arfile.cc, apt/debfile.py: - add support for .xz archives * tests/test_debfile.py: - add test for xz compression * update priority of python3-apt to match the archive [ Julian Andres Klode ] * python/cache.cc: - Add Package.get_fullname() and Package.architecture * apt/cache.py, apt/package.py: - Add architecture property to apt.Package (LP: #703472) - Change apt.Package.name to use get_fullname(pretty=True) (LP: #740072) * tests/test_debfile.py: - Disable multi-arch for the test, it fails when run via test_all.py - Fix mixed tab/spaces indentation in xz test * tests/test_apt_cache.py: - Package records 'Package' field now corresponds to shortname * debian/python3-apt-dbg.install - Do not try to install old-style debugging files. * debian/rules: - Support the nocheck build option and ignore test failures on hurd (Closes: #610448) - Move Python 3 debug files before installing other files (Closes: #619528) [ Scott Kitterman ] * Removed ${python:Breaks} - No longer used in dh_python2 -- Julian Andres Klode Mon, 04 Apr 2011 12:52:03 +0200 python-apt (0.7.100.2ubuntu4) natty; urgency=low * fix incorrect tab, this fixes a FTBFS -- Michael Vogt Thu, 31 Mar 2011 18:17:07 +0200 python-apt (0.7.100.2ubuntu3) natty; urgency=low [ Michael Vogt ] * python/arfile.cc, apt/debfile.py: - add support for .xz archives * tests/test_debfile.py: - add test for xz compression * update priority of python3-apt to match the archive -- Michael Vogt Wed, 30 Mar 2011 17:16:00 +0200 python-apt (0.7.100.2ubuntu2) natty; urgency=low [ Barry Warsaw ] * PyFetchProgress::Pulse(): When ignoring a false return value from PyArg_Parse() after running the simple callback pulse(), there can be an exception on the stack, which must be cleared. (LP: #711225) -- Barry Warsaw Mon, 28 Mar 2011 18:17:11 -0400 python-apt (0.7.100.2ubuntu1) natty; urgency=low * merged fix for parse_depends() in a multiarch environment from debian/sid branch -- Michael Vogt Mon, 21 Mar 2011 15:23:59 +0100 python-apt (0.7.100.2) unstable; urgency=low * apt/progress/text.py: - only run ioctl for termios.TIOCGWINSZ if the fd is a tty * apt/debfile.py, tests/test_debfile.py: - strip "./" from _get_content and add tests, this fixes a control file extraction bug in gdebi * python/depcache.cc: - when using the actiongroup as a contextmanager incref/decref on enter and leave. this should fix the instablity issues that aptdaemon runs into (LP: #691134) * debian/python3-apt.install: - fix py3 extension module install location (thanks to Barry) * python/depcache.cc: - provide bindings for new libapt SetCandidateRelease() * debian/control: - require new libapt-pkg-dev SetCandidateRelease() * py3 compatible exception handline * debian/control: - bump minimal python version to >= 2.6 * python/apt_pkgmodule.cc: - strip multiarch by default in RealParseDepends - add optional parameter to allow parse_depends() to keep the multiarch parameter * tests/test_deps.py: - add test forapt_pkg.parse_depends(strip_multiarch=True) -- Michael Vogt Mon, 21 Mar 2011 14:56:01 +0100 python-apt (0.7.100.1ubuntu5) natty; urgency=low * python/depcache.cc: - provide bindings for new libapt SetCandidateRelease() * debian/control: - require new libapt-pkg-dev SetCandidateRelease() -- Michael Vogt Fri, 18 Feb 2011 17:26:47 +0100 python-apt (0.7.100.1ubuntu4) natty; urgency=low [ Michael Bienia ] * Use the new "except Exception as e" syntax from Python 2.6 (and later) to allow building with Python 3.2. * Bump XS-Python-Version to >= 2.6 therefor. [ Michael Vogt ] * debian/python3-apt.install: - fix py3 extension module install location (thanks to Barry) -- Michael Vogt Thu, 13 Jan 2011 22:58:43 +0100 python-apt (0.7.100.1ubuntu3) natty; urgency=low * python/depcache.cc: - fix another refcount problem -- Michael Vogt Wed, 22 Dec 2010 16:39:49 +0100 python-apt (0.7.100.1ubuntu2) natty; urgency=low * python/depcache.cc: - when using the actiongroup as a contextmanager incref/decref on enter and leave. this should fix the instablity issues that aptdaemon runs into (LP: #691134) * debian/control: - really dropped python2.6 recommends -- Michael Vogt Wed, 22 Dec 2010 11:03:07 +0100 python-apt (0.7.100.1ubuntu1) natty; urgency=low * merged from debian * dropped python2.6 recommends * apt/progress/text.py: - only run ioctl for termios.TIOCGWINSZ if the fd is a tty * apt/debfile.py, tests/test_debfile.py: - strip "./" from _get_content and add tests, this fixes a control file extraction bug in gdebi -- Michael Vogt Tue, 21 Dec 2010 18:18:59 +0100 python-apt (0.7.100.1) unstable; urgency=low [ Julian Andres Klode ] * python/generic.h: Fix a memory leak (leaking on every unicode string). * debian/control: add Replaces to python-apt-common, python3-apt; to avoid file conflicts with files previously in python-apt (Closes: #605136). [ Michael Vogt ] * python/generic.h: - set Object to NULL in CppDeallocPtr * python/depcache.cc: - don't run "actiongroup.release()" if the object was already deallocated * tests/test_apt_cache.py: - fix tests to work if apt compressed indexes are enabled -- Julian Andres Klode Sun, 12 Dec 2010 14:30:33 +0100 python-apt (0.7.100ubuntu2) natty; urgency=low * python/generic.h: - set Object to NULL in CppDeallocPtr * python/depcache.cc: - don't run "actiongroup.release()" if the object was already deallocated -- Michael Vogt Tue, 07 Dec 2010 14:49:42 +0100 python-apt (0.7.100ubuntu1) natty; urgency=low * re-merged from debian/sid * tests/test_apt_cache.py: - fix tests to work if apt compressed indexes are enabled -- Michael Vogt Wed, 24 Nov 2010 10:58:05 +0100 python-apt (0.7.100) unstable; urgency=low * Final 0.7.100 release; targeted at Squeeze. * apt/debfile.py: - Replace (undocumented) use of python-debian debfile.DebFile API with the equivalent apt_inst.DebFile API (Closes: #603043) * apt/package.py: - Fix docstring of Package.mark_delete() (Closes: #599042) * doc: - Various documentation updates. - The C++ API/ABI is stable now. * po - Update sl.po (Closes: #603359) -- Julian Andres Klode Wed, 17 Nov 2010 16:53:55 +0100 python-apt (0.7.98.1ubuntu2) natty; urgency=low * rebuild for python2.7 -- Michael Vogt Wed, 10 Nov 2010 17:49:45 +0100 python-apt (0.7.98.1ubuntu1) natty; urgency=low [ Michael Vogt ] * merged from debian/sid, remaining changes: - updated mirror list - compat fixes for 3.x (pending upstream inclusion) [ Jeremy Bicha ] * data/templates/Ubuntu.info.in: - add natty, LP:661578 -- Michael Vogt Mon, 18 Oct 2010 10:55:00 +0200 python-apt (0.7.98.1) unstable; urgency=low [ Piotr Ozarowski ] * Use dh_python3 to handle Python 3 files - bump minimum required versions of python-central and python3-all-dev - add new python3-apt, python3-apt-bdg and python-common binary packages * Replace python-central with dh_python2 -- Michael Vogt Wed, 29 Sep 2010 20:38:25 +0200 python-apt (0.7.98) unstable; urgency=low [ Michael Vogt ] * python/acquire.cc: - return long long when calling TotalNeeded(), FetchNeeded() and PartialPresent() from pkgAcquire(). This follows the change in libapt. * apt/debfile.py: - add missing init for _installed_conflicts (LP: #618597) * add "provides" property to the apt.Version objects * apt/debfile.py: - fix error when reading binary content and add regresion test * merged patch from Samuel Lidén Borell to fix crash if there utf8 in the control file (LP: #624290) and add test * apt/cache.py: - add "sources_list" parameter to cache.update() to force updating a single sources.list entry only * debian/control: - add missing build-depends on python-debian (needed to run the tests for apt.debfile.DebPackage() * data/templates/Ubuntu.info.in: - add extras.ubuntu.com and archvie.canonical.com to the templates * aptsources/distinfo.py, aptsources/distro.py: - support non-official templates (like extras.ubuntu.com) * fix return type of DebSize() and UsrSize(), thanks to Sebastian Heinlein, LP: #642936 * merge fix from Steven Chamberlain for crash in unattended-upgrades, many many thanks (closes: #596408) * python/acquire-item.cc: - fix two more int -> long long change to follow the changes from libapt - do use PyString_FromFormat(), in python versions below 2.7 it does not support long long (%llu), use strprintf() from libapt instead [ Kiwinote ] * apt/debfile: - don't fail if we conflict with the pkgs we are reinstalling -- Michael Vogt Tue, 28 Sep 2010 15:47:51 +0200 python-apt (0.7.97.1) unstable; urgency=low * tests/test_apt_cache.py: - Do not insert ".." into sys.path, fixes FTBFS -- Julian Andres Klode Thu, 26 Aug 2010 14:08:01 +0200 python-apt (0.7.97) unstable; urgency=low [ Julian Andres Klode ] * python/tag.cc: - Support gzip compression for control files (Closes: #383617), requires APT (>> 0.7.26~exp10) to work. * doc/conf.py: - Correctly handle non-digit characters in version (ignore everything after them). * python/apt_pkgmodule.cc: - Bind pkgAcquire::Item::StatTransientNetworkError (Closes: #589010) * doc/library/apt_pkg.rst: - Document Configuration.dump(). * debian/control: - Adapt to new Python 3 handling (Closes: #593042) - Build-depend on APT >= 0.8 to get gzip compression enabled (optional, can be reverted for backports) - Set Standards-Version to 3.9.1 [ Michael Vogt ] * python/configuration.cc: - add binding for the "dump()" method to configruation objects * apt/debfile.py: - fix crash in DscFile handling and add regression test * po/pt_BR.po: - updated, thanks to Sergio Cipolla (Closes: #593754) -- Julian Andres Klode Thu, 26 Aug 2010 12:32:54 +0200 python-apt (0.7.96.1ubuntu12) maverick; urgency=low * merge fix from Steven Chamberlain for crash in unattended-upgrades, many many thanks (closes: #596408) * python/acquire-item.cc: - fix two more int -> long long change to follow the changes from libapt - use strprintf() from libapt instead of PyString_FromFormat() because PyString_FromFormat() does not support %llu in python versions below 2.7 -- Michael Vogt Tue, 28 Sep 2010 16:01:21 +0200 python-apt (0.7.96.1ubuntu11) maverick; urgency=low * Fix return type of DebSize() and UsrSize(), its long long, not float. Thanks to Sebastian Heinlein, LP: #642936 -- Michael Vogt Mon, 20 Sep 2010 10:43:47 +0200 python-apt (0.7.96.1ubuntu10) maverick; urgency=low * data/templates/Ubuntu.info.in: - add extras.ubuntu.com and archvie.canonical.com to the templates * aptsources/distinfo.py, aptsources/distro.py: - support non-official templates (like extras.ubuntu.com) * python/tag.cc: - accept "byte" type as well in TacSecNew (for py3) -- Michael Vogt Mon, 13 Sep 2010 11:28:24 +0200 python-apt (0.7.96.1ubuntu9) maverick; urgency=low [ Kiwinote ] * apt/debfile: - don't fail if we conflict with the pkgs we are reinstalling [ Michael Vogt ] * add "provides" property to the apt.Version objects * apt/debfile.py: - fix error when reading binary content and add regresion test * merged patch from Samuel Lidén Borell to fix crash if there utf8 in the control file (LP: #624290) and add test * apt/cache.py: - add "sources_list" parameter to cache.update() to force updating a single sources.list entry only * debian/control: - add missing build-depends on python-debian (needed to run the tests for apt.debfile.DebPackage() -- Michael Vogt Tue, 07 Sep 2010 13:47:03 +0200 python-apt (0.7.96.1ubuntu8) maverick; urgency=low * debian/control: - add missing build-depends on python-debian (needed to run the tests for apt.debfile.DebPackage() -- Michael Vogt Fri, 03 Sep 2010 18:33:50 +0200 python-apt (0.7.96.1ubuntu7) maverick; urgency=low * cherry pick debfile fix from lp:~mvo/python-apt/mvo (402..405): * apt/debfile.py: - fix error when reading binary content and add regresion test -- Michael Vogt Thu, 02 Sep 2010 10:53:46 +0200 python-apt (0.7.96.1ubuntu6) maverick; urgency=low * apt/debfile.py: - add missing init for _installed_conflicts (LP: #618597) -- Michael Vogt Fri, 27 Aug 2010 11:18:13 +0200 python-apt (0.7.96.1ubuntu5) maverick; urgency=low * python/acquire.cc: - return long long when calling TotalNeeded(), FetchNeeded() and PartialPresent() from pkgAcquire(). This follows the change in libapt. -- Michael Vogt Tue, 10 Aug 2010 11:08:14 +0200 python-apt (0.7.96.1ubuntu4) maverick; urgency=low * apt/debfile.py: - fix crash in DscFile handling and add regression test -- Michael Vogt Thu, 05 Aug 2010 23:36:53 +0200 python-apt (0.7.96.1ubuntu3) maverick; urgency=low * rebuild against lastest libapt -- Michael Vogt Thu, 29 Jul 2010 12:23:27 +0200 python-apt (0.7.96.1ubuntu2) maverick; urgency=low [ Michael Vogt ] * python/configuration.cc: - add binding for the "dump()" method to configruation objects -- Michael Vogt Thu, 29 Jul 2010 09:31:10 +0200 python-apt (0.7.96.1ubuntu1) maverick; urgency=low [ Julian Andres Klode ] * python/tag.cc: - Support gzip compression for control files (Closes: #383617), requires APT (>> 0.7.26~exp10) to work. * doc/conf.py: - Correctly handle non-digit characters in version (ignore everything after them). * python/apt_pkgmodule.cc: - Bind pkgAcquire::Item::StatTransientNetworkError (Closes: #589010) [ Michael Vogt ] * merge from debian-sid bzr branch, remaining changes: - do not build for python2.5 -- Michael Vogt Wed, 28 Jul 2010 10:54:25 +0200 python-apt (0.7.96.1) unstable; urgency=low * tests/test_debfile.py: - properly setup fixture data to make debfile test pass (closes: #588796) -- Michael Vogt Mon, 12 Jul 2010 14:14:51 +0200 python-apt (0.7.96) unstable; urgency=low [ Michael Vogt ] * data/templates/gNewSense.info.in, data/templates/gNewSense.mirrors: - add gNewSense template and mirrors, thanks to Karl Goetz * data/templates/Ubuntu.info.in, data/templates/Ubuntu.mirrors: - updated for Ubuntu maverick * doc/source/conf.py: - do not fail on non-digits in the version number * utils/get_debian_mirrors.py: - ignore mirrors without a county * apt/cache.py: - add new "dpkg_journal_dirty" property that can be used to detect a interrupted dpkg (the famous "E: dpkg was interrupted, you must manually run 'dpkg --configure -a'") * merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port the DebPackage class fixes from gdebi into python-apt so that gdebi can use the class from python-apt directly * apt/debfile.py: - check if the debfiles provides are in conflict with the systems packages - fix py3 compatibility * tests/test_debs/*.deb, tests/test_debfile.py: - add automatic test based on the test debs from gdebi * python/progress.cc: - deal with missing return value from the acquire progress in pulse() [ Martin Pitt ] * tests/test_apt_cache.py: Test accessing the record of all packages during iteration. This both ensures that it's well-formatted and structured, and also that accessing it does not take an inordinate amount of time. This exposes a severe performance problem when using gzip compressed package indexes. * apt/cache.py: When iterating over the cache, do so sorted by package name. With this we read the the package lists linearly if we need to access the package records, instead of having to do thousands of random seeks; the latter is disastrous if we use compressed package indexes, and slower than necessary for uncompressed indexes. [ Julian Andres Klode ] * Re-enable Python 3 support for latest python-default changes (hack). -- Michael Vogt Mon, 12 Jul 2010 08:58:42 +0200 python-apt (0.7.95ubuntu2) maverick; urgency=low * apt/utils.py: - fix end date calculation for releases in june -- Michael Vogt Thu, 10 Jun 2010 11:50:21 +0200 python-apt (0.7.95ubuntu1) maverick; urgency=low * merge from debian bzr, remaining changes: - different mirror list * revert commit 346 (this re-enable the deprecation warnings) * data/templates/gNewSense.info.in, data/templates/gNewSense.mirrors: - add gNewSense template and mirrors, thanks to Karl Goetz * doc/source/conf.py: - do not fail for non digit version numbers like 0.7.95ubuntu1 -- Michael Vogt Tue, 01 Jun 2010 17:36:56 +0200 python-apt (0.7.95) unstable; urgency=low [ Julian Andres Klode ] * apt/cache.py: - Make Cache.get_changes() much (~35x) faster (Closes: #578074). - Make Cache.req_reinstall_pkgs much faster as well. - Make Cache.get_providing_packages() about 1000 times faster. - Use has_versions and has_provides from apt_pkg.Package where possible. * apt/package.py: - Decode using utf-8 in installed_files (LP: #407953). - Fix fetch_source() to work when source name = binary name (LP: #552400). - Merge a patch from Sebastian Heinlein to make get_changelog() only check sources where source version >= binary version (Closes: #581831). - Add Version.source_version and enhance Sebastian's patch to make use of it, in order to find the best changelog for the package. * python: - Return bool instead of int to Python where possible, looks better. - Document every class, function, property. * python/cache.cc: - Check that 2nd argument to Cache.update() really is a SourceList object. - Fix PackageFile.not_automatic to use NotAutomatic instead of NotSource. - Add Package.has_versions to see which packages have at least one version, and Package.has_provides for provides. - Add rich compare methods to the Version object. * python/generic.cc: - Fix a memory leak when using old attribute names. - Map ArchiveURI property to archive_uri * python/progress.cc: - Do not pass arguments to InstallProgress.wait_child(). * doc: - Update the long documentation. * debian/control: - Change priority to standard, keep -doc and -dev on optional. * utils/migrate-0.8.py: - Open files in universal newline support and pass filename to ast.parse. - Add has_key to the list of deprecated functions. - Don't abort if parsing failed. - do not require files to end in .py if they are passed on the command line or if they contain python somewhere in the shebang line. [ Michael Vogt ] * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration -- Julian Andres Klode Wed, 19 May 2010 15:43:09 +0200 python-apt (0.7.94.2ubuntu7) maverick; urgency=low * data/templates/Ubuntu.info.in: - add maverick -- Colin Watson Sun, 09 May 2010 13:17:03 +0200 python-apt (0.7.94.2ubuntu6.3) lucid-proposed; urgency=low * backport xz compression support the debian-sid bzr branch (LP: #805389) -- Michael Vogt Thu, 07 Jul 2011 10:59:49 +0200 python-apt (0.7.94.2ubuntu6.2) lucid-proposed; urgency=low * apt/utils.py: - fix end date calculation for releases in june (LP: #602469) -- Jean-Baptiste Lallement Tue, 06 Jul 2010 23:46:49 +0200 python-apt (0.7.94.2ubuntu6.1) lucid-proposed; urgency=low [ Sebastian Heinlein ] * apt/package.py: - Fix the changelog downloading if there are several source package versions available which provide the binary (LP: #377535). See http://bugs.debian.org/581831 for further details [ Michael Vogt ] * debian/control: - update Vcs-Bzr location -- Michael Vogt Mon, 17 May 2010 15:37:44 +0200 python-apt (0.7.94.2ubuntu6) lucid; urgency=low Cherry pick fix from the debian branch: [ Julian Andres Klode ] * python/cache.cc: - Fix PackageFile.not_automatic to use NotAutomatic instead of NotSource. -- Michael Vogt Wed, 14 Apr 2010 17:45:11 +0200 python-apt (0.7.94.2ubuntu5) lucid; urgency=low [ Julian Andres Klode ] * apt/package.py: - Decode using utf-8 in installed_files (LP: #407953). - Fix fetch_source() to work when source name = binary name (LP: #552400). * python/cache.cc: - Check that 2nd argument to Cache.update() really is a SourceList object. * python/generic.cc: - Map ArchiveURI property to archive_uri * utils/migrate-0.8.py: - Open files in universal newline support and pass filename to ast.parse. - Add has_key to the list of deprecated functions. - Don't abort if parsing failed. - do not require files to end in .py if they are passed on the command line or if they contain python somewhere in the shebang line. -- Michael Vogt Wed, 31 Mar 2010 22:11:38 +0200 python-apt (0.7.94.2ubuntu4) lucid; urgency=low * If PYTHON_APT_DEPRECATION_WARNINGS is unset, also disable the deprecation warnings in apt_pkg directly; and don't just disable any deprecation warning in apt/__init__.py (LP: #548623) -- Julian Andres Klode Mon, 29 Mar 2010 13:18:20 +0200 python-apt (0.7.94.2ubuntu3) lucid; urgency=low * python/indexfile.cc: - add missing 0.7 compat indexfile.ArchiveURI method (LP: #545848) -- Michael Vogt Thu, 25 Mar 2010 10:44:31 +0100 python-apt (0.7.94.2ubuntu2) lucid; urgency=low * debian/control: - build against "XS-Python-Versions: all" to ensure we only build/test against supported python versions (fixes FTBFS) -- Michael Vogt Tue, 23 Mar 2010 21:24:46 +0100 python-apt (0.7.94.2ubuntu1) lucid; urgency=low Updated to the 0.7.9x series (FFe LP: #531518), this brings us python3 support and a more PEP08 conform API [ Julian Andres Klode ] * python/generic.cc: - Fix a memory leak when using old attribute names. * debian/control: - Change priority to standard, keep -doc and -dev on optional. [ Michael Vogt ] * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * debian/control - build against XS-Python-Versions: 2.6, 3.1 * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration * apt/__init__.py: - only show deprecation warnings if PYTHON_APT_DEPRECATION_WARNINGS is set in the environment. While we do want to have the new API its not feasible to port all apps in the lucid timeframe. Once lucid is released we turn the warnings on by default again -- Michael Vogt Tue, 23 Mar 2010 20:01:22 +0100 python-apt (0.7.94.2) unstable; urgency=low * Revert 0.7.93.3 and just set APT::Architecture to i386 for test_aptsources; fixes FTBFS on powerpc. -- Julian Andres Klode Fri, 12 Mar 2010 19:22:57 +0100 python-apt (0.7.94.1) unstable; urgency=low * Pass --exclude=migrate-0.8.py to dh_pycentral; in order to not depend on python2.6; but recommend python2.6. * Use dh_link instead of ln for python-apt-doc (Closes: #573523). * Pass --link-doc=python-apt to dh_installdocs. * Install examples to python-apt-doc instead of python-apt. * tests/test_all.py: Write information header to stderr, not stdout. * Build documentation only when needed (when building python-apt-doc). -- Julian Andres Klode Fri, 12 Mar 2010 14:36:48 +0100 python-apt (0.7.94) unstable; urgency=low * Move documentation into python-apt-doc (Closes: #572617) * Build documentation only once on the default Python version. * python/acquire-item.cc: - Add AcquireItem.partialsize member. * python/apt_pkgmodule.cc: - Treat '>>' and '>', '<<' and '<' as identical in check_dep (LP: #535667). * python/generic.cc: - Map UntranslatedDepType to dep_type_untranslated. * python/tag.cc: - Hack the TagFile iterator to not use shared storage (Closes: #572596): Scan once, duplicate the section data, and scan again. * apt/package.py: - Create a string class BaseDependency.__dstr which makes '>' equal to '>>' and '<' equal to '<<' (compatibility). - Use the binary package version in Version.fetch_source() if the source version is not specified (i.e. in the normal case). - Always return unicode strings in Package.get_changelog (Closes: #572998). * apt/progress/text.py: - Drop InstallProgress, it's useless to keep this alias around. * apt/progress/old.py: - Let the new method call the old one; e.g. status_update() now calls self.statusUpdate(). This improves compatibility for sub classes. * Merge with Ubuntu: - util/get_ubuntu_mirrors_from_lp.py: + rewritten to use +archivemirrors-rss and feedburner - pre-build.sh: update ubuntu mirrors on bzr-buildpackage (and also do this for Debian mirrors) - add break for packagekit-backend-apt (<= 0.4.8-0ubuntu4) * tests: - test_deps: Add tests for apt_pkg.CheckDep, apt_pkg.check_dep, apt_pkg.parse_depends and apt_pkg.parse_src_depends. * tests/data/aptsources/sources.list.testDistribution: - change one mirror which is not on the mirror list anymore. * utils/get_debian_mirrors.py: - Parse Mirrors.masterlist instead of the HTML web page. * utils/get_ubuntu_mirrors_from_lp.py: - Sort the mirror list of each country. -- Julian Andres Klode Wed, 10 Mar 2010 16:10:27 +0100 python-apt (0.7.93.3) unstable; urgency=low * data/templates/Ubuntu.info.in: - Use generic MirrorsFile key instead of per-architecture ones in order to fix FTBFS on !amd64 !i386 (Closes: #571752) -- Julian Andres Klode Sat, 27 Feb 2010 23:26:45 +0100 python-apt (0.7.93.2) unstable; urgency=low [ Julian Andres Klode ] * Fix some places where the old API was still used: - apt/utils.py: Completely ported, previous one was old-API from Ubuntu. - apt/cache.py: Use the new progress classes instead of the old ones. - apt/package.py: Various smaller issues fixed, probably caused by merge. * utils/migrate-0.8.py: - Improve C++ parsing and add apt.progress.old to the modules, reduces false positives. - Ship the list of deprecated things in the apt_pkg and apt_inst modules inside the script itself, so we don't have to parse the source code anymore. * python: - Handle deprecated attributes and methods in the tp_gettattro slot, this allows us to easily warn if a deprecated function is used. * python/tagfile.cc: - Implement the iterator protocol in TagFile. * python/cache.cc: - Implement Cache.__len__() and Cache.__contains__() (Closes: #571443). * data/templates/Debian.info.in: - Replace the MatchURI with one that really matches something. * aptsources/distro.py: - Call lsb_release with -idrc instead of --all. * tests: - Fix aptsources tests to use local data files if available. - test_all.py: Use local modules instead of system ones if possible. * data/templates/*.in: Switch MirrorsFile to relative filenames. - setup.py: Copy the mirror lists to the build directory - aptsources/distinfo.py: Support relative filenames for MirrorsFile. * debian/rules: - Run tests during build time. * debian/python-apt.install: - Install utils/migrate-0.8.py to /usr/share/python-apt/. [ Michael Vogt ] * apt/cache.py: - call install_progress.startUpdate()/finishUpdate() to keep compatibility with older code * apt/progress/base.py: - restore "self.statusfd, self.writefd" type, provide additional self.status_stream and self.write_stream file like objects * python/progress.cc: - try to call compatibility functions first, then new functions -- Julian Andres Klode Sat, 27 Feb 2010 18:33:11 +0100 python-apt (0.7.93.1) unstable; urgency=low [ Julian Andres Klode ] * Fix reference counting for old progress classes (Closes: #566370). * apt/cache.py: - Fix Cache.update() to not raise errors on successful updates. * python/progress.cc: - Fix some threading issues (add some missing PyCbObj_BEGIN_ALLOW_THREADS) * python/acquire-item.cc: - Support items without an owner set. * python/tarfile.cc: - When extracting, only allocate a new buffer if the old one was too small. - Do not segfault if TarFile.go() is called without a member name. - Clone all pkgDirStream::Item's so apt_pkg.TarMember object can be used outside of the callback function passed to go(). - If only one member is requested, extract just that one. * Drop the segfault prevention measures from the Acquire code, as they fail to work. A replacement will be added once destruction callbacks are added in APT. * Merge the CppOwnedPyObject C++ class into CppPyObject. * Remove inline functions from the C++ API, export them instead. * Localization - de.po: Update against new template * python/arfile.cc: - Handle the case where ararchive_new returns NULL in debfile_new. * apt/progress/base.py: - select.error objects do not have an errno attribute (Closes: #568005) * doc/client-example.cc: Update against the new API. * Fix typos of separated in multiple files (reported by lintian). * debian/control: - Make python-apt-dev depend on ${misc:Depends} and recommend python-dev. - Set Standards-Version to 3.8.4. [ Michael Vogt ] * apt/utils.py: - add some misc utils like get_release_filename_for_pkg() -- Julian Andres Klode Fri, 05 Feb 2010 17:45:39 +0100 python-apt (0.7.93) unstable; urgency=low [ Julian Andres Klode ] * Merge debian-sid and debian-experimental. * Add a tutorial on how to do things which are possible with apt-get, like apt-get --print-uris update (cf. #551164). * Build for Python 2.5, 2.6 and 3.1; 2.6 and 3.1 hit unstable on Jan 16. - Use DH_PYCENTRAL=nomove for now because include-links seems broken * Merge lp:~forest-bond/python-apt/cache-is-virtual-package-catch-key-error - Return False in Cache.is_virtual_package if the package does not exist. * Make all class-level constants have uppercase names. * Rewrite apt.progress.gtk2 documentation by hand and drop python-gtk2 build-time dependency. * aptsources: - Make all classes subclasses of object. - distro.py: Support Python 3, decode lsb_release results using utf-8. * apt/progress/base.py: - Fix some parsing of dpkg status fd. * apt/progress/text.py: - Replace one print statement with a .write() call. * Rename apt_pkg.PackageIndexFile to apt_pkg.IndexFile. [ Colin Watson ] * apt/progress/__init__.py: - Fix InstallProgress.updateInterface() to cope with read() returning 0 on non-blocking file descriptors (LP: #491027). [ Michael Vogt ] * apt/cache.py: - improved docstring for the cache - add "enhances" property * data/templates/Ubuntu.info.in: - add lucid * python/cache.cc: - add UntranslatedDepType attribute to DependencyType - add DepTypeEnum that returns a value from {DepDepends, DepPreDepends, ...} * python/apt_pkgmodule.cc: - add DepDpkgBreaks, DepEnhances constants * doc/source/apt_pkg/{cache.rst, index.rst}: - update documentation as well -- Julian Andres Klode Wed, 20 Jan 2010 17:06:20 +0100 python-apt (0.7.92) experimental; urgency=low * New features: - Provide a C++ API in the package python-apt-dev (Closes: #334923). - Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141). - Add apt_pkg.Policy class (Closes: #382725). - Add apt_pkg.Hashes class. - Allow types providing __new__() to be subclassed. - Add apt_pkg.DepCache.mark_auto() and apt.Package.mark_auto() methods to mark a package as automatically installed. - Make AcquireFile a subclass of AcquireItem, thus inheriting attributes. - New progress handling in apt.progress.base and apt.progress.text. Still missing Qt4 progress handlers. - Classes in apt_inst (Closes: #536096) + You can now use apt_inst.DebFile.data to access the data.tar.* member regardless of its compression (LP: #44493) * Unification of dependency handling: - apt_pkg.parse_[src_]depends() now use CompType instead of CompTypeDeb (i.e. < instead of <<) to match the interface of Version.depends_list_str - apt_pkg.SourceRecords.build_depends matches exactly the interface of Version.depends_list_str just with different keys (e.g. Build-Depends). + Closes: #468123 - there is no need anymore for binding CompType or CompTypeDeb, because we don't return integer values for CompType anymore. * Bugfixes: - Delete pointers correctly, fixing memory leaks (LP: #370149). - Drop open() and close() in apt_pkg.Cache as they cause segfaults. - Raise ValueError in AcquireItem if the Acquire process is shut down instead of segfaulting. * Other stuff: - Merge releases 0.7.10.4 - 0.7.12.1 from unstable. - Merge Configuration,ConfigurationPtr,ConfigurationSub into one type. - Simplify the whole build process by using a single setup.py. - The documentation has been restructured and enhanced with tutorials. - Only recommend lsb-release instead of depending on it. Default to Debian unstable if lsb_release is not available. -- Julian Andres Klode Tue, 18 Aug 2009 16:42:56 +0200 python-apt (0.7.91) experimental; urgency=low [ Julian Andres Klode ] * Rename where needed according to PEP 8 conventions (Closes: #481061) * Where possible, derive apt.package.Record from collections.Mapping. * ActionGroups can be used as a context manager for the 'with' statement. * utils/migrate-0.8.py: Helper to check Python code for deprecated functions, attributes,etc. Has to be run from the python-apt source tree, but can be used for all Python code using python-apt. * debian/control: Only recommend libjs-jquery (Closes: #527543). [ Stefano Zacchiroli ] * debian/python-apt.doc-base: register the documentation with the doc-base system (Closes: #525134) [ Sebastian Heinlein ] * apt/package.py: Add Package.get_version() which returns a Version instance for the given version string or None (Closes: #523998) -- Julian Andres Klode Fri, 05 Jun 2009 19:36:45 +0200 python-apt (0.7.90) experimental; urgency=low * Introduce support for Python 3 (Closes: #523645) * Support the 'in' operator (e.g. "k in d") in Configuration{,Ptr,Sub} objects (e.g. apt_pkg.Config) and in TagSections (apt_pkg.ParseSection()) * Replace support for file objects with a more generic support for any object providing a fileno() method and for file descriptors (integers). * Add support for the Breaks fields * Only create Package objects when they are requested, do not keep them in a dict. Saves 10MB for 25,000 packages on my machine. * apt/package.py: Allow to set the candidate of a package (Closes: #523997) - Support assignments to the 'candidate' property of Package objects. - Initial patch by Sebastian Heinlein -- Julian Andres Klode Wed, 15 Apr 2009 13:47:42 +0200 python-apt (0.7.13.4ubuntu5) lucid; urgency=low [ Michael Vogt ] * data/templates/Ubuntu.info.in: - make armel point to ports.ubuntu.com (LP: #531876) [ Emmet Hikory ] * data/templates/Ubuntu.info.in: - refactor to use ports by default for gutsy and newer releases - Set appropriate exceptions to defaults for warty-lucid -- Emmet Hikory Fri, 05 Mar 2010 10:22:05 +0900 python-apt (0.7.13.4ubuntu4) lucid; urgency=low * Drop build dependency on python2.4. -- Matthias Klose Mon, 01 Feb 2010 20:30:14 +0100 python-apt (0.7.13.4ubuntu3) lucid; urgency=low * apt/utils.py: - add some misc utils like get_release_filename_for_pkg() -- Michael Vogt Fri, 22 Jan 2010 12:18:29 +0100 python-apt (0.7.13.4ubuntu2) lucid; urgency=low [ Michael Vogt ] * apt/cache.py: - improved docstring for the cache - add "enhances" property * data/templates/Ubuntu.info.in: - add lucid * python/cache.cc: - add UntranslatedDepType attribute to DependencyType - add DepTypeEnum that returns a value from {DepDepends, DepPreDepends, ...} * python/apt_pkgmodule.cc: - add DepDpkgBreaks, DepEnhances constants * doc/source/apt_pkg/{cache.rst, index.rst}: - update documentation as well -- Michael Vogt Fri, 15 Jan 2010 15:06:10 +0100 python-apt (0.7.13.4ubuntu1) lucid; urgency=low [ Michael Vogt ] * merge from debian, remaining changes: - different mirror list [ Colin Watson ] * apt/progress/__init__.py: - Fix InstallProgress.updateInterface() to cope with read() returning 0 on non-blocking file descriptors (LP: #491027). -- Michael Vogt Wed, 02 Dec 2009 17:02:37 +0100 python-apt (0.7.13.4) unstable; urgency=low [ Michael Vogt ] * po/zh_CN.po: - updated, thanks to Feng Chao * python/progress.cc: - if the mediaChange() does not return anything or is not implemented send "false" to libapt [ Julian Andres Klode ] * apt/package.py: Fix dictionary access of VersionList, patch by Sebastian Heinlein (Closes: #554895). -- Julian Andres Klode Sun, 29 Nov 2009 20:26:31 +0100 python-apt (0.7.13.3) unstable; urgency=low [ Michael Vogt ] * apt/cache.py: - add actiongroup() method (backport from 0.7.92) - re-work the logic in commit() to fail if installArchives() returns a unexpected result * apt/progress/__init__.py: - catch exceptions in pm.DoInstall() [ Sebastian Heinlein ] * apt/package.py: - Export if a package is an essential one (Closes: #543428) [ Julian Andres Klode ] * python/depcache.cc: - Make ActionGroups context managers so apt.Cache.actiongroup() has the same behavior as in 0.7.92 * apt/cache.py: - Add raiseOnError option to Cache.update() (Closes: #545474) * apt/package.py: - Use the source version instead of the binary version in fetch_source(). * apt/progress/__init__.py: - Correctly ignore ECHILD by checking before EINTR (Closes: #546007) -- Julian Andres Klode Tue, 15 Sep 2009 15:18:45 +0200 python-apt (0.7.13.2ubuntu5) lucid; urgency=low * python/progress.cc: - if the mediaChange() does not return anything or is not implemented send "false" to libapt (LP: #462771) * data/templates/Ubuntu.info.in: - add lucid -- Michael Vogt Thu, 05 Nov 2009 18:38:36 +0100 python-apt (0.7.13.2ubuntu4) karmic; urgency=low * No change rebuild to fix misbuilt binaries on armel. -- Loïc Minier Wed, 21 Oct 2009 14:52:36 +0200 python-apt (0.7.13.2ubuntu3) karmic; urgency=low * rebuild against latest libapt -- Michael Vogt Fri, 25 Sep 2009 22:17:35 +0200 python-apt (0.7.13.2ubuntu2) karmic; urgency=low [ Michael Vogt ] * apt/cache.py: - re-work the logic in commit() to fail if installArchives() returns a unexpected result * apt/progress/__init__.py: - catch exceptions in pm.DoInstall() [ Sebastian Heinlein ] * apt/package.py: - Export if a package is an essential one (Closes: #543428) -- Michael Vogt Fri, 04 Sep 2009 10:32:19 +0200 python-apt (0.7.13.2ubuntu1) karmic; urgency=low * merged from the debian-sid bzr branch [ Michael Vogt ] * apt/cache.py: - add actiongroup() method (backport from 0.7.92) [ Julian Andres Klode ] * python/depcache.cc: - Make ActionGroups context managers so apt.Cache.actiongroup() has the same behavior as in 0.7.92 -- Michael Vogt Mon, 24 Aug 2009 16:53:16 +0200 python-apt (0.7.13.2) unstable; urgency=low * apt/cache.py: - Convert argument to str in __getitem__() (Closes: #542965). -- Julian Andres Klode Sat, 22 Aug 2009 22:47:30 +0200 python-apt (0.7.13.1) unstable; urgency=low * apt/package.py: - Fix Version.get_dependencies() to not ignore the arguments. -- Julian Andres Klode Fri, 21 Aug 2009 16:59:08 +0200 python-apt (0.7.13.0) unstable; urgency=low [ Michael Vogt ] * apt/package.py: - add "recommends" property * apt/cache.py, python/cache.cc: - add optional pulseInterval option to "update()" [ Sebastian Heinlein ] * apt/cache.py: - Fix the (inst|keep|broken|del)_count attributes (Closes: #542773). [ Julian Andres Klode ] * apt/package.py: - Introduce Version.get_dependencies() which takes one or more types of dependencies and returns a list of Dependency objects. - Do not mark the package as manually installed on upgrade (Closes: #542699) - Add Package.is_now_broken and Package.is_inst_broken. * apt/cache.py: - Introduce ProblemResolver class (Closes: #542705) * python/pkgsrcrecords.cc: - Fix spelling error (begining should be beginning). * po: - Update template and the translations de.po, fr.po (Closes: #467120), ja.po (Closes: #454293). * debian/control: - Update Standards-Version to 3.8.3. * debian/rules: - Build with DH_PYCENTRAL=include-links instead of nomove. -- Julian Andres Klode Fri, 21 Aug 2009 16:22:34 +0200 python-apt (0.7.12.1ubuntu2) karmic; urgency=low * apt/package.py: - fix bug in BaseDependency initialization (LP: #416362) * debian/control: - add break for packagekit-backend-apt (<= 0.4.8-0ubuntu4) packagekit usees some internal API that changed -- Michael Vogt Thu, 20 Aug 2009 14:23:40 +0200 python-apt (0.7.12.1ubuntu1) karmic; urgency=low [ Michael Vogt ] * apt/package.py: - add "recommends" property * debian/control: - change build-dep for libapt-pkg-dev to >= 0.7.21 * merged with debian/unstable [ Loïc Minier ] * Revert addition of gcc and gcc_s to python-apt libs as the toolchain has been fixed; LP: #375334. [ Julian Andres Klode ] * apt/package.py: - Introduce Version.get_dependencies() which takes one or more types of dependencies and returns a list of Dependency objects. -- Michael Vogt Wed, 19 Aug 2009 11:33:59 +0200 python-apt (0.7.12.1) unstable; urgency=low * apt/debfile.py: - Fix missing space in message (Closes: #539704) * apt/package.py: - Add missing argument to Version.__le__() and Version.__ge__() * debian/control: - Do not build-depend on python-gtk2 and python-vte on kfreebsd-*. * setup.py: - Always build documentation, even if python-gtk2 is not installed. -- Julian Andres Klode Mon, 03 Aug 2009 15:17:43 +0200 python-apt (0.7.12.0) unstable; urgency=low [ Julian Andres Klode ] * python/cache.cc: - Support Breaks, Enhances dependency types (Closes: #416247) * debian/control: - Only recommend libjs-jquery (Closes: #527543) - Build-depend on libapt-pkg-dev (>= 0.7.22~) - Update Standards-Version to 3.8.2 * apt/cache.py: - Correctly handle rootdir on second and later invocations of open(), by calling InitSystem again. (LP: #320665). - Provide broken_count, delete_count, install_count, keep_count properties (Closes: #532338) - Only create Package objects when they are requested, do not keep them in a dict. Saves 10MB for 25,000 packages on my machine. * apt/package.py: - Allow to set the candidate of a package (Closes: #523997) + Support assignments to the 'candidate' property of Package objects. + Initial patch by Sebastian Heinlein - Make comparisons of Version object more robust. - Return VersionList objects in Package.versions, which are sequences and also provide features of mappings. (partial API BREAK) + Allows to get a specific version (Closes: #523998) * apt/progress/__init__.py: - Do not break out of InstallProgress.waitChild()'s loop just because it is hitting EINTR, but only on child exit or on ECHILD. * Use debhelper 7 instead of CDBS [ Stefano Zacchiroli ] * debian/python-apt.doc-base: register the documentation with the doc-base system (Closes: #525134) [ Sebastian Heinlein ] * apt/progress.py: Extract the package name from the status message (Closes: #532660) -- Julian Andres Klode Thu, 30 Jul 2009 14:08:30 +0200 python-apt (0.7.11.1) unstable; urgency=low [ Stephan Peijnik ] * apt/progress/__init__.py: - Exception handling fixes in InstallProgress class. [ Michael Vogt ] * python/tag.cc: - merge patch from John Wright that adds FindRaw method (closes: #538723) -- Michael Vogt Wed, 29 Jul 2009 19:15:56 +0200 python-apt (0.7.11.0) unstable; urgency=low [ Julian Andres Klode ] * data/templates/Debian.info.in: Squeeze will be 6.0, not 5.1 [ Stephan Peijnik ] * apt/progress/__init__.py: - add update_status_full() that takes file_size/partial_size as additional callback arguments - add pulse_items() that takes a addtional "items" tuple that gives the user full access to the individual items that are fetched * python/progress.cc: - low level code for update_status_full and pulse_items() - better threading support [ Michael Vogt ] * aptsources/distro.py: - fix indent error that causes incorrect sources.list additons (LP: #372224) * python/progress.cc: - fix crash in RunSimpleCallback() * apt/cache.py: - when the cache is run with a alternative rootdir, create required dirs/files automatically -- Michael Vogt Mon, 20 Jul 2009 15:35:27 +0200 python-apt (0.7.10.4ubuntu1) karmic; urgency=low [ Michael Vogt ] * merged from debian/unstable * apt/cache.py: - when the cache is run with a alternative rootdir, create required dirs/files automatically * python/progress.cc: - fix crash in RunSimpleCallback() [ Loic Minier ] * Merge changes below from Michael Casadevall; note that these changes were concurrently uploaded in a different form in 0.7.10.3ubuntu2 which wasn't committed in bzr. [ Michael Casadevall ] * setup.py: - Added gcc and gcc_s to work around gcc-4.4 issue on ARM and libstdc++ - This is a temporary workaround for Karmic Alpha 1. See bug #375334 for more details [ Loic Minier ] * Update mirror list from LP. * Unset https_proxy in pre-build.sh to workaround LP #94130. -- Michael Vogt Mon, 15 Jun 2009 11:02:25 +0200 python-apt (0.7.10.4) unstable; urgency=low [ Michael Vogt ] * data/templates/Ubuntu.info.in: - updated for the new ubuntu karmic version * data/templates/Debian.info.in: - add squeeze [ Otavio Salvador ] * utils/get_debian_mirrors.py: updated to support current mirror page. * Update Debian mirrors. (Closes: #518071) -- Michael Vogt Tue, 05 May 2009 12:03:27 +0200 python-apt (0.7.10.3ubuntu1) karmic; urgency=low * merged from debian, remaining changes: - updated mirrors - build python2.4 - use DH_PYCENTRAL=include-links - use --install-layout=deb - pre-build.sh: update ubuntu mirrors on bzr-buildpackage -- Michael Vogt Tue, 05 May 2009 12:03:27 +0200 python-apt (0.7.10.3) unstable; urgency=low * apt/package.py: Handle cases where no candidate is available, by returning None in the candidate property. (Closes: #523801) -- Julian Andres Klode Sun, 12 Apr 2009 19:50:26 +0200 python-apt (0.7.10.2) unstable; urgency=low * apt/package.py: Handle cases where no candidate is available and one of the deprecated properties (e.g. candidateVersion) is requested. (Closes: #523801) * setup.py, debian/rules: Support version in setup.py again by getting the value from the variable DEBVER (defined in debian/rules), falling back to None. -- Julian Andres Klode Sun, 12 Apr 2009 19:00:07 +0200 python-apt (0.7.10.1) unstable; urgency=low * Fix FTBFS with python-debian (>= 0.1.13) on Python 2.4 by not using it to get a version number in setup.py (Closes: #523473) * apt/package.py: - (Package.candidateRecord): Fix missing 'd' in 'record' - (DeprecatedProperty.__get__): Only warn when used on objects, this makes it easier to use e.g. pydoc,sphinx,pychecker. -- Julian Andres Klode Fri, 10 Apr 2009 17:51:07 +0200 python-apt (0.7.10) unstable; urgency=low * Build-Depend on python-debian, use it to get version number from changelog * Depend on libjs-jquery, and remove internal copy (Closes: #521532) * apt/package.py: - Introduce Version.{uri,uris,fetch_binary()} * debian/control: - Remove mdz from Uploaders (Closes: #521477), add myself. - Update Standards-Version to 3.8.1 - Use ${binary:Version} instead of ${Source-Version} - Fix spelling error: python -> Python * debian/copyright: Switch to machine-interpretable copyright * Fix documentation building - doc/source/conf.py: Only include directories for current python version. - debian/control: Build-Depend on python-gtk2, python-vte. - setup.py: If pygtk can not be imported, do not build the documentation. * Breaks: debdelta (<< 0.28~) to avoid more problems due to the internal API changes from 0.7.9. -- Julian Andres Klode Wed, 01 Apr 2009 15:24:29 +0200 python-apt (0.7.9) unstable; urgency=low [ Julian Andres Klode ] * apt/gtk/widgets.py: - Handle older versions of python-gobject which do not ship glib * apt/package.py: Introduce the Version class - Deprecate Package.candidate*() and Package.installed*(), except for installedFiles. - Provide Version.get_source() (LP: #118788) - Provide Package.versions (Closes: #513236) * apt/progress/: New package, replaces apt.progress and apt.gtk - apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py * doc/source/*: Improve the documentation - Document more attributes and functions of apt_pkg (they are all listed) [ Michael Vogt ] * aptsources/distro.py: - use iso_3166.xml instead of iso_3166.tab - fix incorrect indent * debian/control: - add Recommends to iso-codes (for iso_3166.xml) * apt/package.py: - make sure to set the defaulttimeout back to the original value (in getChangelog(), LP: #314212) Closes: #513315 * apt/cache.py: - when setting a alternative rootdir, read the config from it as well * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir() * python/cache.cc, tests/getcache_mem_corruption.py: - test if progress objects have the right methods and raise error if not (thanks to Emanuele Rocca) closes: #497049 * apt/package.py: - avoid uneeded interal references in the Package objects * aptsources/sourceslist.py: - fix bug in invalid lines detection (LP: #324614) -- Michael Vogt Thu, 19 Mar 2009 13:39:21 +0100 python-apt (0.7.9~exp2ubuntu11) karmic; urgency=low [ Matthias Klose ] * Build for python2.4 as well. LP: #354812. [ Michael vogt ] * setup.py: - only use sphinx for python2.5 or later * data/templates/Ubuntu.info.in: - updated for karmic -- Michael Vogt Wed, 06 May 2009 14:28:56 +0200 python-apt (0.7.9~exp2ubuntu10) jaunty; urgency=low * .bzr-buildpackage/default.conf: - add pre-build hook to update the mirror list from LP -- Michael Vogt Mon, 30 Mar 2009 17:22:38 +0200 python-apt (0.7.9~exp2ubuntu9) jaunty; urgency=low * aptsources/sourceslist.py: - fix bug in invalid lines detection (LP: #324614) -- Michael Vogt Thu, 19 Mar 2009 14:09:50 +0100 bpython-apt (0.7.9~exp2ubuntu8) jaunty; urgency=low * Rebuild for python2.6. * Call dh_pycentral with "DH_PYCENTRAL=include-links". -- Matthias Klose Sat, 21 Feb 2009 18:31:23 +0000 python-apt (0.7.9~exp2ubuntu7) jaunty; urgency=low * apt/package.py: - add "not_automatic" flag to the origin * debian/control: - rebuild against latest apt * apt/cache.py: - when setting a alternative rootdir, read the config from it as well (LP: #243550) * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir() -- Michael Vogt Mon, 09 Feb 2009 15:09:17 +0100 python-apt (0.7.9~exp2ubuntu5) jaunty; urgency=low * apt/cache.py: - revert the InitConfig change, has unintended side-effects -- Michael Vogt Mon, 26 Jan 2009 12:13:46 +0100 python-apt (0.7.9~exp2ubuntu4) jaunty; urgency=low * apt/cache.py: - when running with the rootdir option, run InitConfig() again to ensure that the config from the rootdir is read, not from the host (lp: #243550) * apt/package.py: - make sure to set the defaulttimeout back to the original value (in getChangelog(), LP: #314212) -- Michael Vogt Mon, 26 Jan 2009 08:45:00 +0100 python-apt (0.7.9~exp2ubuntu3) jaunty; urgency=low * apt/__init__.py: - use iso_3166.xml instead of iso_3166.tab - fix incorrect indent * debian/control: - add Recommends to iso-codes (for iso_3166.xml) -- Michael Vogt Thu, 22 Jan 2009 09:37:17 +0100 python-apt (0.7.9~exp2ubuntu2) jaunty; urgency=low * apt/__init__.py: - remove the future warning * aptsources/distro.py: - fix indent breakage (LP: #319714) -- Michael Vogt Wed, 21 Jan 2009 21:47:21 +0100 python-apt (0.7.9~exp2ubuntu1) jaunty; urgency=low * Merged from debian, lots of documentation updates and other fixes (thanks to Julian Andres Klode) -- Michael Vogt Tue, 20 Jan 2009 15:32:54 +0100 python-apt (0.7.9~exp2) experimental; urgency=low [ Julian Andres Klode ] * apt/*.py: - Almost complete cleanup of the code - Remove inconsistent use of tabs and spaces (Closes: #505443) - Improved documentation * apt/debfile.py: - Drop get*() methods, as they are deprecated and were never in a stable release - Make DscSrcPackage working * apt/gtk/widgets.py: - Fix the code and document the signals * Introduce new documentation build with Sphinx - Contains style Guide (Closes: #481562) - debian/rules: Build the documentation here - setup.py: Remove pydoc building and add new docs. - debian/examples: Include examples from documentation - debian/python-apt.docs: + Change html/ to build/doc/html. + Add build/doc/text for the text-only documentation * setup.py: - Only create build/data when building, not all the time - Remove build/mo and build/data on clean -a * debian/control: - Remove the Conflicts on python2.3-apt, python2.4-apt, as they are only needed for oldstable (sarge) - Build-Depend on python-sphinx (>= 0.5) * aptsources/distinfo.py: - Allow @ in mirror urls (Closes: #478171) (LP: #223097) * Merge Ben Finney's whitespace changes (Closes: #481563) * Merge Ben Finney's do not use has_key() (Closes: #481878) * Do not use deprecated form of raise statement (Closes: #494259) * Add support for PkgRecords.SHA256Hash (Closes: #456113) [ Michael Vogt ] * apt/package.py: - fix bug in candidateInstalledSize property * aptsources/distinfo.py: - fix too restrictive mirror url check * aptsources/distro.py: - only add nearest_server and server to the mirrors if they are defined -- Michael Vogt Fri, 16 Jan 2009 11:28:17 +0100 python-apt (0.7.9~exp1) experimental; urgency=low * Merged python-apt consolidation branch by Sebastian Heinlein (many thanks) * apt/cache.py: - new method "isVirtualPackage()" - new method "getProvidingPackages()" - new method "getRequiredDownload()" - new method "additionalRequiredSpace()" * apt/debfile.py: - move a lot of the gdebi code into this file, this provides interfaces for querrying and installing .deb files and .dsc files * apt/package.py: - better description parsing - new method "installedFiles()" - new method "getChangelog()" * apt/gtk/widgets.py: - new gobject GOpProgress - new gobject GFetchProgress - new gobject GInstallProgress - new gobject GDpkgInstallProgress - new widget GtkAptProgress * doc/examples/gui-inst.py: - updated to use the new widgets * debian/control: - add suggests for python-gtk2 and python-vte * setup.py: - build html/ help of the apt and aptsources modules into /usr/share/doc/python-apt/html * apt/__init__.py: - remove the future warning -- Michael Vogt Mon, 15 Dec 2008 14:29:47 +0100 python-apt (0.7.8ubuntu1) jaunty; urgency=low * Merged python-apt consolidation branch by Sebastian Heinlein (many thanks) * apt/cache.py: - new method "isVirtualPackage()" - new method "getProvidingPackages()" - new method "getRequiredDownload()" - new method "additionalRequiredSpace()" * apt/debfile.py: - move a lot of the gdebi code into this file, this provides interfaces for querrying and installing .deb files and .dsc files * apt/package.py: - better description parsing - new method "installedFiles()" - new method "getChangelog()" * apt/gtk/widgets.py: - new gobject GOpProgress - new gobject GFetchProgress - new gobject GInstallProgress - new gobject GDpkgInstallProgress - new widget GtkAptProgress * doc/examples/gui-inst.py: - updated to use the new widgets * debian/control: - add suggests for python-gtk2 and python-vte * setup.py: - build html/ help of the apt and aptsources modules into /usr/share/doc/python-apt/html -- Michael Vogt Mon, 15 Dec 2008 14:29:47 +0100 python-apt (0.7.8) unstable; urgency=low [ Michael Vogt ] * python/cache.cc: - fix crash if Ver.PriorityType() returns NULL - fix GetCandidateVer() reporting incorrect versions after SetCandidateVer() was used. Thanks to Julian Andres Klode for the test-case (LP: #237372) * python/apt_instmodule.cc: - do not change working dir in debExtractArchive() (LP: #184093) * apt/cache.py: - support "in" in apt.Cache() (LP: #251587) * apt/package.py: - do not return None in sourcePackageName (LP: #123062) * python/progress.cc: - when pulse() does not return a boolean assume "true" (thanks to Martin Pitt for telling me about the problem) * python/apt_pkgmodule.cc: - add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants * aptsources/__init__.py, aptsources/distinfo.py: - run apt_pkg.init() when aptsources gets imported and not the distinfo function - fix detection of cdrom sources and add test for it * python/metaindex.cc - fix crash when incorrect attribute is given * data/templates/Ubuntu.info.in: - updated * aptsources/distro.py: - add parameter to get_distro() to make unit testing easier * tests/test_aptsources_ports.py: - add test for arch specific handling (when sub arch is on a different mirror than "main" arches) [ Julian Andres Klode ] * python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename. -- Michael Vogt Mon, 24 Nov 2008 10:24:30 +0200 python-apt (0.7.8~ubuntu2) jaunty; urgency=low [ Michael Vogt ] * data/templates/Ubuntu.info.in: - updated to fix ports.ubuntu.com for powerpc and lpia (LP: #220890) * aptsources/distro.py: - add parameter to get_distro() to make unit testing easier * tests/test_aptsources_ports.py: - add test for arch specific handling (when sub arch is on a different mirror than "main" arches) [ Julian Andres Klode ] * python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename. -- Michael Vogt Mon, 10 Nov 2008 11:35:03 +0100 python-apt (0.7.8~ubuntu1) jaunty; urgency=low * python/apt_pkgmodule.cc: - add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants * python/metaindex.cc - fix crash when incorrect attribute is given * data/templates/Ubuntu.info.in: - updated for jaunty -- Michael Vogt Mon, 03 Nov 2008 11:46:54 +0100 python-apt (0.7.7.1+nmu1) unstable; urgency=medium * Non-maintainer upload. * data/templates/Debian.info.in: Set the BaseURI to security.debian.org for lenny/updates, etch/updates and sarge/updates. (Closes: #503237) -- Jonny Lamb Fri, 24 Oct 2008 12:44:33 +0100 python-apt (0.7.7.1ubuntu4) intrepid; urgency=low * apt/package.py: - do not return None in sourcePackageName (LP: #123062) * python/progress.cc: - when pulse() does not return a boolean assume "true" (thanks to Martin Pitt for telling me about the problem) * aptsources/__init__.py, aptsources/distinfo.py: - run apt_pkg.init() when aptsources gets imported and not the distinfo function - fix detection of cdrom sources and add test for it -- Michael Vogt Thu, 18 Sep 2008 14:42:46 +0200 python-apt (0.7.7.1ubuntu3) intrepid; urgency=low * Rebuild against current apt on hppa. -- Colin Watson Mon, 01 Sep 2008 11:37:58 +0100 python-apt (0.7.7.1ubuntu2) intrepid; urgency=low * python/cache.cc: - fix GetCandidateVer() reporting incorrect versions after SetCandidateVer() was used. Thanks to Julian Andres Klode for the test-case (LP: #237372) * python/apt_instmodule.cc: - do not change working dir in debExtractArchive() (LP: #184093) * apt/cache.py: - support "in" in apt.Cache() (LP: #251587) -- Michael Vogt Tue, 05 Aug 2008 11:35:32 +0200 python-apt (0.7.7.1ubuntu1) intrepid; urgency=low * python/cache.cc: - fix crash if Ver.PriorityType() returns NULL (LP: #253255) -- Michael Vogt Wed, 30 Jul 2008 10:26:53 +0200 python-apt (0.7.7.1) unstable; urgency=low * data/templates/Debian.info.in: - add 'lenny' template info (closes: #476364) * aptsources/distinfo.py: - fix template matching for arch specific code (LP: #244093) -- Michael Vogt Fri, 25 Jul 2008 18:13:53 +0200 python-apt (0.7.7ubuntu2) intrepid; urgency=low * python/metaindex.cc - fix crash when incorrect attribute is given * data/templates/Ubuntu.info.in: - updated * aptsources/distro.py: - add parameter to get_distro() to make unit testing easier * tests/test_aptsources_ports.py: - add test for arch specific handling (when sub arch is on a different mirror than "main" arches) [ Julian Andres Klode ] * python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename. -- Michael Vogt Mon, 24 Nov 2008 10:24:30 +0200 python-apt (0.7.7ubuntu1) intrepid; urgency=low * merged from debian-sid -- Michael Vogt Tue, 22 Jul 2008 15:58:37 +0200 python-apt (0.7.7) unstable; urgency=low [ Emanuele Rocca ] * data/templates/Debian.info.in: - s/MatchUri/MatchURI/. Thanks, Gustavo Noronha Silva (closes: #487673) * python/cache.cc: - Throw an exception rather than segfaulting when GetCache() is called before InitSystem() (closes: #369147) * doc/examples/config.py: - Fix config.py --help (closes: #257007) [ Michael Vogt ] * python/apt_pkgmodule.cc: - fix bug in hashsum calculation when the original string contains \0 charackters (thanks to Celso Providelo and Ryan Hass for the test-case) LP: #243630 * tests/test_hashsums.py: - add tests for the hashsum code * apt/package.py: - add "isAutoRemovable()" method * python/pkgsrcrecords.cc: - add "Record" attribute to the PkgSrcRecord to access the full source record * debian/rules: - remove the arch-build target, we have bzr-builddeb now -- Michael Vogt Tue, 22 Jul 2008 10:16:03 +0200 python-apt (0.7.6ubuntu3) intrepid; urgency=low * apt/package.py: - add "isAutoRemovable()" method -- Michael Vogt Mon, 14 Jul 2008 15:18:03 +0100 python-apt (0.7.6ubuntu2) intrepid; urgency=low * python/apt_pkgmodule.cc: - fix bug in hashsum calculation when the original string contains \0 charackters (thanks to Celso Providelo and Ryan Hass for the test-case) LP: #243630 * tests/test_hashsums.py: - add tests for the hashsum code -- Michael Vogt Fri, 04 Jul 2008 19:53:28 +0200 python-apt (0.7.6ubuntu1) intrepid; urgency=low * merged with debian, remaining changes: - more up-to-date mirror list -- Michael Vogt Fri, 04 Jul 2008 11:00:33 +0200 python-apt (0.7.6) unstable; urgency=low * apt/cache.py: - add "memonly" option to apt.Cache() to force python-apt to not touch the pkgcache.bin file (this works around a possible race condition in the pkgcache.bin handling) * data/templates/Ubuntu.info.in: - added ubuntu 'intrepid' * debian/README.source: - added (basic) documentation how to build python-apt * aptsources/distinfo.py: - support arch specific BaseURI, MatchURI and MirrosFile fields in the distinfo template * debian/control: - move bzr branch to bzr.debian.org and update Vcs-Bzr -- Michael Vogt Wed, 18 Jun 2008 14:46:43 +0200 python-apt (0.7.5ubuntu2) intrepid; urgency=low * apt/cache.py: - add "memonly" option to apt.Cache() to force python-apt to not touch the pkgcache.bin file (this works around a possible race condition in the pkgcache.bin handling) -- Michael Vogt Fri, 13 Jun 2008 12:14:34 +0200 python-apt (0.7.5ubuntu1) intrepid; urgency=low * merged from debian-sid -- Michael Vogt Thu, 12 Jun 2008 12:32:00 +0200 python-apt (0.7.5) unstable; urgency=low * use the new ListUpdate() code * add example in doc/examples/update.py * python/pkgrecords.cc: - export the Homepage field * python/tar.cc: - fix .lzma extraction (thanks to bigjools) * python/sourcelist.cc: - support GetIndexes() GetAll argument to implement something like --print-uris * python/apt_pkgmodule.cc: - add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants * apt/cache.py: - add reqReinstallPkgs property that lists all packages in ReInstReq or HoldReInstReq -- Michael Vogt Tue, 19 Feb 2008 21:06:36 +0100 python-apt (0.7.4ubuntu9) intrepid; urgency=low * aptsources/distinfo.py: - support arch specific BaseURI, MatchURI and MirrosFile fields in the distinfo template (LP: #220890) -- Michael Vogt Wed, 28 May 2008 12:20:23 +0200 python-apt (0.7.4ubuntu8) intrepid; urgency=low * data/templates/Ubuntu.info.in: - added ubuntu 'intrepid' * debian/README.source: - added (basic) documentation how to build python-apt -- Michael Vogt Mon, 05 May 2008 10:40:58 +0200 python-apt (0.7.4ubuntu7) hardy; urgency=low * data/templates/Ubuntu.mirrors: - updated mirrors list from launchpad (LP: #153284) * util/get_ubuntu_mirrors_from_lp.py: - rewritten to use +archivemirrors-rss and feedburner -- Michael Vogt Mon, 07 Apr 2008 16:15:28 +0200 python-apt (0.7.4ubuntu6) hardy; urgency=low * rebuild due to python-central problems -- Michael Vogt Tue, 19 Feb 2008 17:58:29 +0100 python-apt (0.7.4ubuntu5) hardy; urgency=low * python/sourcelist.cc: - support GetIndexes() GetAll argument to implement something like --print-uris * python/apt_pkgmodule.cc: - add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants * apt/cache.py: - add reqReinstallPkgs property that lists all packages in ReInstReq or HoldReInstReq -- Michael Vogt Mon, 18 Feb 2008 16:55:51 +0100 python-apt (0.7.4ubuntu4) hardy; urgency=low * python/pkgrecords.cc: - export the Homepage field -- Michael Vogt Mon, 11 Feb 2008 10:34:39 +0100 python-apt (0.7.4ubuntu3) hardy; urgency=low * python/tar.cc: - fix .lzma extraction (thanks to bigjools for reporting) -- Michael Vogt Fri, 25 Jan 2008 09:57:31 +0000 python-apt (0.7.4ubuntu2) hardy; urgency=low * use the new apt ListUpdate() code * add example in doc/examples/update.py -- Michael Vogt Tue, 19 Feb 2008 21:06:36 +0100 python-apt (0.7.4ubuntu1) hardy; urgency=low * merged from debian/unstable, remaining changes: - rebuild against latest apt - maintainer field changed -- Michael Vogt Thu, 13 Dec 2007 15:00:22 +0100 python-apt (0.7.4) unstable; urgency=low * apt/debfile.py: - added wrapper around apt_inst.debExtract() - support dictionary like access * apt/package.py: - fix apt.package.Dependency.relation initialization * python/apt_instmodule.cc: - added arCheckMember() - fix typo * aptsources/distro.py: - throw NoDistroTemplateException if not distribution template can be found * python/string.cc: - fix overflow in SizeToStr() * python/metaindex.cc: - added support for the metaIndex objects * python/sourceslist.cc: - support new "List" attribute that returns the list of metaIndex source entries * python/depcache.cc: - be more threading friendly * python/tag.cc - support "None" as default in ParseSection(control).get(field, default), LP: #44470 * python/progress.cc: - fix refcount problem in OpProgress - fix refcount problem in FetchProgress - fix refcount problem in CdromProgress * apt/README.apt: - fix typo (thanks to Thomas Schoepf, closes: #387787) * po/fr.po: - merge update, thanks to Christian Perrier (closes: #435918) * data/templates/: - update templates -- Michael Vogt Thu, 06 Dec 2007 15:35:46 +0100 python-apt (0.7.3.1ubuntu6) hardy; urgency=low * remove python-central pre-depends, this is no longer needed during upgrades now that we have "PYCENTRAL_NO_DPKG_QUERY" -- Michael Vogt Wed, 21 Nov 2007 20:33:42 +0100 python-apt (0.7.3.1ubuntu5) hardy; urgency=low * add hardy to the ubuntu sources.list template -- Michael Vogt Sat, 27 Oct 2007 15:03:18 -0400 python-apt (0.7.3.1ubuntu4) gutsy; urgency=low * pre-depend on gutsy version pycentral, this ensures that we get a updated dpkg with triggers support before pycentral uses /usr/bin/dpkg-querry (LP: #152827) -- Michael Vogt Mon, 15 Oct 2007 11:24:12 +0200 python-apt (0.7.3.1ubuntu3) gutsy; urgency=low * data/templates/Ubuntu.mirrors: - update the static mirror list from LP (LP: #126148) -- Michael Vogt Thu, 11 Oct 2007 00:13:00 +0200 python-apt (0.7.3.1ubuntu2) gutsy; urgency=low * apt/package.py: - fix apt.package.Dependency.relation initialization -- Michael Vogt Mon, 01 Oct 2007 20:08:47 +0200 python-apt (0.7.3.1ubuntu1) gutsy; urgency=low * python/metaindex.cc: - added support for the metaIndex objects * python/sourceslist.cc: - support new "List" attribute that returns the list of metaIndex source entries * python/string.cc: - fix overflow in SizeToStr() -- Michael Vogt Tue, 04 Sep 2007 16:36:11 +0200 python-apt (0.7.3.1) unstable; urgency=low * NMU * Fix version to not use CPU and OS since it's not available on APT anymore (closes: #435653, #435674) -- Otavio Salvador Thu, 02 Aug 2007 18:45:25 -0300 python-apt (0.7.3ubuntu2) gutsy; urgency=low * rebuild against latest apt -- Michael Vogt Fri, 03 Aug 2007 14:16:41 +0200 python-apt (0.7.3ubuntu1) gutsy; urgency=low * apt/debfile.py: - added wrapper around apt_inst.debExtract() - support dictionary like access * python/apt_instmodule.cc: - added arCheckMember() * build with latest python-distutils-extra (thanks to doko for notifiying about the problem) * aptsources/distro.py: - throw NoDistroTemplateException if not distribution template can be found -- Michael Vogt Tue, 31 Jul 2007 13:40:04 +0200 python-apt (0.7.3) unstable; urgency=low * apt/package.py: - added Record class that can be accessed like a dictionary and return it in candidateRecord and installedRecord (thanks to Alexander Sack for discussing this with me) * doc/examples/records.py: - added example how to use the new Records class * apt/cache.py: - throw FetchCancelleException, FetchFailedException, LockFailedException exceptions when something goes wrong * aptsources/distro.py: - generalized some code, bringing it into the Distribution class, and wrote some missing methods for the DebianDistribution one (thanks to Gustavo Noronha Silva) * debian/control: - updated for python-distutils-extra (>= 1.9.0) * debian/python-apt.install: - fix i18n files * python/indexfile.cc: - increase str buffer in PackageIndexFileRepr -- Michael Vogt Fri, 27 Jul 2007 16:57:28 +0200 python-apt (0.7.2ubuntu3) gutsy; urgency=low * Rebuild against libapt-pkg-libc6.6-6-4.4. -- Colin Watson Mon, 09 Jul 2007 16:36:46 +0100 python-apt (0.7.2ubuntu2) gutsy; urgency=low * python/package.py: - added Record class that can be accessed like a dictionary and return it in candidateRecord and installedRecord (thanks to Alexander Sack for discussing this with me) * doc/examples/records.py: - added example how to use the new Records class * python/cache.py: - throw FetchCancelleException, FetchFailedException, LockFailedException exceptions when something goes wrong -- Michael Vogt Thu, 28 Jun 2007 16:03:01 +0200 python-apt (0.7.2ubuntu1) gutsy; urgency=low * merged from debian/unstable * Remaining changes: - data/templates/Ubuntu.info: gutsy repository information - set Maintainer field to ubuntu -- Michael Vogt Thu, 14 Jun 2007 12:08:49 +0200 python-apt (0.7.2) unstable; urgency=low * build against the new apt * support for new "aptsources" pythn module (thanks to Sebastian Heinlein) * merged support for translated package descriptions * merged support for automatic removal of unused dependencies -- Michael Vogt Sun, 10 Jun 2007 20:13:38 +0200 python-apt (0.7.1) experimental; urgency=low * merged http://glatzor.de/bzr/python-apt/sebi: - this means that the new aptsources modules is available -- Michael Vogt Mon, 14 May 2007 13:33:42 +0200 python-apt (0.7.0) experimental; urgency=low * support translated pacakge descriptions * support automatic dependency information -- Michael Vogt Wed, 2 May 2007 18:41:53 +0200 python-apt (0.6.22) unstable; urgency=low * python/apt_pkgmodule.cc: - added pkgCache::State::PkgCurrentState enums * python/pkgrecords.cc: - added SourceVer -- Michael Vogt Wed, 23 May 2007 09:44:03 +0200 python-apt (0.6.21ubuntu1) gutsy; urgency=low [Michael Vogt] * python/apt_pkgmodule.cc: - added pkgCache::State::PkgCurrentState enums * data/templates/Ubuntu.info.in: - updated for gusty [Sebastian Heinlein] * Fix the addition of of sources that are already enabled but not with all components - fix LP#98795 * Handle changes of forced servers of child repositories in a more sane way - fix LP#85060 -- Michael Vogt Wed, 2 May 2007 14:27:54 +0200 python-apt (0.6.21) unstable; urgency=low * apt/cdrom.py: - better cdrom handling support * apt/package.py: - added candidateDependencies, installedDependencies - SizeToString supports PyLong too - support pkg.architecture - support candidateRecord, installedRecord * apt/cache.py: - fix rootdir * apt/cdrom.py: - fix bug in cdrom mountpoint handling -- Michael Vogt Tue, 24 Apr 2007 21:24:28 +0200 python-apt (0.6.20ubuntu16) feisty; urgency=low * Fix the addition of of sources that are already enabled but not with all components - fix LP#98795 -- Sebastian Heinlein Wed, 4 Apr 2007 11:31:33 +0200 python-apt (0.6.20ubuntu15) unstable; urgency=low [ Sebastian Heinlein ] * Update the mirror lists from Launchpad * Only include http and ftp servers - LP#99060 [Michael Vogt] * fix error in invalid unicode handler (LP#99753) -- Michael Vogt Mon, 2 Apr 2007 14:25:31 +0200 python-apt (0.6.20ubuntu14) feisty; urgency=low [Michael Vogt] * aptsources/distro.py: - fix typo (LP#84009) * fix gettext import (LP#92764) * po/*.po: - make update-po [ Sebastian Heinlein ] * remove an oboslete function * fix the url comparision with trainling slashes - LP#95031 -- Michael Vogt Mon, 26 Mar 2007 18:47:22 +0200 python-apt (0.6.20ubuntu13) feisty; urgency=low * fix in the duplicated source checking (thanks to Sebastian Heinlein) * python/depache.cc: - properly support isAutoInstalled flag -- Michael Vogt Wed, 14 Mar 2007 16:38:22 +0100 python-apt (0.6.20ubuntu12) feisty; urgency=low * apt/cdrom.py: - fix bug in cdrom __init__ code * debian/rules: - added "DH_PYCENTRAL=nomove" -- Michael Vogt Wed, 7 Mar 2007 10:41:00 +0100 python-apt (0.6.20ubuntu11) feisty; urgency=low * apt/packages.py: - support candidateDependencies, installedDependencies - support pkg.architecture - support candidateRecord, installedRecord -- Michael Vogt Tue, 6 Mar 2007 16:22:49 +0100 python-apt (0.6.20ubuntu10) feisty; urgency=low * debian/control: - added XS-Vcs-Bzr header to make finding the repo easier * apt/cache.py: - fix rootdir var -- Michael Vogt Thu, 1 Mar 2007 14:36:33 +0100 python-apt (0.6.20ubuntu9) feisty; urgency=low * Re-add debian/python-apt.install (LP: #88134) - This seems to have gone missing between 0.6.20ubuntu6 and 0.6.20ubuntu8 - This probably happened because it wasn't added to bzr -- Matt Zimmerman Mon, 26 Feb 2007 14:04:15 -0800 python-apt (0.6.20ubuntu8) feisty; urgency=low * fix FTBFS -- Michael Vogt Mon, 26 Feb 2007 18:41:37 +0100 python-apt (0.6.20ubuntu7) feisty; urgency=low * aptsources/distro.py: - fix crash in add_source (LP#85806) * apt/package.py: - handle invalid unicode more gracefully (LP#86215) * rebuild against latest apt -- Michael Vogt Mon, 26 Feb 2007 14:31:00 +0100 python-apt (0.6.20ubuntu6) feisty; urgency=low * Build the extension for the debug interpreter. * Set Ubuntu maintainer address. -- Matthias Klose Sat, 17 Feb 2007 02:10:37 +0100 python-apt (0.6.20ubuntu5) feisty; urgency=low * be more robust in has_repository (LP#84897) -- Michael Vogt Tue, 13 Feb 2007 17:49:55 +0100 python-apt (0.6.20ubuntu4) feisty; urgency=low * rebuild against latest libapt -- Michael Vogt Tue, 6 Feb 2007 16:40:37 +0100 python-apt (0.6.20ubuntu3) feisty; urgency=low * fixes in the new 'aptsources' module (thanks to Sebastian Heinlein) * apt/cdrom.py: - better cdrom handling support * python/string.cc: - SizeToString supports PyLong too * apt/cache.py: - fix rootdir -- Michael Vogt Mon, 5 Feb 2007 10:29:55 +0100 python-apt (0.6.20ubuntu2) feisty; urgency=low * python/depcache.cc: - MarkInstall() has new FromUser argument to support marking packages as automatically installed * merged the 'aptsources' module for sources.list handling (thanks to Sebastian Heinlein) -- Michael Vogt Fri, 2 Feb 2007 16:26:38 +0100 python-apt (0.6.20ubuntu1) feisty; urgency=low * merged from debian -- Michael Vogt Tue, 19 Dec 2006 13:41:32 +0100 python-apt (0.6.20) unstable; urgency=low * python/generic.h: - fix incorrect use of PyMem_DEL(), use pyObject_DEL() instead. This fixes a nasty segfault with python2.5 (lp: 63226) * python/pkgrecords.cc: - export SHA1Hash() as well * debian/rules: Remove dh_python call. * apt/progress.cc: - protect against not-parsable strings send from dpkg (lp: 68553) * python/pkgmanager.cc: - fix typo (closes: #382853) * debian/control: - tightend dependency (closes: #383478) * apt/progress.py: - use os._exit() in the child (lp: #53298) - use select() when checking for statusfd (lp: #53282) * acknoledge NMU (closes: #378048, #373512) * python/apt_pkgmodule.cc: - fix missing docstring (closes: #368907), Thanks to Josh Triplett * make it build against python2.5 * python/progress.cc: - fix memleak (lp: #43096) -- Michael Vogt Tue, 19 Dec 2006 13:32:11 +0100 python-apt (0.6.19ubuntu9.1) edgy-updates; urgency=low * protect against not-parsable strings send from dpkg (lp: 68553) -- Michael Vogt Fri, 27 Oct 2006 10:41:44 +0200 python-apt (0.6.19ubuntu9) edgy; urgency=low * Reupload to restore dependency on python-central. * debian/rules: Remove dh_python call. -- Matthias Klose Thu, 12 Oct 2006 14:26:46 +0200 python-apt (0.6.19ubuntu8) edgy; urgency=low * support pkgDepCache::ActionGroup() -- Michael Vogt Fri, 6 Oct 2006 18:03:46 +0200 python-apt (0.6.19ubuntu7) edgy; urgency=low * python/generic.h: - fix incorrect use of PyMem_DEL(), use PyObject_DEL() instead. This fixes a nasty segfault with python2.5 (lp: 63226) -- Michael Vogt Wed, 4 Oct 2006 16:45:53 +0200 python-apt (0.6.19ubuntu6) edgy; urgency=low * python/progress.cc: - fix memleak (lp: #43096) -- Michael Vogt Mon, 2 Oct 2006 18:33:44 +0200 python-apt (0.6.19ubuntu5) edgy; urgency=low * python/pkgmanager.cc: - fix typo (closes: #382853) * debian/control: - tightend dependency (closes: #383478) * apt/progress.py: - use os._exit() in the child (lp: #53298) - use select() when checking for statusfd (lp: #53282) * acknoledge NMU (closes: #378048, #373512) * python/apt_pkgmodule.cc: - fix missing docstring (closes: #368907), Thanks to Josh Triplett * make it build against python2.5 -- Michael Vogt Mon, 18 Sep 2006 18:28:19 +0200 python-apt (0.6.19ubuntu4) edgy; urgency=low * Rebuild to add support for python2.5. -- Matthias Klose Fri, 8 Sep 2006 13:32:47 +0000 python-apt (0.6.19ubuntu3) edgy; urgency=low * merged ddtp support -- Michael Vogt Mon, 14 Aug 2006 16:25:51 +0200 python-apt (0.6.19ubuntu2) edgy; urgency=low * tightened build-deps on latest apt -- Michael Vogt Thu, 3 Aug 2006 17:02:30 +0200 python-apt (0.6.19ubuntu1) edgy; urgency=low [ Michael Vogt ] * doc/examples/print_uris.py: - added a example to show how the indexfile.ArchiveURI() can be used with binary packages * python/apt_pkgmodule.cc: - export sha256 generation * added support for the pkgDepCache.IsGarbage() flag [ Otavio Salvador ] * apt/cache.py: - fix commit doc string to also cite the open related callbacks - allow change of rootdir for APT database loading - add dh_installexamples in package building Closes: #376014 -- Michael Vogt Thu, 27 Jul 2006 15:00:55 +0200 python-apt (0.6.19) unstable; urgency=low [ Michael Vogt ] * doc/examples/print_uris.py: - added a example to show how the indexfile.ArchiveURI() can be used with binary packages * python/apt_pkgmodule.cc: - export sha256 generation [ Otavio Salvador ] * apt/cache.py: - fix commit doc string to also cite the open related callbacks - allow change of rootdir for APT database loading - add dh_installexamples in package building Closes: #376014 * python/depcache.cc: - "IsGarbage()" method added (to support auto-mark) -- Michael Vogt Thu, 27 Jul 2006 00:42:20 +0200 python-apt (0.6.18-0.2) unstable; urgency=low * Non-maintainer upload. * Add ${shlibs:Depends} and ${misc:Depends} (Closes: #377615). -- Christoph Berg Tue, 18 Jul 2006 11:39:52 +0200 python-apt (0.6.18-0.1) unstable; urgency=high * Non-maintainer upload. * Call dh_pycentral and dh_python before dh_installdeb, to make sure the dh_pycentral snippets are put into the maintainer scripts; patch from Sam Morris. (Closes: #376416) -- Steinar H. Gunderson Wed, 12 Jul 2006 23:26:50 +0200 python-apt (0.6.18) unstable; urgency=low * Non-maintainer upload. * Update for the new Python policy. Closes: #373512 -- Raphael Hertzog Sat, 17 Jun 2006 15:09:28 +0200 python-apt (0.6.17) unstable; urgency=low * apt/progress.py: - initialize FetchProgress.eta with the correct type - strip the staus str before passing it to InstallProgress.statusChanged() - added InstallProgress.statusChange(pkg, percent, status) - make DumbInstallProgress a new-style class (thanks to kamion for the suggestions) - fix various pychecker warnings * apt/cache.py: - return useful values on Cache.update() - Release locks on failure (thanks to Colin Watson) - fix various pychecker warnings * apt/package.py: - fix various pychecker warnings - check if looupRecords succeeded - fix bug in the return statement of _downloadable() * python/srcrecords.cc: - add "Restart" method - don't run auto "Restart" before performing a Lookup - fix the initalization (no need to pass a PkgCacheType to the records) - added "Index" attribute * python/indexfile.cc: - added ArchiveURI() method -- Michael Vogt Mon, 8 May 2006 22:34:58 +0200 python-apt (0.6.16.2ubuntu9) edgy; urgency=low * rebuild against the latest apt (with auto-mark support) * the full merge needs a newer python-support -- Michael Vogt Mon, 3 Jul 2006 21:33:40 +0200 python-apt (0.6.16.2ubuntu8) dapper; urgency=low * apt/package.py: - fix return value in {candidate,installed}Downloadable -- Michael Vogt Wed, 17 May 2006 19:28:44 +0200 python-apt (0.6.16.2ubuntu7) dapper; urgency=low * apt/package.py: - check if _lookupRecord() succeeded when checking maintainer or description (fixes invalid descriptions under rare circumstances in gnome-app-install) -- Michael Vogt Wed, 17 May 2006 18:12:58 +0200 python-apt (0.6.16.2ubuntu6) dapper; urgency=low * debian/control: - Replaces: python-apt (<< 0.6.11), instead of Conflicts which is not correct here. (closes: #308586). * python/srcrecords.cc: - don't run auto "Restart" before performing a Lookup (but require explicit "Restart", fixes the docs/examples/sources.py example) - fix the initalization (no need to pass a PkgCacheType to the records) -- Michael Vogt Mon, 8 May 2006 16:40:14 +0200 python-apt (0.6.16.2ubuntu5) dapper; urgency=low * apt/cache.py: Release locks on failure (thanks to Colin Watson) (closes: #35867) -- Michael Vogt Tue, 21 Mar 2006 15:09:14 +0100 python-apt (0.6.16.2ubuntu4) dapper; urgency=low * apt/package.py: - added Package.setDelete(purge) option -- Michael Vogt Mon, 6 Mar 2006 18:59:33 +0000 python-apt (0.6.16.2ubuntu3) dapper; urgency=low * apt/package.py: undo some damager from pychecker -- Michael Vogt Wed, 1 Mar 2006 15:34:23 +0100 python-apt (0.6.16.2ubuntu2) dapper; urgency=low * apt/progress.py: - initialize FetchProgress.eta with the correct type - strip the staus str before passing it to InstallProgress.statusChanged() * apt/cache.py: - return useful values on Cache.update() * fix FTBFS -- Michael Vogt Tue, 28 Feb 2006 14:07:06 +0100 python-apt (0.6.16.2ubuntu1) dapper; urgency=low * apt/progress.py: - added InstallProgress.statusChange(pkg, percent, status) - make DumbInstallProgress a new-style class (thanks to kamion for the suggestions) - fix various pychecker warnings * apt/cache.py, apt/package.py: fix various pychecker warnings -- Michael Vogt Tue, 28 Feb 2006 12:04:37 +0100 python-apt (0.6.16.2) unstable; urgency=low * Non-maintainer upload. * debian/control: + Replaces: python-apt (<< 0.6.11), instead of Conflicts which is not correct here. (closes: #308586). -- Pierre Habouzit Fri, 14 Apr 2006 19:30:51 +0200 python-apt (0.6.16.1) unstable; urgency=low * memleak fixed when pkgCache objects are deallocated * typos fixed (thanks to Gustavo Franco) * pkgRecords.Record added to get raw record data * python/cache.cc: "key" in pkgCache::VerIterator.DependsList[key] is no longer locale specific but always english -- Michael Vogt Wed, 22 Feb 2006 10:41:13 +0100 python-apt (0.6.16ubuntu2) dapper; urgency=low * Drop python2.3 package. -- Matthias Klose Tue, 14 Feb 2006 15:27:26 +0000 python-apt (0.6.16ubuntu1) dapper; urgency=low * memleak fixed when pkgCache objects are deallocated -- Michael Vogt Thu, 12 Jan 2006 00:08:05 +0100 python-apt (0.6.16) unstable; urgency=low * added GetPkgAcqFile to queue individual file downloads with the system (dosn't make use of the improved pkgAcqFile yet) * added SourceList.GetIndexes() * rewrote apt.cache.update() to use the improved aquire interface * apt/ API change: apt.Package.candidateOrigin returns a list of origins now instead of a single one * apt_pkg.Cdrom.Add() returns a boolean now, CdromProgress has totalSteps * added support for pkgIndexFile and added SourcesList.FindIndex() * added "trusted" to the Origin class -- Michael Vogt Thu, 5 Jan 2006 00:56:36 +0100 python-apt (0.6.15) unstable; urgency=low * rewrote cache.Commit() and make it raise proper Exception if stuff goes wrong * fix a invalid return from cache.commit(), fail if a download failed * apt.Package.candidateOrigin returns a class now * added pkgAcquire, pkgPackageManager and a example (acquire.py) * tightend build-dependencies for new apt and the c++ transition -- Michael Vogt Mon, 28 Nov 2005 23:48:37 +0100 python-apt (0.6.14) unstable; urgency=low * doc/examples/build-deps.py: - fixed/improved (thanks to Martin Michlmayr, closes: #321507) * apt_pkg.Cache.Update() does no longer reopen the cache (this is the job of the caller now) * python/srcrecords.cc: - support for "srcrecords.Files" added - always run "Restart" before performing a Lookup * export locking via: GetLock(),PkgSystem{Lock,UnLock} * apt/cache.py: - added __iter__ to make "for pkg in apt.Cache:" stuff possible -- Michael Vogt Wed, 9 Nov 2005 04:52:08 +0100 python-apt (0.6.13) unstable; urgency=low * support for depcache added * support for the PkgProblemResolver added * support for PkgSrcRecord.BuildDepends added * support for cdrom handling (add, ident) added * support for progress reporting from operations added (e.g. OpProgress, FetchProgress, InstallProgress, CdromProgress) * added tests/ directory with various tests for the code * native apt/ python directory added that contains a more pythonic interface to apt_pkg * made the apt/ python code PEP08 conform * python exceptions return the apt error message now (thanks to Chris Halls for the patch) -- Michael Vogt Fri, 5 Aug 2005 10:30:31 +0200 python-apt (0.6.12.2) unstable; urgency=low * rebuild against the latest apt (c++ transition) -- Michael Vogt Mon, 1 Aug 2005 11:06:03 +0200 python-apt (0.6.12.1) unstable; urgency=low * rebuild against the latest apt -- Michael Vogt Tue, 28 Jun 2005 18:29:57 +0200 python-apt (0.6.12ubuntu1) breezy; urgency=low * Greek0@gmx.net--2005-main/python-apt--debian--0.6: - python2.{3,4}-apt conflicts with python-apt (<< 0.6.11) (closes: #308586) (closes ubuntu: #11380) -- Michael Vogt Thu, 12 May 2005 11:34:05 +0200 python-apt (0.6.12) breezy; urgency=low * added a tests/ directory * added tests/pkgsrcrecords.py that will check if the pkgsrcrecords interface does not segfault * new native python "apt" interface that hides the details of apt_pkg -- Michael Vogt Fri, 6 May 2005 10:11:52 +0200 python-apt (0.6.11) experimental; urgency=low * fixed some reference count problems in the depcache and pkgsrcrecords code * DepCache.Init() is never called implicit now * merged with python-apt tree from Greek0@gmx.net--2005-main -- Michael Vogt Fri, 6 May 2005 10:04:38 +0200 python-apt (0.5.36ubuntu2) hoary; urgency=low * return "None" in GetCandidateVer() if no Candidate is found -- Michael Vogt Tue, 15 Mar 2005 12:30:06 +0100 python-apt (0.5.36ubuntu1) hoary; urgency=low * DepCache.ReadPinFile() added * Fixed a bug in DepCache.Upgrade() -- Michael Vogt Wed, 2 Mar 2005 11:32:15 +0100 python-apt (0.5.36) hoary; urgency=low * Fix build-depends, somehow lost in merge -- Matt Zimmerman Sat, 26 Feb 2005 18:53:54 -0800 python-apt (0.5.35) hoary; urgency=low * Target hoary this time -- Matt Zimmerman Sat, 26 Feb 2005 15:57:21 -0800 python-apt (0.5.34) unstable; urgency=low * Restore Ubuntu changes - Build python 2.4 as default, add python2.3-apt - Typo fix (Ubuntu #4677) -- Matt Zimmerman Sat, 26 Feb 2005 15:53:30 -0800 python-apt (0.5.33) unstable; urgency=low * Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0 - Basic depcache API (Ubuntu #6889) -- Matt Zimmerman Sat, 26 Feb 2005 15:37:48 -0800 python-apt (0.5.32) unstable; urgency=low * Update to work with apt 0.5.32 (bzip2 deb support) -- Matt Zimmerman Sun, 12 Dec 2004 09:44:45 -0800 python-apt (0.5.10) unstable; urgency=low * Recompile with apt 0.5 -- Matt Zimmerman Fri, 26 Dec 2003 09:09:40 -0800 python-apt (0.5.9) unstable; urgency=low * Fix broken object initialization in sourcelist.cc and srcrecords.cc (Closes: #215792) -- Matt Zimmerman Thu, 25 Dec 2003 12:12:04 -0800 python-apt (0.5.8) unstable; urgency=low * Adjust build-depends to build with python2.3. No other changes. * This seems to break the new source package support, probably because the new source package support is buggy. -- Matt Zimmerman Fri, 8 Aug 2003 09:01:12 -0400 python-apt (0.5.5.2) unstable; urgency=low * Add myself to Uploaders so that bugs don't get tagged as NMU-fixed anymore * Initial support for working with source packages (Closes: #199716) -- Matt Zimmerman Tue, 22 Jul 2003 22:20:00 -0400 python-apt (0.5.5.1) unstable; urgency=low * DepIterator::GlobOr increments the iterator; don't increment it again. This caused every other dependency to be skipped (Closes: #195805) * Avoid a null pointer dereference when calling keys() on an empty configuration (Closes: #149380) -- Matt Zimmerman Mon, 2 Jun 2003 23:18:53 -0400 python-apt (0.5.5) unstable; urgency=low * Rebuild with apt 0.5.5 -- Matt Zimmerman Tue, 6 May 2003 10:01:22 -0400 python-apt (0.5.4.9) unstable; urgency=low * Parse /var/lib/dpkg/status in examples/tagfile.py, so that it works out of the box (Closes: #175340) * Rebuild with apt 0.5.4.9 (libapt-pkg-libc6.3-5-3.3) -- Matt Zimmerman Tue, 18 Feb 2003 16:42:24 -0500 python-apt (0.5.4.4) unstable; urgency=low * Fix for memory leak with TmpGetCache. Closes: #151489 * Include additional examples from Moshe Zadka Closes: #150091, #152048 * Rebuild for python2.2, which is now the default version Closes: #158460 * No CVS directories in source tarball Closes: #157773 -- Matt Zimmerman Tue, 27 Aug 2002 19:22:10 -0400 python-apt (0.5.4.3) unstable; urgency=low * #include in python/generic.h so that we can build on ia64, which uses g++-2.96 (Closes: #137467) -- Matt Zimmerman Sat, 9 Mar 2002 23:34:13 -0500 python-apt (0.5.4.2) unstable; urgency=high * Fix g++-3.0 compilation issues (Closes: #134020) -- Matt Zimmerman Sun, 24 Feb 2002 00:20:22 -0500 python-apt (0.5.4.1) unstable; urgency=low * Add apt-utils to build-depends, since libapt-pkg-dev doesn't pull it in. This should allow python-apt to be autobuilt more readily. -- Matt Zimmerman Sat, 23 Feb 2002 19:01:15 -0500 python-apt (0.5.4) unstable; urgency=low * Initial release. * Initial packaging by Jason Gunthorpe, et al. -- Matt Zimmerman Wed, 16 Jan 2002 01:37:56 -0500