From patchwork Thu Oct 21 03:52:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 33966 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 C9A4727BBE3; Thu, 21 Oct 2021 04:55:16 +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 0A09627BBE1 for ; Thu, 21 Oct 2021 04:55:16 +0100 (BST) Received: from localhost ([::1]:34980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdPAh-0007qB-4k for patchwork@mira.cbaines.net; Wed, 20 Oct 2021 23:55:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdPAV-0007jt-Jt for guix-patches@gnu.org; Wed, 20 Oct 2021 23:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44375) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdPAV-0005Kn-6h for guix-patches@gnu.org; Wed, 20 Oct 2021 23:55:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdPAV-0005LT-6F for guix-patches@gnu.org; Wed, 20 Oct 2021 23:55:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH 03/29] gnu: Add python-emoji. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 03:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.163478846520471 (code B ref 51314); Thu, 21 Oct 2021 03:55:03 +0000 Received: (at 51314) by debbugs.gnu.org; 21 Oct 2021 03:54:25 +0000 Received: from localhost ([127.0.0.1]:55916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdP9t-0005K6-8D for submit@debbugs.gnu.org; Wed, 20 Oct 2021 23:54:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdP9n-0005Jb-Rr for 51314@debbugs.gnu.org; Wed, 20 Oct 2021 23:54:23 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9E6AC240101 for <51314@debbugs.gnu.org>; Thu, 21 Oct 2021 05:54:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634788453; bh=ex5xa7bmlSD1aeM2B6ioL3O/OqCPkF/I1ZdVxoJzPZg=; h=From:To:Cc:Subject:Date:From; b=sCKuLvQTGl/zsaImMYIieFqPTuiWBMYrb3e0h5YaYrppkmF3LrTw26gX5HNC4LLLw HS6HDzxgtx7HS/ECTm89qyugOIEbzWFXMQeqGLwWXMbdIi7SjKP5Az+1BOszSaeGUq 0ZXo4lWhysRPKDkNlyLq7uUL0u21yuZQ19YsgKroHUsln5CxqOJS+7Y+xUOnj8BnBw RzgcExRoJxO/ZhgfnOA9CumtlUQ4SSlSFYJF7qY8FhNbJuuY++mHcpj36Ub6jayQJZ SctDYLJUMLd/8LkFWjv3Hw0sD7k/U6M8ibEtLuLtfP/JYXu5pBTkw/thl2UeA6g2QN guu599vlKfO0g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZYWS3DJfz6tm6; Thu, 21 Oct 2021 05:54:11 +0200 (CEST) From: Vinicius Monego Date: Thu, 21 Oct 2021 03:52:48 +0000 Message-Id: <20211021035314.241360-3-monego@posteo.net> In-Reply-To: <20211021035314.241360-1-monego@posteo.net> References: <20211021035314.241360-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-emoji): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cf6b4e8e82..6819574944 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9713,6 +9713,36 @@ applications.") a fork of @code{frozendict}.") (license license:expat))) +(define-public python-emoji + (package + (name "python-emoji") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "emoji" version)) + (sha256 + (base32 "0923mpixwq6hdpkgvi4r46alfvf608iq975rb8lnqpq29j71mmjk")))) + (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-coveralls" ,python-coveralls) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/carpedm20/emoji/") + (synopsis "Emoji terminal output for Python") + (description "This package provides Emoji terminal output for Python. The +entire set of Emoji codes as defined by the unicode consortium is supported in +addition to a bunch of aliases.") + (license license:bsd-3))) + (define-public python-pep8 ;; This package has been renamed to ‘pycodestyle’ and is no longer updated. ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking