From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: [PATCH 10/18] gnu: Add python-pyquery. Date: Fri, 19 Feb 2016 16:26:10 -0800 Message-ID: <87si0ons60.fsf@dustycloud.org> References: <87d1rxsg8l.fsf@dustycloud.org> <20160216015658.GI3984@jasmine> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWvNL-00082B-UQ for guix-devel@gnu.org; Fri, 19 Feb 2016 19:26:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWvNI-0007E4-Nb for guix-devel@gnu.org; Fri, 19 Feb 2016 19:26:19 -0500 Received: from dustycloud.org ([50.116.34.160]:45304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWvNI-0007Dx-Jx for guix-devel@gnu.org; Fri, 19 Feb 2016 19:26:16 -0500 In-reply-to: <20160216015658.GI3984@jasmine> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org 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 >> 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