[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/19: gnu: Add python-pyquery
From: |
Christopher Allan Webber |
Subject: |
10/19: gnu: Add python-pyquery |
Date: |
Mon, 15 Feb 2016 19:22:29 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit a2737595efc86001be2a21827a951f5ab87f7089
Author: Christopher Allan Webber <address@hidden>
Date: Sat Feb 13 21:40:22 2016 -0800
gnu: Add python-pyquery
* gnu/packages/python.scm (python-pyquery, python2-pyquery): New variables.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 56ec81d..9299626 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7775,3 +7775,32 @@ 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 "A jquery-like library for python")
+ (description "A jquery-like library for python")
+ (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))))))
- branch wip-mediagoblin created (now 767ff84), Christopher Allan Webber, 2016/02/15
- 01/19: gnu: Add python-mako., Christopher Allan Webber, 2016/02/15
- 02/19: gnu: Add python-alembic., Christopher Allan Webber, 2016/02/15
- 03/19: gnu: Add python2-apipkg., Christopher Allan Webber, 2016/02/15
- 04/19: gnu: Add python2-execnet., Christopher Allan Webber, 2016/02/15
- 05/19: gnu: Add python-pytest-xdist., Christopher Allan Webber, 2016/02/15
- 06/19: gnu: Add python-beautifulsoup4, Christopher Allan Webber, 2016/02/15
- 07/19: gnu: Add python-waitress., Christopher Allan Webber, 2016/02/15
- 08/19: gnu: Add python-wsgiproxy2., Christopher Allan Webber, 2016/02/15
- 09/19: gnu: Add python-pastedeploy, Christopher Allan Webber, 2016/02/15
- 10/19: gnu: Add python-pyquery,
Christopher Allan Webber <=
- 11/19: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/15
- 12/19: gnu: Add python-anyjson., Christopher Allan Webber, 2016/02/15
- 13/19: gnu: Add python-amqp., Christopher Allan Webber, 2016/02/15
- 14/19: gnu: Add python-kombu., Christopher Allan Webber, 2016/02/15
- 15/19: gnu: Add python-billiard., Christopher Allan Webber, 2016/02/15
- 16/19: gnu: Add python2-celery., Christopher Allan Webber, 2016/02/15
- 17/19: gnu: Add python-translitcodec., Christopher Allan Webber, 2016/02/15
- 18/19: gnu: Add python-editor., Christopher Allan Webber, 2016/02/15
- 19/19: gnu: Add mediagoblin., Christopher Allan Webber, 2016/02/15