From patchwork Mon Jun 7 11:20:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29996 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 7D4AA27BC81; Mon, 7 Jun 2021 12:26:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 076C427BC78 for ; Mon, 7 Jun 2021 12:26:59 +0100 (BST) Received: from localhost ([::1]:60132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDPG-0003nr-0L for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:26:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKV-0000tz-CT for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKV-0006Uh-4y for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKV-0002K9-0g for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 4/7] gnu: Add python-linkify-it-py. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48842@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48842-submit@debbugs.gnu.org id=B48842.16230648978856 (code B ref 48842); Mon, 07 Jun 2021 11:22:02 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:37 +0000 Received: from localhost ([127.0.0.1]:54565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK5-0002Ib-1L for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJy-0002HW-8J for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:30 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6F34A2400E5 for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064884; bh=2X0GBFLWVmiqp8SgJ7HZeniTmVU7eM7P+Os19EupZ4c=; h=From:To:Cc:Subject:Date:From; b=dWTu0LeymSdHtCrEYGDWdjHGC2IdPngegiURVabj7IPIzNyD4K96sOV3a19Kcz9nh BkFVYibR56Yr2hmAZSqD6koceiz6qYKOFxVYIh7evh6SsXJV/NEzkSwwzRTDLDKHQn 8hVUtqWkQHNw1z2/WwEPhicoeHUWFFGOfuKodhb3r+/qXZxf0gibpAin9x6JuZbk4X uha/tb1fxH14sGop75uso6w2P1YzddaYKUJnq2fLQPRjXWpvwL9zZ94vw2a4mV4O6Y 3XxsCLY6xUJxtlM9l2xunnTk2y6pV0WkEgfEKd9NFQUNmLk9VDGW7mD8nbknv7/xEH k+aGRbViXw3Hg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9tC0VBfz9rxG; Mon, 7 Jun 2021 13:21:22 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:48 +0000 Message-Id: <20210607112051.214681-4-monego@posteo.net> In-Reply-To: <20210607112051.214681-1-monego@posteo.net> References: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-linkify-it-py): New variable. --- Changed description. gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0292fdcdfb..d910d370e9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7096,6 +7096,44 @@ cluster without needing to write any wrapper code yourself.") content is only for the @code{linkify-it-py} project needs.") (license license:expat))) +(define-public python-linkify-it-py + (package + (name "python-linkify-it-py") + (version (package-version python-uc-micro-py)) + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/tsutsu3/linkify-it-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00r4sxgvlxkm5k2jwvrsxgzcccfkfzd0knypbcig5almisg7bpl1")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (propagated-inputs + `(("python-uc-micro-py" ,python-uc-micro-py))) + (native-inputs + `(("python-black" ,python-black) + ("python-coverage" ,python-coverage) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/tsutsu3/linkify-it-py") + (synopsis "Links recognition library with full unicode support") + (description "This is a Python port of @code{linkify-it}, a JavaScript +links recognition library with full unicode support.") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho")