From mboxrd@z Thu Jan 1 00:00:00 1970 From: ngillmann@runbox.com Subject: Re: [PATCH v2] python-lzo + python-lz4 Date: Sat, 24 Sep 2016 20:22:00 +0000 Message-ID: <87y42hrqtz.fsf@we.make.ritual.n0.is> References: <20160924202704.7320a289@scratchpost.org> <20160924195438.24364-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bntTD-0002ix-AU for guix-devel@gnu.org; Sat, 24 Sep 2016 16:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bntT7-0005vf-DL for guix-devel@gnu.org; Sat, 24 Sep 2016 16:22:46 -0400 Received: from aibo.runbox.com ([91.220.196.211]:49910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bntT7-0005tN-2P for guix-devel@gnu.org; Sat, 24 Sep 2016 16:22:41 -0400 In-Reply-To: <20160924195438.24364-1-dannym@scratchpost.org> 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 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Danny Milosavljevic writes: Okay, there was one character which I did miss. this fixed it. Here's the updated patch including the python2 variant, which yours did not have. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-python-lzo.patch Content-Transfer-Encoding: quoted-printable From=2021672f816d1d685a18f1c4bd9d4a6e0766655a66 Mon Sep 17 00:00:00 2001 From: ng0 Date: Thu, 22 Sep 2016 00:08:21 +0000 Subject: [PATCH] gnu: Add python-lzo. * gnu/packages/compression.scm (python-lzo): New variable. Co-authored-by: Danny Milosavljevic =2D-- gnu/packages/compression.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index b1d5338..50859ff 100644 =2D-- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -364,6 +364,46 @@ LZO is written in ANSI C. Both the source code and th= e compressed data format are designed to be portable across platforms.") (license license:gpl2+))) =20 +(define-public python-lzo + (package + (name "python-lzo") + (version "1.11") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-lzo" version)) + (sha256 + (base32 + "11p3ifg14p086byhhin6azx5svlkg8dzw2b5abixik97xd6fm81q")))) + (build-system python-build-system) + (arguments + `(#:test-target "check" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-setuppy + (lambda _ + (substitute* "setup.py" + (("include_dirs.append.*") + (string-append "include_dirs.append(\"" + (assoc-ref %build-inputs "lzo") "/include/l= zo" "\") +")))))))) + (inputs + `(("lzo" ,lzo))) + (home-page "https://github.com/jd-boyd/python-lzo") + (synopsis "Python bindings for the LZO data compression library") + (description + "Python-LZO provides Python bindings for LZO, i.e. you can access +the LZO library from your Python scripts thereby compressing ordinary +Python strings.") + (license license:gpl2+))) + +(define-public python2-lzo + (package + (inherit (package-with-python2 + (strip-python2-variant python-lzo))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) + (define-public lzop (package (name "lzop") =2D-=20 2.10.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 ng0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX5uBoAAoJEAKilhUMIBgjKyAP/Auf6rsa/kglOUlnJ2Aztuoj 4dzmwxjFNKOfPEISmDVpmio28gRHOftCCoNbTKz9i+allefrhO2P6tA/xQwCEMis /748MK5ueBsrArDCu67xBTtJl2MkvbbAtLJxmb2Lf4UgOS3eOb7K2GHUJIlJmedW G6phJk4EQ4fDauwb9tuIsWHOKFfWqIwLbqsNWIi86xTPiEe4PGCMNEq6ALPuhdSw b2KlFRjtSiUH7AbbCgoJc1MS3l8dt6Ps/QCnMSbQOG0sBAeQpKgIrolEJJwerSpI c4X4oyzIjo8uvTwxsR/+v0wMstht6TMsFWaMEP6wtEAz6/t+UhO0AVI9x8ehdwNl hfXeaje03kdo7hGeMPG3dRER9K8Va0CHUkHiHudOhc636Fc4sY9/7QKVVPPH+icB C3IAxGMXEOg1VN+DpNWLy2GjOzKhuIoJRhBhPJVWFjW+cp7vBFte/wo9x05122Je pwbvUgEhPZdYOiQNI9TbFw9jV7Dmq1nEoMDAqfk4T0kfcdkaNEL6JaIqGSkxrvGQ H7W9YFF78V3vXVJLOSr1PTT6RDZigc2QQ5UWjZ32gprbYY5162b/ku7NB4SrAuhC uOU+VFahVDTdraypGnocwLHNq75ziFajdWQhWtkFWBC0OILhQdu3lrBt0UxkVslo xrKbepGr7V497L+DbJxf =RKKS -----END PGP SIGNATURE----- --==-=-=--