summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-05-06 21:19:53 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-05-06 21:19:53 +0200
commit2c43ad2f4440571a1fadb6830f14d7a3f1ad2020 (patch)
tree76b78116acb768f6379d3425bace15cc7069bfe9 /debian
parentd9096e08b64c0e917bcfcce29f498fa47a6d7db4 (diff)
parentb285f7334fc4aa735993a057c8788876620e55cb (diff)
downloadpython-apt-2c43ad2f4440571a1fadb6830f14d7a3f1ad2020.tar.gz
* 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 * apt/package.py: Handle cases where no candidate is available, by returning None in the candidate property. (Closes: #523801) * 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. * 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. * 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) * 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)
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog92
-rw-r--r--debian/control36
-rw-r--r--debian/copyright58
-rwxr-xr-xdebian/rules7
4 files changed, 174 insertions, 19 deletions
diff --git a/debian/changelog b/debian/changelog
index a0fc52b8..94b5f37e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,95 @@
+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 <mvo@debian.org> 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 <jak@debian.org> 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 <jak@debian.org> Sun, 12 Apr 2009 19:00: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 <jak@debian.org> 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 <mvo@debian.org> Thu, 19 Mar 2009 13:39:21 +0100
+
python-apt (0.7.9~exp2ubuntu11) karmic; urgency=low
[ Matthias Klose ]
diff --git a/debian/control b/debian/control
index abae4b5b..57a95cd4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,18 +3,32 @@ Section: python
Priority: optional
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: APT Development Team <deity@lists.debian.org>
-Uploaders: Matt Zimmerman <mdz@debian.org>, Michael Vogt <mvo@debian.org>
-Standards-Version: 3.7.2.2
-XS-Python-Version: 2.4, all
-Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.7.20), apt-utils, python-all-dev, python-distutils-extra (>= 1.9.0), cdbs, python-central (>= 0.6.11), python-all-dbg, python-sphinx (>= 0.5), python2.4-dev, python2.4-dbg
-XS-Original-Vcs-Bzr: http://bzr.debian.org/apt/python-apt/debian-sid
-Vcs-Bzr: http://code.launchpad.net/~ubuntu-core-dev/python-apt/ubuntu
+Uploaders: Michael Vogt <mvo@debian.org>, Julian Andres Klode <jak@debian.org>
+Standards-Version: 3.8.1
+XS-Python-Version: all
+Build-Depends: apt-utils,
+ cdbs,
+ debhelper (>= 5.0.37.1),
+ libapt-pkg-dev (>= 0.7.10),
+ python-all-dbg,
+ python-all-dev,
+ python2.4-dev,
+ python2.4-dbg,
+ python-central (>= 0.5),
+ python-debian,
+ python-distutils-extra (>= 1.9.0),
+ python-gtk2,
+ python-sphinx (>= 0.5),
+ python-vte
+Vcs-Bzr: http://bzr.debian.org/apt/python-apt/debian-sid
+Vcs-Browser: http://bzr.debian.org/loggerhead/apt/python-apt/debian-sid/changes
Package: python-apt
Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, lsb-release
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, lsb-release,
+ libjs-jquery
Recommends: iso-codes
-Priority: optional
+Breaks: debdelta (<< 0.28~)
Provides: ${python:Provides}
Suggests: python-apt-dbg, python-gtk2, python-vte
XB-Python-Version: ${python:Versions}
@@ -34,10 +48,12 @@ Description: Python interface to libapt-pkg
Package: python-apt-dbg
Priority: extra
Architecture: any
-Depends: python-dbg, python-apt (= ${Source-Version}), ${shlibs:Depends}
+Section: debug
+Depends: python-dbg, python-apt (= ${binary:Version}), ${shlibs:Depends},
+ ${misc:Depends}
Description: Python interface to libapt-pkg (debug extension)
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.
.
- This package contains the extension built for the python debug interpreter.
+ This package contains the extension built for the Python debug interpreter.
diff --git a/debian/copyright b/debian/copyright
index f8463185..8599328a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,53 @@
-APT is free software; you can redistribute them and/or modify them under
-the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
-version.
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=443
-On Debian systems, a copy of the GNU General Public License can be
-found in /usr/share/common-licenses/GPL.
+Files: *
+Copyright: © 2004-2009 Canonical Ltd.
+License: GPL-2+
+
+Files: aptsources/*.py
+Copyright: © 2004-2009 Canonical Ltd.
+Copyright: © 2005 Gustavo Noronha Silva
+Copyright: © 2006-2007 Sebastian Heinlein
+License: GPL-2+
+
+Files: doc/source/*
+Copyright: © 2009 Julian Andres Klode <jak@debian.org>
+License: GPL-2+
+
+Files: utils/get_*.py
+Copyright: © 2006 Free Software Foundation Europe
+License: GPL-2+
+
+Files: po/*
+Copyright: © 2006 Canonical Ltd, and Rosetta Contributors 2006
+License: GPL-2+
+
+Files: po/de.po
+Copyright: © 2005 Michiel Sikkes <michiel@eyesopened.nl>
+License: GPL-2+
+
+Files: po/en_CA.po
+Copyright: © 2005 Adam Weinberger and the GNOME Foundation
+License: GPL-2+
+
+Files: po/fi.po
+Copyright: © 2005-2006 Timo Jyrinki
+License: GPL-2+
+
+Files: po/fr.po
+Copyright: © 2007 Hugues NAULET <hnaulet@gmail.com>
+License: GPL-2+
+
+Files: po/hu.po, po/lt.po, po/pt.po, po/ro.po, po/rw.po, po/sv.po, po/uk.po,
+ po/zh_HK.po
+Copyright: © 2005-2006 Free Software Foundation
+License: GPL-2+
+
+License: GPL-2+
+ APT is free software; you can redistribute them and/or modify them under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.
+ .
+ On Debian systems, a copy of the GNU General Public License can be
+ found in /usr/share/common-licenses/GPL-2.
diff --git a/debian/rules b/debian/rules
index a96e17ff..e9917843 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,7 @@ PKG=python-apt
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
DEB_COMPRESS_EXCLUDE:=.html .js _static/* _sources/* _sources/*/* .inv
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
+export DEBVER
build/python-apt-dbg::
set -e; \
@@ -22,9 +23,6 @@ build/python-apt-dbg::
python$$i-dbg ./setup.py build; \
done
-build/python-apt::
- pydoc -w
-
install/python-apt-dbg::
for i in $(cdbs_python_build_versions); do \
python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-apt-dbg --install-layout=deb; \
@@ -33,6 +31,9 @@ install/python-apt-dbg::
! -type d ! -name '*_d.so' | xargs rm -f
find debian/python-apt-dbg -depth -empty -exec rmdir {} \;
+binary-predeb/python-apt::
+ ln -sf ../../../../javascript/jquery/jquery.js debian/python-apt/usr/share/doc/python-apt/html/_static/jquery.js
+
binary-predeb/python-apt-dbg::
rm -rf debian/python-apt-dbg/usr/share/doc/python-apt-dbg
ln -s python-apt debian/python-apt-dbg/usr/share/doc/python-apt-dbg