summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog97
-rw-r--r--debian/compat1
-rw-r--r--debian/control41
-rwxr-xr-xdebian/rules26
4 files changed, 110 insertions, 55 deletions
diff --git a/debian/changelog b/debian/changelog
index a31244bb..d9b428bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,96 @@
+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
+
+ [ Otavio Salvador ]
+ * apt/cache.py:
+ - fix commit doc string to also cite the open related callbacks
+ - allow change of rootdir for APT database loading
+
+ --
+
+python-apt (0.6.18) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update for the new Python policy. Closes: #373512
+
+ -- Raphael Hertzog <hertzog@debian.org> 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()
+ * apt/cache.py:
+ * 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 <mvo@debian.org> Mon, 8 May 2006 22:34:58 +0200
+
+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 <madcoder@debian.org> 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 <mvo@debian.org> Wed, 22 Feb 2006 10:41:13 +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 <michael.vogt@ubuntu.com> 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 <mvo@debian.org> Mon, 28 Nov 2005 23:48:37 +0100
+
python-apt (0.6.14) unstable; urgency=low
* doc/examples/build-deps.py:
@@ -9,9 +102,9 @@ python-apt (0.6.14) unstable; urgency=low
- always run "Restart" before performing a Lookup
* export locking via: GetLock(),PkgSystem{Lock,UnLock}
* apt/cache.py:
- - add __iter__
+ - added __iter__ to make "for pkg in apt.Cache:" stuff possible
- -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 20 Sep 2005 13:24:31 +0200
+ -- Michael Vogt <mvo@debian.org> Wed, 9 Nov 2005 04:52:08 +0100
python-apt (0.6.13) unstable; urgency=low
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..7813681f
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5 \ No newline at end of file
diff --git a/debian/control b/debian/control
index bfa67c67..f313dff5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,43 +3,18 @@ Section: python
Priority: optional
Maintainer: APT Development Team <deity@lists.debian.org>
Uploaders: Matt Zimmerman <mdz@debian.org>, Michael Vogt <mvo@debian.org>
-Standards-Version: 3.6.1.1
-Build-Depends: debhelper (>= 4.2.28), libapt-pkg-dev (>= 0.6.40), apt-utils, python-dev, python2.4-dev, python2.3-dev
+Standards-Version: 3.6.2.0
+XS-Python-Version: all
+Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.6.40), apt-utils, python-all-dev, python-central
Package: python-apt
-Architecture: all
-Depends: ${python:Depends}
-Priority: optional
-Description: Python interface to libapt-pkg
- The apt-pkg Python interface will provide full access to the internal
- libapt-pkg structures allowing Python programs to easily perform a
- variety of functions, such as:
- .
- - Access to the APT configuration system
- - Access to the APT package information database
- - Parsing of Debian package control files, and other files with a
- similar structure
-
-Package: python2.3-apt
Architecture: any
-Depends: python2.3, ${shlibs:Depends}
-Conflicts: python-apt (<< 0.6.11)
-Priority: optional
-Description: Python interface to libapt-pkg
- The apt-pkg Python interface will provide full access to the internal
- libapt-pkg structures allowing Python programs to easily perform a
- variety of functions, such as:
- .
- - Access to the APT configuration system
- - Access to the APT package information database
- - Parsing of Debian package control files, and other files with a
- similar structure
-
-Package: python2.4-apt
-Architecture: any
-Depends: python2.4, ${shlibs:Depends}
-Conflicts: python-apt (<< 0.6.11)
+Depends: ${python:Depends}
Priority: optional
+Replaces: python2.3-apt (<< 0.6.18), python2.4-apt (<< 0.6.18)
+Conflicts: python2.3-apt (<< 0.6.18), python2.4-apt (<< 0.6.18)
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
Description: Python interface to libapt-pkg
The apt-pkg Python interface will provide full access to the internal
libapt-pkg structures allowing Python programs to easily perform a
diff --git a/debian/rules b/debian/rules
index 0ab6fa27..ffd39a6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,16 +6,13 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-PYTHON=python2.3 python2.4
+PYTHON=$(shell pyversions -r debian/control)
build: build-stamp
build-stamp:
@@ -41,18 +38,6 @@ clean:
# Build architecture-independent files here.
binary-indep: DH_OPTIONS=-i
binary-indep: build
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples doc/examples/*.py
- dh_installchangelogs
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_python
- dh_gencontrol
- dh_md5sums
- dh_builddeb
# Build architecture-dependent files here.
binary-arch: DH_OPTIONS=-a
@@ -60,11 +45,11 @@ binary-arch: build
dh_testdir
dh_testroot
dh_clean -k
-
+
for PY in $(PYTHON); do \
- /usr/bin/$$PY setup.py install --prefix=`pwd`/debian/$${PY}-apt/usr; \
+ /usr/bin/$$PY setup.py install --prefix=`pwd`/debian/python-apt/usr; \
done
-
+
dh_installdocs
dh_installchangelogs
dh_strip
@@ -72,6 +57,7 @@ binary-arch: build
dh_fixperms
dh_installdeb
dh_shlibdeps
+ dh_pycentral
dh_python
dh_gencontrol
dh_md5sums
@@ -83,7 +69,7 @@ source diff:
arch-build:
rm -rf debian/arch-build
mkdir -p debian/arch-build/python-apt-$(DEBVER)
- baz inventory -s | xargs cp -a --parents --target=debian/arch-build/python-apt-$(DEBVER)
+ tar -c --exclude=arch-build --no-recursion -f - `bzr inventory` | (cd debian/arch-build/python-apt-$(DEBVER);tar xf -)
(cd debian/arch-build/python-apt-$(DEBVER); $(DEB_BUILD_PROG))
binary: binary-indep binary-arch