diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-05-05 11:09:26 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-05-05 11:09:26 +0200 |
| commit | 51c60cb3447247188bb8bf5c82b53e5199878b36 (patch) | |
| tree | 5f3d6ff39d06199a0423913284149fb6e59436d5 /debian | |
| parent | b08e026fea9ed453d2cbaaa402fe1bd17c6242dd (diff) | |
| parent | 23d29169c30b2f05a0c2943832a7cf7288ff5802 (diff) | |
| download | python-apt-51c60cb3447247188bb8bf5c82b53e5199878b36.tar.gz | |
merge from the debian-unstable tree
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 90 | ||||
| -rw-r--r-- | debian/control | 29 | ||||
| -rw-r--r-- | debian/copyright | 58 | ||||
| -rwxr-xr-x | debian/rules | 7 |
4 files changed, 156 insertions, 28 deletions
diff --git a/debian/changelog b/debian/changelog index 3bbae45f..83b00150 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,13 +1,79 @@ -python-apt (0.7.9~exp3) experimental; urgency=low +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.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 <jak@debian.org> 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 <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 + - 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 @@ -22,7 +88,7 @@ python-apt (0.7.9~exp3) experimental; urgency=low * 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~exp2) experimental; urgency=low @@ -58,7 +124,7 @@ python-apt (0.7.9~exp2) experimental; urgency=low * 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 @@ -68,14 +134,14 @@ python-apt (0.7.9~exp2) experimental; urgency=low - only add nearest_server and server to the mirrors if they are defined - -- Julian Andres Klode <jak@debian.org> Sun, 11 Jan 2009 20:01:59 +0100 + -- Michael Vogt <mvo@debian.org> 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 "isVirtualPackage()" - new method "getProvidingPackages()" - new method "getRequiredDownload()" - new method "additionalRequiredSpace()" @@ -84,7 +150,7 @@ python-apt (0.7.9~exp1) experimental; urgency=low provides interfaces for querrying and installing .deb files and .dsc files * apt/package.py: - - better description parsing + - better description parsing - new method "installedFiles()" - new method "getChangelog()" * apt/gtk/widgets.py: @@ -93,7 +159,7 @@ python-apt (0.7.9~exp1) experimental; urgency=low - new gobject GInstallProgress - new gobject GDpkgInstallProgress - new widget GtkAptProgress - * doc/examples/gui-inst.py: + * doc/examples/gui-inst.py: - updated to use the new widgets * debian/control: - add suggests for python-gtk2 and python-vte @@ -101,7 +167,7 @@ python-apt (0.7.9~exp1) experimental; urgency=low - build html/ help of the apt and aptsources modules into /usr/share/doc/python-apt/html * apt/__init__.py: - - remove the future warning + - remove the future warning -- Michael Vogt <mvo@debian.org> Mon, 15 Dec 2008 14:29:47 +0100 @@ -109,7 +175,7 @@ python-apt (0.7.8) unstable; urgency=low [ Michael Vogt ] * python/cache.cc: - - fix crash if Ver.PriorityType() returns NULL + - 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) @@ -174,7 +240,7 @@ python-apt (0.7.7) unstable; urgency=low [ Michael Vogt ] * python/apt_pkgmodule.cc: - fix bug in hashsum calculation when the original string - contains \0 charackters (thanks to Celso Providelo and + 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 @@ -196,7 +262,7 @@ python-apt (0.7.6) unstable; urgency=low race condition in the pkgcache.bin handling) * data/templates/Ubuntu.info.in: - added ubuntu 'intrepid' - * debian/README.source: + * debian/README.source: - added (basic) documentation how to build python-apt * aptsources/distinfo.py: - support arch specific BaseURI, MatchURI and MirrosFile fields diff --git a/debian/control b/debian/control index 0fbc0205..4c7b542f 100644 --- a/debian/control +++ b/debian/control @@ -2,17 +2,30 @@ Source: python-apt 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.7.2.2 +Uploaders: Michael Vogt <mvo@debian.org>, Julian Andres Klode <jak@debian.org> +Standards-Version: 3.8.1 XS-Python-Version: all -Build-Depends: debhelper (>= 5.0.37.1), libapt-pkg-dev (>= 0.7.10), apt-utils, python-all-dev, python-distutils-extra (>= 1.9.0), cdbs, python-central (>= 0.5), python-all-dbg, python-sphinx (>= 0.5) +Build-Depends: apt-utils, + cdbs, + debhelper (>= 5.0.37.1), + libapt-pkg-dev (>= 0.7.10), + python-all-dbg, + python-all-dev, + 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} @@ -32,10 +45,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 90b48cda..6d709ecd 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; \ @@ -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 |
