From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: [PATCH] gnu: Add Cython Date: Mon, 20 Oct 2014 20:43:38 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b3a9be6d1f5450505df173a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgHvj-0006FE-VL for guix-devel@gnu.org; Mon, 20 Oct 2014 14:43:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgHvi-0001VD-NY for guix-devel@gnu.org; Mon, 20 Oct 2014 14:43:43 -0400 Received: from mail-ie0-x22a.google.com ([2607:f8b0:4001:c03::22a]:46459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgHvi-0001V7-9Q for guix-devel@gnu.org; Mon, 20 Oct 2014 14:43:42 -0400 Received: by mail-ie0-f170.google.com with SMTP id rd18so5397496iec.1 for ; Mon, 20 Oct 2014 11:43:39 -0700 (PDT) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel --047d7b3a9be6d1f5450505df173a Content-Type: text/plain; charset=UTF-8 In preparing this package I've found that the python-build-system (not sure about the others) defines the environment variable HOME as "/homeless-shelter". However, that directory does not exist in the build chroot. This is a problem for cython, because it wants to access $HOME/.cython. Wouldn't it be better to point HOME to an existing directory (created in the chroot) with suitable permissions? I'm a little bit unsure about the name of the package. I've not prefixed it with "python[2]-" as the program extends the Python language and can work with both (2 and 3) Python version series. However, the package installs files in ".../lib/python${version}/site-packages/...". The naming is in-line with Debian naming. Regards, Fede --047d7b3a9be6d1f5450505df173a Content-Type: text/x-patch; charset=US-ASCII; name="0001-gnu-Add-Cython.patch" Content-Disposition: attachment; filename="0001-gnu-Add-Cython.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i1i5rtbo0 RnJvbSBiOWU3Y2RiMzY3NTE4NTQ3YmUzZDhiYzUzNTgyOGEwZDFmMWFjOTZlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGZWRlcmljbyBCZWZmYSA8YmVmZmFAZmJlbmdpbmVlcmluZy5j aD4KRGF0ZTogTW9uLCAyMCBPY3QgMjAxNCAxOTo1Mjo0NSArMDIwMApTdWJqZWN0OiBbUEFUQ0hd IGdudTogQWRkIEN5dGhvbgoKKiBnbnUvcGFja2FnZXMvcHl0aG9uLnNjbShjeXRob24sY3l0aG9u Mik6IE5ldyB2YXJpYWJsZXMKLS0tCiBnbnUvcGFja2FnZXMvcHl0aG9uLnNjbSB8IDUwICsrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFu Z2VkLCA1MCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL3B5dGhvbi5z Y20gYi9nbnUvcGFja2FnZXMvcHl0aG9uLnNjbQppbmRleCA4OTdlMjQ4Li5mODUwM2MzIDEwMDY0 NAotLS0gYS9nbnUvcGFja2FnZXMvcHl0aG9uLnNjbQorKysgYi9nbnUvcGFja2FnZXMvcHl0aG9u LnNjbQpAQCAtMzcsNiArMzcsNyBAQAogICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBwa2ct Y29uZmlnKQogICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBkYXRhYmFzZXMpCiAgICM6dXNl LW1vZHVsZSAoZ251IHBhY2thZ2VzIHppcCkKKyAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2FnZXMg Z2NjKQogICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBtdWx0aXByZWNpc2lvbikKICAgIzp1 c2UtbW9kdWxlIChndWl4IHBhY2thZ2VzKQogICAjOnVzZS1tb2R1bGUgKGd1aXggZG93bmxvYWQp CkBAIC0xODMyLDMgKzE4MzMsNTIgQEAgc291cmNlcy4iKQogCiAoZGVmaW5lLXB1YmxpYyBweXRo b24yLXNwaGlueAogICAocGFja2FnZS13aXRoLXB5dGhvbjIgcHl0aG9uLXNwaGlueCkpCisKKyhk ZWZpbmUtcHVibGljIGN5dGhvbgorICAocGFja2FnZQorICAgIChuYW1lICJjeXRob24iKQorICAg ICh2ZXJzaW9uICIwLjIxLjEiKQorICAgIChzb3VyY2UKKyAgICAgKG9yaWdpbgorICAgICAgICht ZXRob2QgdXJsLWZldGNoKQorICAgICAgICh1cmkgKHN0cmluZy1hcHBlbmQKKyAgICAgICAgICAg ICAiaHR0cDovL2N5dGhvbi5vcmcvcmVsZWFzZS9DeXRob24tIgorICAgICAgICAgICAgIHZlcnNp b24gIi50YXIuZ3oiKSkKKyAgICAgICAoc2hhMjU2CisgICAgICAgIChiYXNlMzIKKyAgICAgICAg ICIwZGR6MmwyZHZjeTVoZGt4eDR4bGZpd3BjY3Z3aWE3aXhnY3k0aDBwZHY0NmE0aTR2eGozIikp KSkKKyAgICAoYnVpbGQtc3lzdGVtIHB5dGhvbi1idWlsZC1zeXN0ZW0pCisgICAgKGlucHV0cwor ICAgICBgKCgicHl0aG9uIiAscHl0aG9uKSkpIDsgb3RoZXJ3aXNlIGxkIGRvZXNuJ3QgZmluZCBs aWJweXRob24zLjNtLnNvCisgICAgKGFyZ3VtZW50cworICAgICBgKCM6cGhhc2VzCisgICAgICAg KGFsaXN0LXJlcGxhY2UKKyAgICAgICAgJ2J1aWxkCisgICAgICAgIChsYW1iZGEqICgjOmtleSBv dXRwdXRzIGlucHV0cyAKKyAgICAgICAgICAgICAgICAgICM6YWxsb3ctb3RoZXIta2V5cyAjOnJl c3QgYXJncykKKyAgICAgICAgICAobGV0ICgoYnVpbGQgKGFzc29jLXJlZiAlc3RhbmRhcmQtcGhh c2VzICdidWlsZCkpKQorICAgICAgICAgICAgKHNldGVudiAiSE9NRSIgIi90bXAiKSA7IHNvbWUg dGVzdHMgcmVxdWlyZSBhY2Nlc3MgdG8gIiRIT01FLy5jeXRob24iCisgICAgICAgICAgICAoYXBw bHkgYnVpbGQgYXJncykpKQorICAgICAgICAoYWxpc3QtcmVwbGFjZQorICAgICAgICAgJ2NoZWNr CisgICAgICAgICAobGFtYmRhIF8gKHplcm8/IAorICAgICAgICAgICAgICAgICAgICAoc3lzdGVt KiAicHl0aG9uIiAKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInJ1bnRlc3RzLnB5IiAK KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi12diIpKSkKKyAgICAgICAgICVzdGFuZGFy ZC1waGFzZXMpKSkpCisgICAgKGhvbWUtcGFnZSAiaHR0cDovL2N5dGhvbi5vcmcvIikKKyAgICAo c3lub3BzaXMgIkMgZXh0ZW5zaW9ucyBmb3IgUHl0aG9uIikKKyAgICAoZGVzY3JpcHRpb24gIkN5 dGhvbiBpcyBhbiBvcHRpbWlzaW5nIHN0YXRpYyBjb21waWxlciBmb3IgYm90aCB0aGUgUHl0aG9u Citwcm9ncmFtbWluZyBsYW5ndWFnZSBhbmQgdGhlIGV4dGVuZGVkIEN5dGhvbiBwcm9ncmFtbWlu ZyBsYW5ndWFnZS4gIEl0IG1ha2VzCit3cml0aW5nIEMgZXh0ZW5zaW9ucyBmb3IgUHl0aG9uIGFz IGVhc3kgYXMgUHl0aG9uIGl0c2VsZi4iKQorICAgIChsaWNlbnNlIGFzbDIuMCkpKQorCisoZGVm aW5lLXB1YmxpYyBjeXRob24yCisgIChwYWNrYWdlIAorICAgIChpbmhlcml0IGN5dGhvbikKKyAg ICAobmFtZSAiY3l0aG9uMiIpCisgICAgKGJ1aWxkLXN5c3RlbSBweXRob24tYnVpbGQtc3lzdGVt KQorICAgIChpbnB1dHMKKyAgICAgYCgoInB5dGhvbi0yIiAscHl0aG9uLTIpKSkKKyAgICAoYXJn dW1lbnRzCisgICAgIGAoIzpweXRob24gLHB5dGhvbi0yICxAKHBhY2thZ2UtYXJndW1lbnRzIGN5 dGhvbikpKSkpCi0tIAoxLjguNAoK --047d7b3a9be6d1f5450505df173a--