From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gNMpN+PXumAsHQAAgWs5BA (envelope-from ) for ; Sat, 05 Jun 2021 03:48:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4XNuMuPXumDnMQAAB5/wlQ (envelope-from ) for ; Sat, 05 Jun 2021 01:48:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5EE6817BB4 for ; Sat, 5 Jun 2021 03:48:19 +0200 (CEST) Received: from localhost ([::1]:33384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpLQ9-0003r5-F8 for larch@yhetil.org; Fri, 04 Jun 2021 21:48:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpLPu-0003Os-Ot for guix-patches@gnu.org; Fri, 04 Jun 2021 21:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpLPu-0005SU-I6 for guix-patches@gnu.org; Fri, 04 Jun 2021 21:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpLPu-0007qB-GX for guix-patches@gnu.org; Fri, 04 Jun 2021 21:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH 3/6] gnu: Add python-linkify-it-py. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Jun 2021 01:48: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.162285765230052 (code B ref 48842); Sat, 05 Jun 2021 01:48:02 +0000 Received: (at 48842) by debbugs.gnu.org; 5 Jun 2021 01:47:32 +0000 Received: from localhost ([127.0.0.1]:48110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpLPP-0007oe-MV for submit@debbugs.gnu.org; Fri, 04 Jun 2021 21:47:31 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpLPN-0007o0-MV for 48842@debbugs.gnu.org; Fri, 04 Jun 2021 21:47:30 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0B80B2400E5 for <48842@debbugs.gnu.org>; Sat, 5 Jun 2021 03:47:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1622857644; bh=CBTt5HE98vEeILMTnefeUTlc9CLFO9G+3zSgKoM+B6A=; h=From:To:Cc:Subject:Date:From; b=JDdhF0QvqMBlIH9l7YqBHaSay/FW686y3Fzlp8abcEtihQ3QFj6IH0tA10HLupgO7 uC9GJ6k40sEwUkopP1gwGICiC4aBWN7NbxGz8xkaoFJM7LgoEjN4IPA8TIQTJlE27Y vfcTQ/IS3sgJI0HUPwxfpozX/RNmtJ36qlaFcZlav4RrC9ldlF98dfTRn+moO+aEH3 9aXXflyGudWwQrHDjaxbR8i4E11rb/wVDv3slJ3tsA4DbyiceLnTFKQUlX4Hl05cfp YqMnfll+T0P08nATUQ5X/+08SMP9enAWAn2e8ib0J2GjXQxIOsUfbiZr5RaZMOEbaI lcyTOK4J4pX6w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FxjDp4VZsz9rxL; Sat, 5 Jun 2021 03:47:22 +0200 (CEST) From: Vinicius Monego Date: Sat, 5 Jun 2021 01:46:52 +0000 Message-Id: <20210605014655.18459-3-monego@posteo.net> In-Reply-To: <20210605014655.18459-1-monego@posteo.net> References: <20210605014655.18459-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622857699; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/83KMAaLZP/B+TsJy1il1H3vhtE7zJH3rjD/mtUkQuE=; b=EMl5Bbd4z7sTj5NO2BOmyftARF+tS+OlLCJGb8YZR2WnyuZ0AQ3UBa/CMMZwtIB6bpA9IM r8kc4/l7rQx1I77OntikzgrS9hR1uNZk3MeM5j37WwVczVdgLVW5cXwyilZQkuFYPIYmPU 9fkkC6DvBfe8e2ihWC4srQXZxUt22U63xG3Irj39CZ9e70OkaxD/DzUrZecajnP/Ccz2uT NntjHBiDBYeNTF8BtFcusd+69x/3tJs2iVOAKn438h1+jBtN9Gw1nXHWdaGQpHoFSOZs4I udhGqr6DvoSWN6aTrVdO3vO2xhxoR37t7j7h8aImmsm7Ep+tWmXNfi79ncX4AQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622857699; a=rsa-sha256; cv=none; b=vDfjtJWBq94YPGAEZf9PCPf+YXfTWeSOWGj4xadGSYJBeHhYySf2lrOBuNNhlMLRUMKpq0 rQdnaJD1AofBJmIHpQfXOlKIJT8W12zCQGiWgbBvf066kh0Dwxj1ldgKROkp1HNHFqsEYn BAiMDxSfLJGHkyhIJ4Gec8D7bdP+4YuBxOev+LAUpshR8adqez7SIMVeSigfNpMQMmSC6l W/3tQ5+b1OLBwX0LNroh2ZL1V+ZnvgK8fKiwPfoyTElpxLWMwmQM/86RLygnHiQAufpd+F XvF6KKT1ygZ7UeIIrwxGmyR2p5zl+fyqXGKjF7TqZDgMdUK8mKVzb24jTZY5Bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=JDdhF0Qv; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=JDdhF0Qv; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5EE6817BB4 X-Spam-Score: 3.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: mKXElcOW5XBu * gnu/packages/python-xyz.scm (python-linkify-it-py, python-uc-micro-py): New variables. --- gnu/packages/python-xyz.scm | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d978942402..89717975ee 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7027,6 +7027,78 @@ cluster without needing to write any wrapper code yourself.") (define-public python2-gridmap (package-with-python2 python-gridmap)) +(define python-uc-micro-py + (package + (name "python-uc-micro-py") + (version "1.0.1") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/tsutsu3/uc.micro-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17f55gi55rg47nm88fn3f8851ph03dgykdp011lxr3j6hk18lyfv")))) + (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"))))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/tsutsu3/uc.micro-py") + (synopsis "Micro subset of unicode data files for linkify-it-py projects") + (description + "This is a Python port of @code{uc.micro}. This package 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}.") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho") -- 2.31.1