all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 10/18] gnu: Add python-pyquery.
@ 2016-02-15 23:31 Christopher Allan Webber
  2016-02-16  1:56 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Allan Webber @ 2016-02-15 23:31 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0010-gnu-Add-python-pyquery.patch --]
[-- Type: text/x-patch, Size: 1779 bytes --]

From a8896e49511d1b39558e48bb149c8fce91ba128c Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 21:40:22 -0800
Subject: [PATCH 10/18] gnu: Add python-pyquery

* gnu/packages/python.scm (python-pyquery, python2-pyquery): New variables.
---
 gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5557bfb..1238849 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7775,3 +7775,34 @@ file.")
 
 (define-public python2-pastedeploy
   (package-with-python2 python-pastedeploy))
+
+(define-public python-pyquery
+  (package
+    (name "python-pyquery")
+    (version "1.2.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyquery" version))
+       (sha256
+        (base32
+         "1ikz1387nsp0pp7mzzr6ip9n5gr67acpap24yn33987v7fkjp0sa"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-lxml" ,python-lxml)
+       ("python-cssselect" ,python-cssselect)))
+    (home-page "https://github.com/gawel/pyquery")
+    (synopsis "Make jQuery-like queries on xml documents")
+    (description "pyquery allows you to make jQuery queries on xml documents.
+The API is as much as possible the similar to jQuery.
+pyquery uses lxml for fast xml and html manipulation.")
+    (license bsd-3)
+    (properties `((python2-variant . ,(delay python2-pyquery))))))
+
+(define-public python2-pyquery
+  (let ((pyquery (package-with-python2
+                  (strip-python2-variant python-pyquery))))
+    (package
+      (inherit pyquery)
+      (inputs `(("python2-setuptools" ,python2-setuptools)
+                ,@(package-inputs pyquery))))))
-- 
2.6.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 10/18] gnu: Add python-pyquery.
  2016-02-15 23:31 [PATCH 10/18] gnu: Add python-pyquery Christopher Allan Webber
@ 2016-02-16  1:56 ` Leo Famulari
  2016-02-20  0:26   ` Christopher Allan Webber
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-02-16  1:56 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guix-devel

On Mon, Feb 15, 2016 at 03:31:22PM -0800, Christopher Allan Webber wrote:
> From a8896e49511d1b39558e48bb149c8fce91ba128c Mon Sep 17 00:00:00 2001
> From: Christopher Allan Webber <cwebber@dustycloud.org>
> Date: Sat, 13 Feb 2016 21:40:22 -0800
> Subject: [PATCH 10/18] gnu: Add python-pyquery
> 
> * gnu/packages/python.scm (python-pyquery, python2-pyquery): New variables.
> ---
>  gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 5557bfb..1238849 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7775,3 +7775,34 @@ file.")
>  
>  (define-public python2-pastedeploy
>    (package-with-python2 python-pastedeploy))
> +
> +(define-public python-pyquery
> +  (package
> +    (name "python-pyquery")
> +    (version "1.2.11")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "pyquery" version))
> +       (sha256
> +        (base32
> +         "1ikz1387nsp0pp7mzzr6ip9n5gr67acpap24yn33987v7fkjp0sa"))))
> +    (build-system python-build-system)
> +    (inputs
> +     `(("python-lxml" ,python-lxml)
> +       ("python-cssselect" ,python-cssselect)))
> +    (home-page "https://github.com/gawel/pyquery")
> +    (synopsis "Make jQuery-like queries on xml documents")
> +    (description "pyquery allows you to make jQuery queries on xml documents.
> +The API is as much as possible the similar to jQuery.
> +pyquery uses lxml for fast xml and html manipulation.")

Line wrapping.

> +    (license bsd-3)
> +    (properties `((python2-variant . ,(delay python2-pyquery))))))
> +
> +(define-public python2-pyquery
> +  (let ((pyquery (package-with-python2
> +                  (strip-python2-variant python-pyquery))))
> +    (package
> +      (inherit pyquery)
> +      (inputs `(("python2-setuptools" ,python2-setuptools)
> +                ,@(package-inputs pyquery))))))
> -- 
> 2.6.3
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 10/18] gnu: Add python-pyquery.
  2016-02-16  1:56 ` Leo Famulari
@ 2016-02-20  0:26   ` Christopher Allan Webber
  2016-02-20  2:33     ` Christopher Allan Webber
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  0:26 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari writes:

> On Mon, Feb 15, 2016 at 03:31:22PM -0800, Christopher Allan Webber wrote:
>> From a8896e49511d1b39558e48bb149c8fce91ba128c Mon Sep 17 00:00:00 2001
>> From: Christopher Allan Webber <cwebber@dustycloud.org>
>> Date: Sat, 13 Feb 2016 21:40:22 -0800
>> Subject: [PATCH 10/18] gnu: Add python-pyquery
>> 
>> * gnu/packages/python.scm (python-pyquery, python2-pyquery): New variables.
>> ---
>>  gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
>>  1 file changed, 31 insertions(+)
>> 
>> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> index 5557bfb..1238849 100644
>> --- a/gnu/packages/python.scm
>> +++ b/gnu/packages/python.scm
>> @@ -7775,3 +7775,34 @@ file.")
>>  
>>  (define-public python2-pastedeploy
>>    (package-with-python2 python-pastedeploy))
>> +
>> +(define-public python-pyquery
>> +  (package
>> +    (name "python-pyquery")
>> +    (version "1.2.11")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (pypi-uri "pyquery" version))
>> +       (sha256
>> +        (base32
>> +         "1ikz1387nsp0pp7mzzr6ip9n5gr67acpap24yn33987v7fkjp0sa"))))
>> +    (build-system python-build-system)
>> +    (inputs
>> +     `(("python-lxml" ,python-lxml)
>> +       ("python-cssselect" ,python-cssselect)))
>> +    (home-page "https://github.com/gawel/pyquery")
>> +    (synopsis "Make jQuery-like queries on xml documents")
>> +    (description "pyquery allows you to make jQuery queries on xml documents.
>> +The API is as much as possible the similar to jQuery.
>> +pyquery uses lxml for fast xml and html manipulation.")
>
> Line wrapping.

Fixed

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 10/18] gnu: Add python-pyquery.
  2016-02-20  0:26   ` Christopher Allan Webber
@ 2016-02-20  2:33     ` Christopher Allan Webber
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  2:33 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 10 bytes --]

Updated.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0009-gnu-Add-python-pyquery.patch --]
[-- Type: text/x-diff, Size: 1755 bytes --]

From 0a3c1db255d46fa66820a0148c808347620e5adf Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Sat, 13 Feb 2016 21:40:22 -0800
Subject: [PATCH 09/18] gnu: Add python-pyquery.

* gnu/packages/python.scm (python-pyquery, python2-pyquery): New variables.
---
 gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c787246..7dd2d69 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7775,3 +7775,33 @@ file.")
 
 (define-public python2-pastedeploy
   (package-with-python2 python-pastedeploy))
+
+(define-public python-pyquery
+  (package
+    (name "python-pyquery")
+    (version "1.2.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyquery" version))
+       (sha256
+        (base32
+         "1ikz1387nsp0pp7mzzr6ip9n5gr67acpap24yn33987v7fkjp0sa"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-lxml" ,python-lxml)
+       ("python-cssselect" ,python-cssselect)))
+    (home-page "https://github.com/gawel/pyquery")
+    (synopsis "Make jQuery-like queries on xml documents")
+    (description "pyquery allows you to make jQuery queries on xml documents.
+The API is as much as possible the similar to jQuery.  pyquery uses lxml for
+fast xml and html manipulation.")
+    (license bsd-3)
+    (properties `((python2-variant . ,(delay python2-pyquery))))))
+
+(define-public python2-pyquery
+  (let ((pyquery (package-with-python2
+                  (strip-python2-variant python-pyquery))))
+    (package
+      (inherit pyquery)
+      (native-inputs `(("python2-setuptools" ,python2-setuptools))))))
-- 
2.6.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-20  2:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 23:31 [PATCH 10/18] gnu: Add python-pyquery Christopher Allan Webber
2016-02-16  1:56 ` Leo Famulari
2016-02-20  0:26   ` Christopher Allan Webber
2016-02-20  2:33     ` Christopher Allan Webber

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.