From patchwork Wed Sep 15 16:41:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 32871 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 F38E027BBE3; Wed, 15 Sep 2021 17:51:39 +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_H2,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 B757D27BBE1 for ; Wed, 15 Sep 2021 17:51:39 +0100 (BST) Received: from localhost ([::1]:57852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQY8I-0006LO-Op for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 12:51:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQXzy-0001y9-SV for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXzy-0006Co-JS for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXzy-0003XY-FP for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v3 1/5] gnu: Add python-uc-micro-py. References: <20210605014517.18212-1-monego@posteo.net> In-Reply-To: <20210605014517.18212-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 16:43: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.163172412713496 (code B ref 48842); Wed, 15 Sep 2021 16:43:02 +0000 Received: (at 48842) by debbugs.gnu.org; 15 Sep 2021 16:42:07 +0000 Received: from localhost ([127.0.0.1]:53112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz4-0003Vb-L2 for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz2-0003Un-0p for 48842@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C4694240106 for <48842@debbugs.gnu.org>; Wed, 15 Sep 2021 18:41:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631724117; bh=U+CUqP4sU98uD7E9GUogUELLnYE+iqcMzsCsFo4RDks=; h=From:To:Cc:Subject:Date:From; b=PO8Jnm70YJPGi6G7zjioab7oLIPoLuQryDURrVZ4yKAPRjs2SCPWv7dmDVlCFdrfm rceRtK4FEz0gPdkxBbUHg/LI7A2wUTS/YqmiOZpFl7o3bJ8gE7ScuxJXH6wtnrOsAo P2LOBzOUY9scfksI6SqbPQJBHHmvgQQGRFA0lqpotGZwtYgebpMh6bIvFIf5aZYHpe +tDTzZqo1olYjcug/25unaVlgSEyesK6lSbgkPOt3Cno1qYY8sIMzcAnvOg7zpwwdM kElHmSfGDoel7BimSPFhDEeG7gYFUKdgIa28YV1GIi9ELXvQK6jPPzp5eJL5CJEsBV TpsJguOXhT+7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8mFk4Ht1z9rxf; Wed, 15 Sep 2021 18:41:46 +0200 (CEST) From: Vinicius Monego Date: Wed, 15 Sep 2021 16:41:26 +0000 Message-Id: <20210915164130.11236-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-uc-micro-py): New variable. --- Rebasing. Starting from this patch because the pytest plugins were pushed to the repository. gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e98eec19bc..b742050b06 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7257,6 +7257,41 @@ cluster directly from Python. You can directly map Python functions onto the cluster without needing to write any wrapper code yourself.") (license license:gpl3+))) +;; This package's only purpose is to support python-linkify-it-py. Both +;; have to be updated at the same time by updating this one. +(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's +content is only for the @code{linkify-it-py} project needs.") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho")