From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Pimentel Subject: Re: [PATCH] Add python-protobuf and python2-protobuf Date: Thu, 14 Jul 2016 12:23:35 -0300 Message-ID: <14ea747c78d4d6a875cc68c5458ca79a@d4n1.org> References: <777b604dcc8bd75cc9f0695ae7f9a46e@d4n1.org> <20160703214635.GD27094@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_3f3871c8601aad6c7d28e25d346a5125" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiUL-0000oG-GI for guix-devel@gnu.org; Thu, 14 Jul 2016 11:23:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNiUF-0001Th-Fc for guix-devel@gnu.org; Thu, 14 Jul 2016 11:23:44 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:54952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiUF-0001Tb-4A for guix-devel@gnu.org; Thu, 14 Jul 2016 11:23:39 -0400 In-Reply-To: <20160703214635.GD27094@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org --=_3f3871c8601aad6c7d28e25d346a5125 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed > Thanks for this! Can you try building the python-3 version as well, and > then using package-with-python2 to make python2-protobuf? Guix, Patches to add python-protobuf to Python3 and Python2. Thanks, -- Daniel Pimentel (aka d4n1) --=_3f3871c8601aad6c7d28e25d346a5125 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0003-gnu-Add-python2-protobuf.patch Content-Disposition: attachment; filename=0003-gnu-Add-python2-protobuf.patch; size=1579 RnJvbSA2NTg0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jAuMGIzIikKKyAgICAoc291cmNlCisgICAgIChvcmln aW4KKyAgICAgICAobWV0aG9kIHVybC1mZXRjaCkKKyAgICAgICAodXJpIChweXBpLXVyaSAicHJv dG9idWYiIHZlcnNpb24pKQorICAgICAgIChzaGEyNTYKKyAgICAgICAgKGJhc2UzMgorICAgICAg ICAgIjA5OG1ueHpkM3k2N2o0NHkzZmRwZnN6cGhobGpwODhmbGZyNGE5MHFmdnZweTRrYTd3NWwi KSkpKQorICAgIChidWlsZC1zeXN0ZW0gcHl0aG9uLWJ1aWxkLXN5c3RlbSkKKyAgICAoaW5wdXRz CisgICAgIGAoKCJnY2MiICxnY2MpCisgICAgICAgKCJ6bGliIiAsemxpYikKKyAgICAgICAoInB5 dGhvbjItc2l4IiAscHl0aG9uMi1zaXgpKSkKKyAgICAobmF0aXZlLWlucHV0cworICAgICBgKCgi cHl0aG9uMi1zZXR1cHRvb2xzIiAscHl0aG9uMi1zZXR1cHRvb2xzKSkpCisgICAgKGFyZ3VtZW50 cworICAgICBgKCM6cHl0aG9uICxweXRob24tMikpCisgICAgKGhvbWUtcGFnZSAiaHR0cHM6Ly9n aXRodWIuY29tL2dvb2dsZS9wcm90b2J1ZiIpCisgICAgKHN5bm9wc2lzICJQcm90b2NvbCBidWZm ZXJzIGlzIGEgZGF0YSBpbnRlcmNoYW5nZSBmb3JtYXQuIikKKyAgICAoZGVzY3JpcHRpb24KKyAg ICAgIlByb3RvY29sIGJ1ZmZlcnMgYXJlIGEgbGFuZ3VhZ2UtbmV1dHJhbCwgcGxhdGZvcm0tbmV1 dHJhbCBleHRlbnNpYmxlIAorbWVjaGFuaXNtIGZvciBzZXJpYWxpemluZyBzdHJ1Y3R1cmVkIGRh dGEuIikKKyAgICAobGljZW5zZSBic2QtMykpKQotLSAKMi45LjAKCg== --=_3f3871c8601aad6c7d28e25d346a5125 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0004-gnu-Add-python-protobuf-and-python2-protobuf.patch Content-Disposition: attachment;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gcHl0 aG9uMi1wcm90b2J1ZgorICAocGFja2FnZSAoaW5oZXJpdCAocGFja2FnZS13aXRoLXB5dGhvbjIK KyAgICAgICAgICAgICAgICAgICAgIChzdHJpcC1weXRob24yLXZhcmlhbnQgcHl0aG9uLXByb3Rv YnVmKSkpCisgICAgICAgICAgIChuYXRpdmUtaW5wdXRzIGAoKCJweXRob24yLXNldHVwdG9vbHMi ICxweXRob24yLXNldHVwdG9vbHMpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgKCJweXRo b24yLXNpeCIgLHB5dGhvbjItc2l4KSkpKSkKLS0gCjIuOS4wCgo= --=_3f3871c8601aad6c7d28e25d346a5125--