summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)AuthorFilesLines
2010-03-29do not require files to end in .py if they are passed on the commandJulian Andres Klode1-0/+2
line or if they contain python somewhere in the shebang line.
2010-03-29Don't abort if parsing failed.Julian Andres Klode1-0/+1
2010-03-29Add has_key to the list of deprecated functions.Julian Andres Klode1-0/+1
2010-03-29utils/migrate-0.8.py: Open files in universal newline support and pass ↵Julian Andres Klode1-0/+2
filename to ast.parse.
2010-03-26Merge with mvo, with the following changes:Julian Andres Klode1-0/+10
* python/generic.cc is changed instead of python/indexfile.cc to add the ArchiveURI property * tests/test_apt_cache.py is changed to assert the properties of the Dependency object instead of assigning them to a variable. The additions to the changelog are: [ Julian Andres Klode ] - Map ArchiveURI property to archive_uri [ 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
2010-03-25* apt/__init__.py:Michael Vogt1-1/+6
- only show deprecation warnings if PYTHON_APT_DEPRECATION_WARNINGS is set in the environment * python/indexfile.cc: - add missing 0.7 compat indexfile.ArchiveURI method
2010-03-23* tests/test_apt_cache.py:Michael Vogt1-0/+2
- add simple test for basic cache/dependency iteration
2010-03-23* tests/data/aptsources_ports/sources.list:Michael Vogt1-0/+2
- fix ports test-data
2010-03-23* apt/cache.py:Michael Vogt1-0/+5
- make cache open silent by default (use apt.progress.base.OpProgress)
2010-03-20debian/control: Change priority to standard, keep -doc and -dev on optional.Julian Andres Klode2-1/+5
2010-03-15* python/generic.cc:Julian Andres Klode1-0/+7
- Fix a memory leak when using old attribute names.
2010-03-12Revert 0.7.93.3 and just set APT::Architecture to i386 forJulian Andres Klode1-0/+7
test_aptsources; fixes FTBFS on powerpc.
2010-03-12Upload to unstable.Julian Andres Klode1-2/+2
2010-03-12Build documentation only when needed (when building python-apt-doc).Julian Andres Klode2-2/+5
2010-03-12tests/test_all.py: Write information header to stderr, not stdout.Julian Andres Klode1-0/+1
2010-03-12recommend python2.6.Julian Andres Klode2-2/+2
2010-03-12Install examples to python-apt-doc instead of python-apt.Julian Andres Klode2-0/+1
2010-03-12Pass --link-doc=python-apt to dh_installdocs.Julian Andres Klode2-3/+4
2010-03-12Use dh_link instead of ln for python-apt-doc (Closes: #573523).Julian Andres Klode3-2/+2
2010-03-11Pass --exclude=migrate-0.8.py to dh_pycentral; in order to not dependJulian Andres Klode2-0/+10
on python2.6.
2010-03-10Upload to unstable as 0.7.94.Julian Andres Klode1-2/+2
2010-03-10python-apt-doc replaces files in older python-aptJulian Andres Klode1-0/+1
2010-03-10Build documentation only once on the default Python version.Julian Andres Klode2-0/+5
2010-03-10Move documentation into python-apt-doc (Closes: #572617)Julian Andres Klode6-6/+19
2010-03-10* python/apt_pkgmodule.cc:Julian Andres Klode1-0/+5
- Treat '>>' and '>', '<<' and '<' as identical in check_dep (LP: #535667). * tests: - test_deps: Add tests for apt_pkg.CheckDep, apt_pkg.check_dep, apt_pkg.parse_depends and apt_pkg.parse_src_depends.
2010-03-08* utils/get_ubuntu_mirrors_from_lp.py:Julian Andres Klode1-0/+2
- Sort the mirror list of each country.
2010-03-08* utils/get_debian_mirrors.py:Julian Andres Klode1-0/+2
- Parse Mirrors.masterlist instead of the HTML web page.
2010-03-08apt/package.py: Always return unicode strings in Package.get_changelog ↵Julian Andres Klode1-0/+1
(Closes: #572998).
2010-03-05* python/tag.cc:Julian Andres Klode1-0/+3
- Hack the TagFile iterator to not use shared storage (Closes: #572596): Scan once, duplicate the section data, and scan again.
2010-03-03python/generic.cc: Map UntranslatedDepType to dep_type_untranslated.Julian Andres Klode1-0/+2
2010-03-03* tests/data/aptsources/sources.list.testDistribution:Julian Andres Klode1-0/+2
- change one mirror which is not on the mirror list anymore.
2010-03-03* Merge with Ubuntu:Julian Andres Klode2-1/+7
- 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)
2010-03-03* apt/progress/old.py:Julian Andres Klode1-0/+3
- Let the new method call the old one; e.g. status_update() now calls self.statusUpdate(). This improves compatibility for sub classes.
2010-03-03Use the binary package version in Version.fetch_source() if theJulian Andres Klode1-0/+2
source version is not specified (i.e. in the normal case).
2010-03-01* apt/progress/text.py:Julian Andres Klode1-0/+2
- Drop InstallProgress, it's useless to keep this alias around.
2010-03-01* apt/package.py:Julian Andres Klode1-0/+3
- Create a string class BaseDependency.__dstr which makes '>' equal to '>>' and '<' equal to '<<' (compatibility).
2010-03-01* python/acquire-item.cc:Julian Andres Klode1-0/+7
- Add AcquireItem.partialsize member.
2010-02-27* data/templates/Ubuntu.info.in:Julian Andres Klode1-0/+8
- Use generic MirrorsFile key instead of per-architecture ones in order to fix FTBFS on !amd64 !i386 (Closes: #571752)
2010-02-27Upload 0.7.93.2 to unstableJulian Andres Klode1-1/+1
2010-02-27* debian/python-apt.install:Julian Andres Klode3-1/+4
- Install utils/migrate-0.8.py to /usr/share/python-apt/.
2010-02-27Ship the list of deprecated things in the apt_pkg and apt_inst modulesJulian Andres Klode2-0/+4
inside the script itself, so we don't have to parse the source code anymore.
2010-02-27* python:Julian Andres Klode1-2/+5
- Handle deprecated attributes and methods in the tp_gettattro slot, this allows us to easily warn if a deprecated function is used.
2010-02-27* python/cache.cc:Julian Andres Klode1-0/+2
- Implement Cache.__len__() and Cache.__contains__() (Closes: #571443).
2010-02-17* python/progress.cc:Michael Vogt1-0/+2
- try to call compatibility functions first, then new functions
2010-02-17apt/progress/base.py: call pipe ends {write,status}_streamMichael Vogt1-1/+1
2010-02-17* apt/cache.py:Michael Vogt1-0/+9
- 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_pipe and self.write_pipe file like objects
2010-02-13* debian/rules:Julian Andres Klode2-0/+7
- Run tests during build time.
2010-02-13* data/templates/*.in: Switch MirrorsFile to relative filenames.Julian Andres Klode1-0/+3
- setup.py: Copy the mirror lists to the build directory - aptsources/distinfo.py: Support relative filenames for MirrorsFile.
2010-02-13test_all.py: Use local modules instead of system ones if possible.Julian Andres Klode1-0/+1
2010-02-13* aptsources/distro.py:Julian Andres Klode1-0/+2
- Call lsb_release with -idrc instead of --all.