From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: [PATCH] gnu: Add python-contextlib2 Date: Wed, 18 Nov 2015 00:31:11 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b414028f863250524cc7653 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zyy93-0003HU-Nq for guix-devel@gnu.org; Wed, 18 Nov 2015 03:31:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zyy92-0007he-OZ for guix-devel@gnu.org; Wed, 18 Nov 2015 03:31:13 -0500 Received: from mail-ob0-x22c.google.com ([2607:f8b0:4003:c01::22c]:34545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zyy92-0007hZ-I9 for guix-devel@gnu.org; Wed, 18 Nov 2015 03:31:12 -0500 Received: by obbbj7 with SMTP id bj7so27762947obb.1 for ; Wed, 18 Nov 2015 00:31:11 -0800 (PST) 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@gnu.org --047d7b414028f863250524cc7653 Content-Type: text/plain; charset=UTF-8 Hi, I've packaged contextlib2. This is my first submission, so please let me know if there is anything that should be different about the changes I've made. Also, if there's anything odd about the way I've formatted these patches or this email, please let me know so I can correct it next time. In particular, I'm curious to know if it's required to include python-setuptools as an input. It seems that the Python build system is including this build dependency by default, so I've omitted it. I've run guix lint on the packages and verified that they both build successfully locally. Chris Marusich (1): gnu: Add python-contextlib2 gnu/packages/patches/python-contextlib2.patch | 51 +++++++++++++++++++++++++++ gnu/packages/python.scm | 24 +++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 gnu/packages/patches/python-contextlib2.patch -- 2.5.0 Thank you, Chris --047d7b414028f863250524cc7653 Content-Type: application/octet-stream; name="0001-gnu-Add-python-contextlib2.patch" Content-Disposition: attachment; filename="0001-gnu-Add-python-contextlib2.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 RnJvbSA3ZjZhMDJkN2MwMjVkOWVjNDA4ZWRkODMwMTM0MmFhNjQyMmQ5ZDAyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBDaHJpcyBNYXJ1c2ljaCA8Y21tYXJ1c2ljaEBnbWFpbC5jb20+ CkRhdGU6IE1vbiwgMTYgTm92IDIwMTUgMDk6Mjg6MzcgLTA4MDAKU3ViamVjdDogW1BBVENIXSBn bnU6IEFkZCBweXRob24tY29udGV4dGxpYjIKCiogZ251L3BhY2thZ2VzL3B5dGhvbi5zY20gKHB5 dGhvbi1jb250ZXh0bGliMiwgcHl0aG9uMi1jb250ZXh0bGliMik6CiAgTmV3IHZhcmlhYmxlcy4K LS0tCiBnbnUvcGFja2FnZXMvcGF0Y2hlcy9weXRob24tY29udGV4dGxpYjIucGF0Y2ggfCA1MSAr KysrKysrKysrKysrKysrKysrKysrKysrKysKIGdudS9wYWNrYWdlcy9weXRob24uc2NtICAgICAg ICAgICAgICAgICAgICAgICB8IDI0ICsrKysrKysrKysrKysKIDIgZmlsZXMgY2hhbmdlZCwgNzUg aW5zZXJ0aW9ucygrKQogY3JlYXRlIG1vZGUgMTAwNjQ0IGdudS9wYWNrYWdlcy9wYXRjaGVzL3B5 dGhvbi1jb250ZXh0bGliMi5wYXRjaAoKZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9wYXRjaGVz L3B5dGhvbi1jb250ZXh0bGliMi5wYXRjaCBiL2dudS9wYWNrYWdlcy9wYXRjaGVzL3B5dGhvbi1j b250ZXh0bGliMi5wYXRjaApuZXcgZmlsZSBtb2RlIDEwMDY0NAppbmRleCAwMDAwMDAwLi4zNDNj MTIxCi0tLSAvZGV2L251bGwKKysrIGIvZ251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p bWFyaWx5IGEgYmFja3BvcnQgb2YgdGhlIFB5dGhvbiAzLjIgY29udGV4dGxpYiB0bworZWFybGll ciBQeXRob24gdmVyc2lvbnMuICBMaWtlIGNvbnRleHRsaWIsIGl0IHByb3ZpZGVzIHV0aWxpdGll cyBmb3IgY29tbW9uCit0YXNrcyBpbnZvbHZpbmcgZGVjb3JhdG9ycyBhbmQgY29udGV4dCBtYW5h Z2Vycy4gIEl0IGFsc28gY29udGFpbnMKK2FkZGl0aW9uYWwgZmVhdHVyZXMgdGhhdCBhcmUgbm90 IHBhcnQgb2YgdGhlIHN0YW5kYXJkIGxpYnJhcnkuIikKKyAgICAobGljZW5zZSBwc2ZsKSkpCisK KyhkZWZpbmUtcHVibGljIHB5dGhvbjItY29udGV4dGxpYjIKKyAgKHBhY2thZ2Utd2l0aC1weXRo b24yIHB5dGhvbi1jb250ZXh0bGliMikpCi0tIAoyLjUuMAoK --047d7b414028f863250524cc7653--