Python deb-pkg-tools 5.2

deb-pkg-tools is a Python module for managing Debian packages. It provides for inspecting, building, checking and signing packages, or managing repositories. deb-pkg-tools thereby bases its API on manual meta data parsing or wrapping calls to native tools, such as dpkg, dpkg-deb, lintian, apt-get, apt-ftparchiv, gzip, fakeroot, gpg, dpkg-scanpackages.

Tags python python-module dpkg debian-archive packaging
License MITL
State stable

Recent Releases

5.218 Nov 2018 19:25 minor feature: Promote python-debian constraint to conditional dependency* . a silly typo in . Release 5.2: Promote python-debian constraint to conditional dependency.
4.501 Mar 2018 07:25 minor feature: Improve robustness of strip_object_files() . Don't run dpkg-shlibdeps when there are no object files. . Release 4.5: Improve robustness of `dpkg-shlibdeps' and `strip' integ .
4.325 Feb 2018 13:45 minor feature: Bump copyright . Include documentation in source distributions. . Restore Python 2.6 compatibility in test suite. . Make mandatory control field validation reusable. . Release 4.3: Make mandatory control field validation reusable.
4.001 Feb 2017 23:25 minor feature: Release 4.0: Support for architecture restriction parsing I'm bumping the major version number because 754debc removed the. Deb_pkg_tools. compat.total_ordering,utils.OrderedObject classes and. Internal methods like _key() so strictly speaking this breaks backwards. Compatibility, however both of these classes were part of miscellaneous. Scaffolding used by deb-pkg-tools but not an intentional part of the. Documented API, so I don't expect this to be particularly relevant. to most (if not all) users of deb-pkg-tools.
3.127 Jan 2017 10:45 minor feature: Suggest memcached in stdeb.cfg. Add support for ".udeb" micro packages. Add failing find_package_archives() test. failing find_package_archives() test. Add readme target to makefile. Release 3.1: Add support for *.udeb micro packages.
3.025 Nov 2016 17:05 minor feature: Remove SQLite text_factory confusion (it should just by `bytes'). Refactor makefile, setup script, etc. Don't unnecessarily garbage collect cache. Increase concurrency with SQLite Write-Ahead Log (WAL). Remove redundant :py: prefrom RST references. broken RST references logged by `sphinx-build -n'. deb_pkg_tools.utils.compact() ? humanfriendly.text.compact(). broken pretty printer test. Implement and enforce PEP-8 and PEP-257 compliance. Switch from SQLite to filesystem for package cache (to improve concur?. Python compatibility and PEP-8 warning. Document and optimize filesystem based package metadata cache. Add some concurrency to `deb-pkg-tools --collect'*. Re-implement garbage collection for filesystem based cache. for garbage collection when cache directory doesn't exist. Improvements to interactive package collection*. Enable manual garbage collection (deb-pkg-tools --garbage-collect). Update usage in readme. Improvements to makefile and Travis CI build configuration. Improvements to interactive package collection*. Increase test coverage (of concurrent collection). Increase test coverage. for obscure Python 2.6 compatibility *. Include command line interface in documentation. Release 3.0: Concurrent related package collection.
2.018 Nov 2016 10:05 minor feature: Stop using system wide temporary directory (concurrent builds!). Release 2.0: Stop using system wide temporary directory (concurrent b?.
1.32.201 May 2015 10:25 minor bugfix: Create another (currently failing) package promotion test. Proper related package archive collection is hard ?_?.
1.3224 Apr 2015 03:16 minor feature: Create collect_related_packages() test that fails in master ... :-). Improve implementation documentation of collect_related_packages().
1.3111 Apr 2015 11:45 minor cleanup: dpkg-scanpackages isn't used anymore, remove irrelevant references. Extract installed version discovery to re-usable function.
1.2530 Aug 2014 23:05 minor feature: Use high performance decorator to memoize overrides of Relationship.matches(). Exclude conflicting packages from all further processing as soon as they are found. Removed Version.hash(). Moved the dpkg comparison cache around.