import apt_pkg, apt_inst
from apt import OpProgress
-from debian_bundle import deb822
+from debian import deb822
from apt_p2p_conf import config
from Hash import HashObject
rel = deb822.Release(f, fields = ['MD5Sum', 'SHA1', 'SHA256'])
for hash_type in rel:
for file in rel[hash_type]:
- self.indexrecords[cache_path].setdefault(file['name'], {})[hash_type.upper()] = (file[hash_type], file['size'])
+ self.indexrecords[cache_path].setdefault(str(file['name']), {})[hash_type.upper()] = (str(file[hash_type]), file['size'])
f.close()
* Fix various documentation issues
(Closes: #518590, #518549, #518548, 518550)
* Add an enable variable to the /etc/default file (Closes: #518594)
+ * Use python-debian's new debian package instead of debian_bundle
- -- Cameron Dale <camrdale@gmail.com> Sun, 21 Mar 2010 00:25:08 -0700
+ -- Cameron Dale <camrdale@gmail.com> Sun, 21 Mar 2010 00:30:52 -0700
apt-p2p (0.1.5) unstable; urgency=low
Package: apt-p2p
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python-twisted-web2 (>= 8.0), adduser, python-debian (>= 0.1.4), python-apt (>= 0.7.93), python-pysqlite2 (>= 2.1)
+Depends: ${misc:Depends}, ${python:Depends}, python-twisted-web2 (>= 8.0), adduser, python-debian (>= 0.1.15), python-apt (>= 0.7.93), python-pysqlite2 (>= 2.1)
Provides: python-apt-p2p, python-apt-p2p-khashmir
Description: apt helper for peer-to-peer downloads of Debian packages
Apt-P2P is a helper for downloading Debian packages files with APT.