From d37863d6d08a02b484577f7a6a67f163cc2f2902 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 5 Mar 2012 13:05:39 +0100 Subject: python/apt_pkgmodule.cc: Fix apt_pkg.Dependency.TYPE_RECOMMENDS, had Suggests value previously --- debian/changelog | 5 +++++ python/apt_pkgmodule.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a585bbb4..b193ed71 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ python-apt (0.8.4) UNRELEASED; urgency=low + [ Michael Vogt ] * 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) @@ -14,6 +15,10 @@ python-apt (0.8.4) UNRELEASED; urgency=low - add support a filename argument in apt_pkg.TagFile() (in addition to the file object currently supported) + [Julian Andres Klode ] + * python/apt_pkgmodule.cc: + - Fix apt_pkg.Dependency.TYPE_RECOMMENDS, had Suggests value previously + -- Michael Vogt Wed, 04 Jan 2012 12:07:48 +0100 python-apt (0.8.3.1) UNRELEASED; urgency=low diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index acfdf019..7704aa01 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -920,7 +920,7 @@ extern "C" void initapt_pkg() PyDict_SetItemString(PyDependency_Type.tp_dict, "TYPE_SUGGESTS", MkPyNumber(pkgCache::Dep::Suggests)); PyDict_SetItemString(PyDependency_Type.tp_dict, "TYPE_RECOMMENDS", - MkPyNumber(pkgCache::Dep::Suggests)); + MkPyNumber(pkgCache::Dep::Recommends)); PyDict_SetItemString(PyDependency_Type.tp_dict, "TYPE_CONFLICTS", MkPyNumber(pkgCache::Dep::Conflicts)); PyDict_SetItemString(PyDependency_Type.tp_dict, "TYPE_REPLACES", -- cgit v1.2.3 From c1625b7a05d3eae75e234cb721eb3d41d854cef2 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 16 Apr 2012 19:06:21 +0200 Subject: commit experimental upload --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d74763c8..fff4b849 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,14 +25,14 @@ python-apt (0.8.4) UNRELEASED; urgency=low -- Michael Vogt Wed, 04 Jan 2012 12:07:48 +0100 -python-apt (0.8.3.1) UNRELEASED; urgency=low +python-apt (0.8.4~exp1) experimental; urgency=low * tests/test_apt_cache.py: - fix tests on kfreebsd/ia64 * apt/debfile.py: - fix crash in dep multiarch handling - -- Michael Vogt Fri, 09 Dec 2011 09:23:16 +0100 + -- Michael Vogt Tue, 24 Jan 2012 14:02:46 +0100 python-apt (0.8.3) unstable; urgency=low -- cgit v1.2.3 From 6419136fa129baa308471db3958920617451b277 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 16 Apr 2012 19:24:52 +0200 Subject: tests/test_policy.py: fix test to include priority of 1 too --- tests/test_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_policy.py b/tests/test_policy.py index d77fb27e..f7d41152 100644 --- a/tests/test_policy.py +++ b/tests/test_policy.py @@ -24,7 +24,7 @@ class TestAptPolicy(unittest.TestCase): lowlevel_ver = ver._cand for pkgfile, i in lowlevel_ver.file_list: #print pkgfile, i, policy.get_priority(pkgfile) - self.assertTrue(policy.get_priority(pkgfile) > 1) + self.assertTrue(policy.get_priority(pkgfile) >= 1) self.assertTrue(policy.get_priority(pkgfile) < 1001) def test_apt_policy_highlevel(self): -- cgit v1.2.3 From 0165191e08c650bb81c06660845114cec3738dce Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 16 Apr 2012 19:25:18 +0200 Subject: releasing version 0.8.4 --- debian/changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index fff4b849..c1b12cc8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -python-apt (0.8.4) UNRELEASED; urgency=low +python-apt (0.8.4) unstable; urgency=low [ Michael Vogt ] * doc/examples/build-deps.py: @@ -18,12 +18,13 @@ python-apt (0.8.4) UNRELEASED; urgency=low - if there is no Version.uri return None * apt/cache.py: - fix _have_multi_arch flag (thanks to Sebastian Heinlein) + * build against apt 0.9.0 [Julian Andres Klode ] * python/apt_pkgmodule.cc: - Fix apt_pkg.Dependency.TYPE_RECOMMENDS, had Suggests value previously - -- Michael Vogt Wed, 04 Jan 2012 12:07:48 +0100 + -- Michael Vogt Mon, 16 Apr 2012 19:06:48 +0200 python-apt (0.8.4~exp1) experimental; urgency=low -- cgit v1.2.3