From: ngillmann@runbox.com
To: guix-devel@gnu.org
Subject: Re: [PATCH v2] python-lzo + python-lz4
Date: Sat, 24 Sep 2016 20:22:00 +0000 [thread overview]
Message-ID: <87y42hrqtz.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <20160924195438.24364-1-dannym@scratchpost.org>
[-- Attachment #1.1: Type: text/plain, Size: 200 bytes --]
Danny Milosavljevic <dannym@scratchpost.org> 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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-lzo.patch --]
[-- Type: text/x-patch, Size: 2214 bytes --]
From 21672f816d1d685a18f1c4bd9d4a6e0766655a66 Mon Sep 17 00:00:00 2001
From: ng0 <ngillmann@runbox.com>
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 <dannym@scratchpost.org>
---
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
--- 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 the compressed data
format are designed to be portable across platforms.")
(license license:gpl2+)))
+(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/lzo" "\")
+"))))))))
+ (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")
--
2.10.0
[-- Attachment #1.3: Type: text/plain, Size: 26 bytes --]
--
ng0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
next prev parent reply other threads:[~2016-09-24 20:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-24 15:27 [PATCH] python-lzo + python-lz4 ng0
2016-09-24 18:12 ` Danny Milosavljevic
2016-09-24 18:25 ` Danny Milosavljevic
2016-09-24 19:16 ` ng0
2016-09-24 19:58 ` Danny Milosavljevic
2016-09-24 18:27 ` Danny Milosavljevic
2016-09-24 19:54 ` [PATCH v2] " Danny Milosavljevic
2016-09-24 20:22 ` ngillmann [this message]
2016-09-24 20:45 ` Danny Milosavljevic
2016-09-24 21:12 ` ng0
2016-09-24 21:28 ` Danny Milosavljevic
2016-09-24 21:48 ` ng0
2016-09-25 17:01 ` [PATCH] " Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y42hrqtz.fsf@we.make.ritual.n0.is \
--to=ngillmann@runbox.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.