[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#744243: marked as done (python-apt: please support build profiles)



Your message dated Fri, 25 Apr 2014 11:19:06 +0000
with message-id <E1Wde9q-0007Lp-NG@franck.debian.org>
and subject line Bug#744243: fixed in python-apt 0.9.3.6
has caused the Debian Bug report #744243,
regarding python-apt: please support build profiles
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
744243: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744243
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.9.3.5
Severity: wishlist
Tags: patch

Hi,

since apt 0.9.16.1, there is support for build profiles in apt:

https://wiki.debian.org/BuildProfileSpec

Please also let python-apt support build profiles because dak uses
python-apt and needs to support build profiles. The following patch
should work:

    diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
    index 644827c..243d9f9 100644
    --- a/python/apt_pkgmodule.cc
    +++ b/python/apt_pkgmodule.cc
    @@ -156,8 +156,8 @@ static const char *parse_src_depends_doc =
     "If 'strip_multi_arch' is True, :any (and potentially other special values)\n"
     "will be stripped from the full package name";
     static PyObject *RealParseDepends(PyObject *Self,PyObject *Args,
    -                                  bool ParseArchFlags, std::string name,
    -                                  bool debStyle=false)
    +                                  bool ParseArchFlags, bool ParseRestrictionsList,
    +                                  std::string name, bool debStyle=false)
     {
        std::string Package;
        std::string Version;
    @@ -180,7 +180,7 @@ static PyObject *RealParseDepends(PyObject *Self,PyObject *Args,
             break;
     
           Start = debListParser::ParseDepends(Start,Stop,Package,Version,Op,
    -                                         ParseArchFlags, StripMultiArch);
    +                                         ParseArchFlags, StripMultiArch, ParseRestrictionsList)
           if (Start == 0)
           {
             PyErr_SetString(PyExc_ValueError,"Problem Parsing Dependency");
    @@ -213,11 +213,11 @@ static PyObject *RealParseDepends(PyObject *Self,PyObject *Args,
     }
     static PyObject *ParseDepends(PyObject *Self,PyObject *Args)
     {
    -   return RealParseDepends(Self, Args, false, "parse_depends");
    +   return RealParseDepends(Self, Args, false, false, "parse_depends");
     }
     static PyObject *ParseSrcDepends(PyObject *Self,PyObject *Args)
     {
    -   return RealParseDepends(Self, Args, true, "parse_src_depends");
    +   return RealParseDepends(Self, Args, true, true, "parse_src_depends");
     }
                                                                            /*}}}*/
     // md5sum - Compute the md5sum of a file or string                     /*{{{*/


You probably also have to bump the libapt version.

cheers, josch

--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.9.3.6

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 744243@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 25 Apr 2014 13:00:08 +0200
Source: python-apt
Binary: python-apt python-apt-doc python-apt-dbg python-apt-dev python-apt-common python3-apt python3-apt-dbg
Architecture: source amd64 all
Version: 0.9.3.6
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 python-apt - Python interface to libapt-pkg
 python-apt-common - Python interface to libapt-pkg (locales)
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
 python-apt-dev - Python interface to libapt-pkg (development files)
 python-apt-doc - Python interface to libapt-pkg (API documentation)
 python3-apt - Python 3 interface to libapt-pkg
 python3-apt-dbg - Python 3 interface to libapt-pkg (debug extension)
Closes: 744243
Changes: 
 python-apt (0.9.3.6) unstable; urgency=medium
 .
   [ Johannes Schauer ]
   * Add support for build profiles (Closes: 744243)
 .
   [ Michael Vogt ]
   * debian/control:
     - update build-depends on libapt-pkg-dev for build-profile support
   * data/templates/Ubuntu.info.in:
     - add ubuntu utopic
Checksums-Sha1: 
 dc1f16f794ccddc7bfe1090bb8649590720bc950 1596 python-apt_0.9.3.6.dsc
 545de894b4e2a86548400f133fb93ea42f543656 305788 python-apt_0.9.3.6.tar.xz
 24cae86c4a9681cb94ffc1b09813b7a9aa918fbf 164196 python-apt_0.9.3.6_amd64.deb
 718c36183281f6bafea2653ea5618c9e0a2da81a 154636 python-apt-doc_0.9.3.6_all.deb
 48156de05f6af5329bc88f722aa20d6768c975b2 2314194 python-apt-dbg_0.9.3.6_amd64.deb
 c9b7cd2fb565d3dff8f5dcea449ad40073c30923 7440 python-apt-dev_0.9.3.6_all.deb
 bbe16ba3ecbd1cc130ae1ce8212e506e25ba6d2e 88322 python-apt-common_0.9.3.6_all.deb
 ca5d2e68d553795ce74a138aaae2bcc5fa201c6f 171054 python3-apt_0.9.3.6_amd64.deb
 5e9e53866daf57a56dd2625311abb6ff63df4f4c 4271924 python3-apt-dbg_0.9.3.6_amd64.deb
Checksums-Sha256: 
 5538fb12acefb884b740848dda99ae2574bf74db03a7f8c7f7a3ab1da788bbd4 1596 python-apt_0.9.3.6.dsc
 7999091c86181ce6431735fcd47d04e7b182757c3b20698c6f5196dcb09a3b2b 305788 python-apt_0.9.3.6.tar.xz
 d520b373da8759dbc179f514cc650ed336e1af2049c68b396bd752768b2b98ea 164196 python-apt_0.9.3.6_amd64.deb
 5b4f4ce5ea3b6759730aae6146a5e313a18003edc74829ca9fddc2c108cb1251 154636 python-apt-doc_0.9.3.6_all.deb
 c3606e26e032cf47bce2face9f2c35e97fe72a28ba0a3bcad42ec28f45d9ddee 2314194 python-apt-dbg_0.9.3.6_amd64.deb
 d07a56a77391ac91cfd95cf005419b9412c3c230648de49eca9f5df1bd0f05d9 7440 python-apt-dev_0.9.3.6_all.deb
 b67bdbcf81a82ab522d5845dd57ac40b7b7a14b0edec9711c9d53df3745f855b 88322 python-apt-common_0.9.3.6_all.deb
 b333b10690ca0f18bd976cd91e12701af15e0dc2921aa07cf9e22c66a52b7171 171054 python3-apt_0.9.3.6_amd64.deb
 0ba178571b1fbfe47b9a88498c59415eafaa7d6bf892b8968de1baa6ca616e30 4271924 python3-apt-dbg_0.9.3.6_amd64.deb
Files: 
 4c4bbef1095b223d1b873f440e70ec1e 164196 python standard python-apt_0.9.3.6_amd64.deb
 eab3eef1f218e241145e0dc60add821e 154636 doc optional python-apt-doc_0.9.3.6_all.deb
 03cda51ea157346e1ff89670642070ca 2314194 debug extra python-apt-dbg_0.9.3.6_amd64.deb
 538da79b3b5c84765e1761c5c1211210 7440 python optional python-apt-dev_0.9.3.6_all.deb
 148c7152fb50c7298a07bcbc1ac4da5a 88322 python optional python-apt-common_0.9.3.6_all.deb
 d2283add6a94e1e37583efc024818760 171054 python optional python3-apt_0.9.3.6_amd64.deb
 ccfefeffa85263aa3bce68b26f3f9a91 4271924 debug extra python3-apt-dbg_0.9.3.6_amd64.deb
 840779eca1b4594ecb9efd9cf56ea0f4 1596 python standard python-apt_0.9.3.6.dsc
 adade1c69bd21c9741194d9f3cb387cb 305788 python standard python-apt_0.9.3.6.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlNaQcUACgkQliSD4VZixzSevgCeL7GW9pByI6njUGZrqE5dq+fF
N5wAnjVxYGwBA1tzoRMeV59WKJD8NFKa
=w/hl
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: