From patchwork Fri May 3 16:42:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 13865 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8AC0216F93; Fri, 3 May 2019 17:44:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E531516F91 for ; Fri, 3 May 2019 17:44:32 +0100 (BST) Received: from localhost ([127.0.0.1]:44394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMbIW-00050G-Ex for patchwork@mira.cbaines.net; Fri, 03 May 2019 12:44:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMbIH-0004k7-Pl for guix-patches@gnu.org; Fri, 03 May 2019 12:44:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMbIC-00041g-EG for guix-patches@gnu.org; Fri, 03 May 2019 12:44:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMbI5-0003ws-Iw for guix-patches@gnu.org; Fri, 03 May 2019 12:44:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMbI5-0007HE-F7 for guix-patches@gnu.org; Fri, 03 May 2019 12:44:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35446] [PATCH v2 11/24] gnu: Add python-soupsieve, python2-soupsieve Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 May 2019 16:44:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35446 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35446@debbugs.gnu.org Received: via spool by 35446-submit@debbugs.gnu.org id=B35446.155690183927857 (code B ref 35446); Fri, 03 May 2019 16:44:05 +0000 Received: (at 35446) by debbugs.gnu.org; 3 May 2019 16:43:59 +0000 Received: from localhost ([127.0.0.1]:49484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMbHz-0007FB-0C for submit@debbugs.gnu.org; Fri, 03 May 2019 12:43:59 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:37666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMbHx-0007EH-PQ for 35446@debbugs.gnu.org; Fri, 03 May 2019 12:43:58 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 56F294DE77 for <35446@debbugs.gnu.org>; Fri, 3 May 2019 18:43:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1556901830; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ae8hU7I3UxRwnuP8basjgc/pJS41oZuD6jm4VSE0liY=; b=fCcaoFPap/rsRE1GpzkMPNX/JVPzzNQwWL8p2ppJfo0MNK6rUx7YxspAiPr8NW1x9hhu0K iRfgSJUBZ9h+9R7Dj4SrjxVviKpl3d5iptsvf0img+31DHHNmoQSsTJkYquXlbxgYyKyK9 1SE7nsAuwQjALzVhCFdsl17XaB6nIPQxq2FOYWdi6lMbleuhQh2qMbdknaPSs6LzfLTc+x tdHNrl5F3EAazeBeU4yrwY6CzD01NhR53RWZfDIcDwP3edZNtVq5ds3QPWVoMGE4IzncEI 1CSOXbMJSPe+dvmajvljjEusvbGRtk9n/lW1A0R73nbZ1v+kr+u48nmKNPt70Q== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id hYztyBYM22R8 for <35446@debbugs.gnu.org>; Fri, 3 May 2019 18:43:49 +0200 (CEST) From: Brendan Tildesley Date: Sat, 4 May 2019 02:42:19 +1000 Message-Id: <20190503164232.1799-11-mail@brendan.scot> In-Reply-To: <20190503164232.1799-1-mail@brendan.scot> References: <20190503164232.1799-1-mail@brendan.scot> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-soupsieve, python2-soupsieve): New variables. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 31f3ea3688..42e8a60b3a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5559,6 +5559,39 @@ converts incoming documents to Unicode and outgoing documents to UTF-8.") (strip-python2-variant python-beautifulsoup4))) (arguments `(#:python ,python-2)))) +(define-public python-soupsieve + (package + (name "python-soupsieve") + (version "1.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "soupsieve" version)) + (sha256 + (base32 + "1jnzkiwmjl6yvqckc9mf689g87b6yz07sv868hap2aa5arggy3mj")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) + ;;XXX: 2 tests fail currently despite claming they were to be + ;;skipped. Also, beautifulsoup4 may depend on this in the future, so we + ;;don't want to create a circular dependency. + (home-page "https://github.com/facelessuser/soupsieve") + (synopsis "CSS selector library") + (description + "Soup Sieve is a CSS selector library designed to be used with Beautiful +Soup 4. It aims to provide selecting, matching, and filtering using modern +CSS selectors. Soup Sieve currently provides selectors from the CSS level 1 +specifications up through the latest CSS level 4 drafts and beyond (though +some are not yet implemented).") + (license license:expat))) + +(define-public python2-soupsieve + (let ((base (package-with-python2 python-soupsieve))) + (package + (inherit base) + (propagated-inputs + `(("python2-backports-functools-lru-cache" ,python2-backports-functools-lru-cache)))))) + (define-public python-netifaces (package (name "python-netifaces")