From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: [PATCH 02/10] gnu: Add python-bz2file. Date: Thu, 21 Apr 2016 20:24:21 +0200 Message-ID: <57191AD5.9050908@goebel-consult.de> References: <1461244921-7412-1-git-send-email-donttrustben@gmail.com> <1461244921-7412-3-git-send-email-donttrustben@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms030006090707080306030502" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atJHE-0007o9-HW for guix-devel@gnu.org; Thu, 21 Apr 2016 14:24:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atJH9-0001cS-Mv for guix-devel@gnu.org; Thu, 21 Apr 2016 14:24:32 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:43215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atJH9-0001av-DZ for guix-devel@gnu.org; Thu, 21 Apr 2016 14:24:27 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qrRwl4w5Nz3hjhT for ; Thu, 21 Apr 2016 20:24:23 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qrRwl3zMyzvh2Q for ; Thu, 21 Apr 2016 20:24:23 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7YyL-XYrzCJo for ; Thu, 21 Apr 2016 20:24:22 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-141-229.dynamic.mnet-online.de [188.174.141.229]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Thu, 21 Apr 2016 20:24:22 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id AFD046005B for ; Thu, 21 Apr 2016 20:24:21 +0200 (CEST) In-Reply-To: <1461244921-7412-3-git-send-email-donttrustben@gmail.com> 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: guix-devel@gnu.org This is a cryptographically signed message in MIME format. --------------ms030006090707080306030502 Content-Type: multipart/alternative; boundary="------------000504080207020309000504" This is a multi-part message in MIME format. --------------000504080207020309000504 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 21.04.2016 um 15:21 schrieb Ben Woodcroft: > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + ;; python setup.py test does not work as of 0.98 > + ;; but there is only the one test file > + (replace 'check > + (lambda _ (zero? (system* "python" "test_bz2file.py")))))))= I wonder if this is actually working. The python-3 package does not include "python" (except if this was changed the last days). > + (description > + "Bz2file is a Python library for reading and writing bzip2-compre= ssed > +files. It contains a drop-in replacement for the file interface in th= e I do not understand "replacement for the file interface". If this like the "zipfile" module? --=20 Sch=C3=B6nen Gru=C3=9F Hartmut Goebel Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer Information Security Management, Security Governance, Secure Software Development Goebel Consult, Landshut http://www.goebel-consult.de Blog: http://www.goebel-consult.de/blog/feiertagsarbeit-bei-teletrust Kolumne: http://www.cissp-gefluester.de/2012-09-steht-ein-manta-fahrer-vor-der-uni= --------------000504080207020309000504 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Am 21.04.2016 um 15:21 schrieb Ben Woodcroft:
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; python setup.py test does not work as of 0.98
+         ;; but there is only the one test file
+         (replace 'check
+           (lambda _ (zero? (system* "python" "test_bz2file.py")))))))
    

I wonder if this is actually working. The python-3 package does not include "python" (except if this was changed the last days).

+    (description
+     "Bz2file is a Python library for reading and writing bzip2-compress=
ed
+files.  It contains a drop-in replacement for the file interface in the<=
/pre>
    

I do not understand "replacement for the file interface". If this like the "zipfile" module?


--
Sch=C3=B6nen Gru=C3=9F
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP,= CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
ht= tp://www.goebel-consult.de

Blog: = http://www.goebel-consult.de/blog/feiertagsarbeit-bei-teletrust
Kolumne: http://www.cissp-gefluester.de/2012-09-steht-ein-manta-fahrer-v= or-der-uni

--------------000504080207020309000504-- --------------ms030006090707080306030502 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC BYswggWHMIIDb6ADAgECAgMR5Y4wDQYJKoZIhvcNAQENBQAweTEQMA4GA1UEChMHUm9vdCBD QTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0IFNp Z25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcwHhcN MTYwMzI5MDk1NTAzWhcNMTYwOTI1MDk1NTAzWjBFMRgwFgYDVQQDEw9DQWNlcnQgV29UIFVz ZXIxKTAnBgkqhkiG9w0BCQEWGmguZ29lYmVsQGdvZWJlbC1jb25zdWx0LmRlMIIBIjANBgkq hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAykbRbJ57m2Wx9zb8EBr9nMk46l9VRzELF//iqO03 wrtAaROtXXC8o8jK8Ah32vnJjpvsToNK3vB+AuHvFZtDA4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