Package Details: python-apt 2.7.2-1

Git Clone URL: https://aur.archlinux.org/python-apt.git (read-only, click to copy)
Package Base: python-apt
Description: Python binding of libapt-pkg
Upstream URL: https://tracker.debian.org/pkg/python-apt
Keywords: apt debian python
Licenses: GPL2
Submitter: JonnyJD
Maintainer: tallero (HaaTa, truocolo)
Last Packager: truocolo
Votes: 11
Popularity: 0.000000
First Submitted: 2014-06-11 08:37 (UTC)
Last Updated: 2023-12-13 16:46 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

JonnyJD commented on 2016-03-30 06:11 (UTC)

hm, possibly a problem with an apt version that is "too new" (I am running 1.0.9.5 ATM). I might have time to check this with updated apt later today.

HaaTa commented on 2016-03-30 01:03 (UTC)

I'm getting compiler errors with 0.9.3.12. The beta doesn't have these issues. ython/apt_pkgmodule.h:193:34: error: 'indexRecords' was not declared in this scope PyObject* PyIndexRecords_FromCpp(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ python/apt_pkgmodule.h:193:48: error: expected primary-expression before 'const' PyObject* PyIndexRecords_FromCpp(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ python/apt_pkgmodule.h:193:60: error: expected primary-expression before 'bool' PyObject* PyIndexRecords_FromCpp(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ python/apt_pkgmodule.h:193:82: error: expected primary-expression before '*' token PyObject* PyIndexRecords_FromCpp(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ python/apt_pkgmodule.h:193:83: error: 'Owner' was not declared in this scope PyObject* PyIndexRecords_FromCpp(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ python/apt_pkgmodule.h:193:88: error: expression list treated as compound expression in initializer [-fpermissive] PyObject* PyIndexRecords_FromCpp(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ In file included from python/apt_pkgmodule.h:211:0, from python/acquire.cc:26: python/python-apt.h:111:37: error: expected ';' at end of member declaration PyObject* (*indexrecords_fromcpp)(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ python/python-apt.h:111:51: error: expected ')' before '*' token PyObject* (*indexrecords_fromcpp)(indexRecords* const &obj, bool Delete, PyObject *Owner); ^ python/python-apt.h:112:5: error: 'indexRecords' does not name a type indexRecords*& (*indexrecords_tocpp)(PyObject *self);

JonnyJD commented on 2016-03-29 05:28 (UTC)

Thanks, I use the 0.9.3.12 from jessie. The beta version is in preparation for stretch and will change rapidly (and possibly break).

HaaTa commented on 2016-03-29 01:23 (UTC)

Versioning seems to have changed. 0.9.3.12 seems to be the latest stable version.

JonnyJD commented on 2015-02-12 11:36 (UTC)

I prepared a split package for the Python 2 and 3 version. Before I can upload there will be a short time between the merge of python2-apt into python-apt and me uploading the split package to AUR. You can get the split package build here already: https://github.com/JonnyJD/PKGBUILDs/blob/master/_debian/python-apt/PKGBUILD

JonnyJD commented on 2015-02-12 01:21 (UTC)

Or rather, I only updated the python 3 version..

JonnyJD commented on 2015-02-12 01:20 (UTC)

Oh, I updated the package a week ago in the repository, but forgot to upload it to AUR :-/

tofubanditx commented on 2015-02-11 19:47 (UTC)

python-apt_0.9.3.8.tar.xz does not exist anymore. I had it fetch and install python-apt_0.9.3.11.tar.xz instead, and so far so good.

JonnyJD commented on 2015-02-04 23:28 (UTC)

I updated the package to the latest version. While most python modules are architecture independent, some include compiled code, which is the case here. Try: $ file /usr/lib/python*/site-packages/apt_*.so These are not architecture independent and part of python*-apt.

<deleted-account> commented on 2015-02-03 13:52 (UTC)

Please change to arch=('any')