summaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)AuthorFilesLines
2015-06-17setup.py: If no version is in the environment, return NoneJulian Andres Klode1-0/+3
2015-06-11setup.py: Do not raise a value error if there's a tilde in the versionJulian Andres Klode1-3/+0
This breaks PPAs. No workaround yet, so PPA users will have to live with pkg_resources complaints. Gbp-Dch: ignore
2015-06-11setup.py: Translate version number from Debian to PEP0440Julian Andres Klode1-1/+19
Such a idiocy. LP: #1445949
2015-05-29Remove the "-Wstrict-prototypes" compiler optionvon1-0/+7
It isn't valid for C++. See: http://bugs.python.org/issue9031, http://bugs.python.org/issue1222585 [jak@debian.org: Reworded commit message]
2014-01-06Use a single code base for Python 2 and 3Julian Andres Klode1-8/+0
This is much better than running 2to3 during the build, as it gives us more control over the Python 3 code.
2014-01-05make test_pep8.py passMichael Vogt1-8/+8
2013-09-11Remove old API compatibility C++ support codeJulian Andres Klode1-1/+1
2012-06-12cherry pick r472 from lp:~ubuntu-core-dev/python-apt/ubuntu (thanks Colin!)Michael Vogt1-0/+4
2011-04-27apt_pkg: Add OrderList, wanted for mancoosi (Closes: #623485)Julian Andres Klode1-1/+1
2011-04-05Add apt_pkg.Group class, wrapping pkgCache::GrpIteratorJulian Andres Klode1-1/+2
2010-03-10Build documentation only once on the default Python version.Julian Andres Klode1-2/+0
2010-02-13* data/templates/*.in: Switch MirrorsFile to relative filenames.Julian Andres Klode1-0/+4
- setup.py: Copy the mirror lists to the build directory - aptsources/distinfo.py: Support relative filenames for MirrorsFile.
2010-02-02Remove inline functions from the C++ API, export them instead (part 2).Julian Andres Klode1-1/+1
2009-08-08python/tarfile.cc: Introduce wrapper around ExtractTar.Julian Andres Klode1-1/+1
2009-08-07python/arfile.cc: Introduce apt_inst.ArArchive and apt_inst.ArMember.Julian Andres Klode1-1/+2
This is part one of wishlist Bug#536096, introducing classes in apt_inst.
2009-07-31python: Remove the progress classes in apt_pkg.Julian Andres Klode1-3/+2
They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing.
2009-07-22python: First step of fixing acquire stuff.Julian Andres Klode1-1/+2
Basically, we only want to have on PyAcquireItem per pkgAcquire::Item, and one PyAcquireItemDesc per pkgAcquire::ItemDesc. Therefore, we store them so we can return them at a later time.
2009-07-20python/lock.cc: Introduce apt_pkg.SystemLock context manager.Julian Andres Klode1-1/+1
This is the new alternative to pkgsystem_lock() and pkgsystem_unlock(), and is the recommended one.
2009-07-19setup.py: Compile cdromprogress.cc.Julian Andres Klode1-1/+1
2009-07-15Introduce new progress (base) classes in apt_pkg:Julian Andres Klode1-2/+3
- apt_pkg.AcquireProgress - apt_pkg.OpProgress
2009-07-15setup.py: Add missing 'c' to configuration.ccJulian Andres Klode1-1/+1
2009-07-15Simplify the whole building, build all Python versions with setup.pyJulian Andres Klode1-39/+34
2009-06-25python: Fix some build warnings.Julian Andres Klode1-2/+2
2009-04-12setup.py, debian/rules: Support version in setup.py again by gettingJulian Andres Klode1-0/+1
the value from the variable DEBVER (defined in debian/rules), falling back to None.
2009-04-10Fix FTBFS with python-debian (>= 0.1.13) on Python 2.4 by not using it toJulian Andres Klode1-14/+2
get a version number in setup.py (Closes: #523473)
2009-04-01* Fix documentation buildingJulian Andres Klode1-0/+5
- 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.
2009-03-29Build-Depend on python-debian, use it to get version number from changelogJulian Andres Klode1-5/+17
2009-03-08* setup.py: Remove apt.gtk, add apt.progressJulian Andres Klode1-1/+1
2009-01-12Cleanup: Comparisons to True/False, ==/!= None, deprecated modulesJulian Andres Klode1-6/+3
2009-01-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode1-7/+6
2009-01-09* setup.py, doc/source/conf.py: Fix building by adding build/lib* to PYTHONPATHJulian Andres Klode1-4/+10
We now build the extension first, and then the documentation. Also add the text docs.
2009-01-09* Introduce the new documentation and add 0.7.9~exp2 to changelog.Julian Andres Klode1-29/+22
The new documentation is built using sphinx (>= 0.5) [other versions may work too, but let's be safe].
2009-01-09Cleanup: Remove whitespace at the end of line in all python codes.Julian Andres Klode1-1/+1
2008-12-15* setup.py:Michael Vogt1-1/+28
- build html/ help of the apt and aptsources modules into /usr/share/doc/python-apt/html
2008-11-24merged from the consolidation-bracn (with some modificatins)Michael Vogt1-1/+1
2008-05-16Imports on separate lines, to conform with PEP 8.Ben Finney1-1/+3
2008-05-16Remove redundant semicolons from statements.Ben Finney1-2/+2
2008-05-16Fix spaces adjacent to commas and operators, to conform with PEP 8.Ben Finney1-17/+18
2008-05-16Remove trailing whitespace.Ben Finney1-1/+1
2007-07-02* debian/control:Michael Vogt1-3/+3
- updated for python-distutils-extra (>= 1.9.0) * debian/python-apt.install: - fix i18n files
2007-01-26* also install aptsourcesSebastian Heinlein1-4/+23
* switch to cdbs * add a pot file * setup the POTFILES.in
2007-01-19* make setup.py executableSebastian Heinlein1-0/+0
* add some information about aptsources to the package description
2006-04-26* debian/compat: Michael Vogt1-11/+7
- debhelper compat level set to 5 * debian/changelog: - merged the changelog from the NMU * debian/control: - merged the changes from the NMU - set standards version to 3.6.2.0 * debian/rules: - fix arch-build target * setup.py: - simplify the patch magling by using map() instead of "for i in range()"
2005-10-20* merged with the progress reporting codeMichael Vogt1-0/+1
Patches applied: * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--base-0 tag of michael.vogt@ubuntu.com--2005/python-apt--mvo--0--patch-43 * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-1 * support the apt--progress-reporting--0 branch (using "InstallProgress.statusfd) * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-2 * support for update reporting via vte/progress bars added, including a evil "pass-me-my-file-descriptor" hack * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-3 * merged with python-apt--mvo * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-4 * merged from python-apt--mvo * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-5 * better support new python-apt, added example for gui-inst with support for VTE_PTY_KEEP_FD * michael.vogt@ubuntu.com--2005/python-apt--progress-reporting--0--patch-6 * removed the fdsend stuff again, libvte will be patched instead
2005-08-05* version number changesMichael Vogt1-1/+1
2005-05-09* more work on the native python apt interfaceMichael Vogt1-1/+2
2005-05-03* merged with Greek0@gmx.net--2005-main, native apt interface added, fixed a ↵Michael Vogt1-5/+6
refcount problem, added tests/ directory * apt/package.py, apt/__init__.py: - started a native python interface that will wrap the uglier bits of python-apt in the future * tests/pkgsrcrecords.py: - started a test directory * python/pkgsrcrecords.cc: - fixed a refcount problem - merged with Greek0s tree Patches applied: * Greek0@gmx.net--2005-main/python-apt--debian--0.6--base-0 tag of apt@packages.debian.org/python-apt--main--0--patch-8 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-1 Minor typo fix in debian/rules * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-2 Typo fix in depcache.cc which caused wrong function to be called * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-3 Improved CppPyObject, leading to a better PkgDepCacheStruct * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-4 Improved build system * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-5 Restored the old tar.cc to work with the older apt in debian again * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-6 Fix for Debian #304296 (Segfault in CppOwnedDealloc) * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-7 Fix for Debian #304903 (FD leak) * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-8 Fixed the compilation error introduced in patch-6 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-9 New debian/changelog from Debians python-apt 0.6.10 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-10 Minor changes to make the packages lintian/linda clean * apt@packages.debian.org/python-apt--main--0--patch-8 Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0
2004-11-24Use the makefile parserArch Librarian1-4/+6
Author: jgg Date: 2002-01-08 07:13:21 GMT Use the makefile parser
2004-11-24Python distutils based packagingArch Librarian1-0/+27
Author: jgg Date: 2002-01-08 06:42:46 GMT Python distutils based packaging