From patchwork Sat Jan 1 23:51:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35870 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 39E1F27BBEB; Sat, 1 Jan 2022 23:53:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E2BE427BBE9 for ; Sat, 1 Jan 2022 23:53:55 +0000 (GMT) Received: from localhost ([::1]:42276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCA-0005ud-Vs for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:53:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBK-0005S4-SD for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBK-0008A7-JA for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBK-00037k-IS for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 01/12] gnu: Add python-cloup. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108113811807 (code B ref 50505); Sat, 01 Jan 2022 23:53:02 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:18 +0000 Received: from localhost ([127.0.0.1]:59577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAY-000348-7T for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:18 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:55193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAW-00033g-R9 for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:13 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhR2l85z8SFB; Sun, 2 Jan 2022 00:52:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081127; bh=sD02ZEWOGXuYI1fqtI23q52W5OD6FCGDP3wiTa2z1N0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VhjWGU6LaltUdG4UREToxq4gG8lEloZzDn1cOidocN5ZV2B6cSol4MDaz3eBz+fb5 0rakIG0Ug8AneKQ61VmwqwyB2shSqDt2Dd7xJnKoLQCUWANIRwi3FKo6bMBJVnF9bz WTFck/vebtVSrlTJgOyIAwTb5GaAIUayUuwg9pdM= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhR1vKvz8SDD; Sun, 2 Jan 2022 00:52:07 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhR0jxHz8SCP; Sun, 2 Jan 2022 00:52:07 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhQ4p3mzDgxf; Sun, 2 Jan 2022 00:52:06 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:44 +0100 Message-Id: <20220101235155.5754-2-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-cloup): New variable. Co-authored-by: Xinglu Chen --- gnu/packages/python-science.scm | 1 + gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 1311fbad0c..65f1dbf014 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2021 Paul Garlick ;;; Copyright © 2021 Arun Isaac ;;; Copyright © 2021 Felix Gruber +;;; Copyright © 2021 Daniel Meißner ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 27f8c11c9c..db511a178f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3430,6 +3430,39 @@ (define-public python-cligj well-tested and interoperable CLIs for handling GeoJSON.") (license license:bsd-3))) +(define-public python-cloup + (package + (name "python-cloup") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cloup" version)) + (sha256 + (base32 + "07kxw81bml137w9bfmwkjbdzbldkk1k1lws82wffz9244pp7k8ib")))) + (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 + (list python-click)) + (native-inputs + (list python-setuptools python-setuptools-scm python-pytest)) + (home-page "https://github.com/janLuke/cloup") + (synopsis "Extension library for @code{python-click}") + (description + "Cloup---originally from ``Click + option groups''---enriches +@code{python-click} with several features that make it more expressive and +configurable: option groups, constraints, subcommand aliases, subcommands +sections, and a themeable @code{HelpFormatter}.") + (license license:bsd-3))) + (define-public python-vcversioner (package (name "python-vcversioner") From patchwork Sat Jan 1 23:51:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35873 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 0E53127BBE9; Sat, 1 Jan 2022 23:54:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA64D27BBEA for ; Sat, 1 Jan 2022 23:54:06 +0000 (GMT) Received: from localhost ([::1]:42812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCL-0006IF-Th for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:54:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBL-0005SJ-CC for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBL-0008AD-2t for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBK-00037r-UL for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 02/12] gnu: Add python-cloup-0.7. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108113811813 (code B ref 50505); Sat, 01 Jan 2022 23:53:02 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:18 +0000 Received: from localhost ([127.0.0.1]:59580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAc-00034O-Cn for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:18 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:55219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAa-00033m-0u for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:16 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhV455Rz8SGv; Sun, 2 Jan 2022 00:52:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081130; bh=DeolMfZ58Cqb+v9sdZViM1KJJD8s4RL8V0PTe6pi0vI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=js5O4mPwBA435PGd67wLtCf4lbVJ/n4Syn8S/dHhGtiPmlxq2cUc4Ok/HwW6JY0kK jVqFk8M5W/66Z22WpsWCaImpGZcCq8nKvfg0gjuv2tK50zbtuszEcYUFXrKkB3sjub L9xLFhx1+ZepIfOugRM0ZAvcsgVkQRzsqXMtIp+I= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhV3FzXz8SGb; Sun, 2 Jan 2022 00:52:10 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhV29Nvz8SGj; Sun, 2 Jan 2022 00:52:10 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhV0ByZzDgyZ; Sun, 2 Jan 2022 00:52:10 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:45 +0100 Message-Id: <20220101235155.5754-3-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-cloup-0.7): New variable. --- gnu/packages/python-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index db511a178f..deff85e797 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3463,6 +3463,18 @@ (define-public python-cloup sections, and a themeable @code{HelpFormatter}.") (license license:bsd-3))) +(define-public python-cloup-0.7 + (package (inherit python-cloup) + (name "python-cloup-0.7") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cloup" version)) + (sha256 + (base32 + "0yyxibwlxmdkm4866fm4rwpdgy3d6y18n061992ckr54vl0cav7j")))))) + (define-public python-vcversioner (package (name "python-vcversioner") From patchwork Sat Jan 1 23:51:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35868 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 827ED27BBEA; Sat, 1 Jan 2022 23:53:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1425327BBE9 for ; Sat, 1 Jan 2022 23:53:29 +0000 (GMT) Received: from localhost ([::1]:41686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oBi-0005TV-KR for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:53:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBL-0005SN-L7 for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBL-0008AL-Ay for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBL-00037y-A8 for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 03/12] gnu: Add python-glcontext. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108114011828 (code B ref 50505); Sat, 01 Jan 2022 23:53:03 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:20 +0000 Received: from localhost ([127.0.0.1]:59583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAe-00034i-JQ for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:20 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:55232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAd-00034A-JT for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:19 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhZ0yxcz8SH2; Sun, 2 Jan 2022 00:52:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081134; bh=VQRLo1qWvazucoc8JaFvarDlNjolA3HmpkZAIci7sBM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j+z2zPPktoNaAvfrh1VTM843smE+SMbzkwv8VusXZAipkrwhM7MyuLNlaB4AYUHZb fLBPA0fPLpgK2l9xXkNtm14z/+tYHikQar+DdT/mYiCDu/couLOIpgxSRZ3g0Gxaas VCCC5qe9jzEd5w0D5k9KTPmQETetysNTPNmaiUYU= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhZ03T6z8SGZ; Sun, 2 Jan 2022 00:52:14 +0100 (CET) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhY60yVz8SGR; Sun, 2 Jan 2022 00:52:13 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhY46mnzDgyf; Sun, 2 Jan 2022 00:52:13 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:46 +0100 Message-Id: <20220101235155.5754-4-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-glcontext): New variable. --- gnu/packages/python-xyz.scm | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index deff85e797..d8e6fa070e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19555,6 +19555,59 @@ (define-public python-pyopengl-accelerate (description "This is the Cython-coded accelerator module for PyOpenGL."))) +(define-public python-glcontext + (package + (name "python-glcontext") + (version "2.3.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moderngl/glcontext") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1m2zkl696vqmgrd5k1c5kl0krk6qgjgsz88qhahwva0l40bswvhp")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'build 'fix-lib-paths + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((mesa (assoc-ref inputs "mesa")) + (libx11 (assoc-ref inputs "libx11"))) + (substitute* '("glcontext/x11.cpp" "glcontext/egl.cpp") + (("\"libGL.so\"") + (string-append "\"" mesa "/lib/libGL.so\"")) + (("\"libEGL.so\"") + (string-append "\"" mesa "/lib/libEGL.so\"")) + (("\"libX11.so\"") + (string-append "\"" libx11 "/lib/libX11.so\""))) + (substitute* '("glcontext/__init__.py") + (("find_library\\('GL'\\)") + (string-append "'" mesa "/lib/libGL.so'")) + (("find_library\\('EGL'\\)") + (string-append "'" mesa "/lib/libEGL.so'")) + (("find_library\\(\"X11\"\\)") + (string-append "'" libx11 "/lib/libX11.so'")))))) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "tests"))))))) + (inputs + (list libx11 mesa)) + (native-inputs + (list xorg-server-for-tests python-pytest python-psutil)) + (home-page "https://github.com/moderngl/glcontext") + (synopsis "Portable OpenGL Context for ModernGL") + (description "Python-glcontext is a library providing an OpenGL +implementation for ModernGL on multiple platforms.") + (license license:expat))) + (define-public python-rencode (package (name "python-rencode") From patchwork Sat Jan 1 23:51:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35871 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 7CC7D27BBE9; Sat, 1 Jan 2022 23:53:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1DC3627BBEA for ; Sat, 1 Jan 2022 23:53:56 +0000 (GMT) Received: from localhost ([::1]:42266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCA-0005uU-VL for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:53:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBM-0005Sg-0c for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBL-0008AS-Nm for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBL-000386-NH for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 04/12] gnu: Add python-moderngl. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108114911869 (code B ref 50505); Sat, 01 Jan 2022 23:53:03 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:29 +0000 Received: from localhost ([127.0.0.1]:59586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAg-00034y-Ry for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:28 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:55241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAf-00034C-Jr for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:21 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhc15llz8SH9; Sun, 2 Jan 2022 00:52:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081136; bh=6m/4bRSgWWZc+Eox9AoalZCYVzvWM4sxu9QXbxgi/R8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pY8TuikP+kAM5cklQKVSX45X4oVC6NPoCIPAngTbcwz5tEZ5u1pzw2HZFWESylpCg FK7R7kU+p7pHCOAZNsxgdme1ocECYJKQIR1MTJUu8qX70ohGqYIKy+qEFch+qBTH2I 9oQw8RzLx8S/tYab396Rn8OnRLGbnd63102kvYHY= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhc0Ghyz8SGj; Sun, 2 Jan 2022 00:52:16 +0100 (CET) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhb6CFrz8SGb; Sun, 2 Jan 2022 00:52:15 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhb4Jd3zDgxf; Sun, 2 Jan 2022 00:52:15 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:47 +0100 Message-Id: <20220101235155.5754-5-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-moderngl): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d8e6fa070e..21cf780338 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19608,6 +19608,31 @@ (define-public python-glcontext implementation for ModernGL on multiple platforms.") (license license:expat))) +(define-public python-moderngl + (package + (name "python-moderngl") + (version "5.6.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "moderngl" version)) + (sha256 + (base32 + "1ysinnyr3rkdisbihdrn1623l3rw45nx8p2j31dgffsykxah8vcc")))) + (build-system python-build-system) + (propagated-inputs + (list python-glcontext)) + (home-page "https://github.com/moderngl/moderngl") + (synopsis "Python wrapper for OpenGL") + (description "ModernGL is a python wrapper over OpenGL 3.3+ core that +simplifies the creation of simple graphics applications like scientific +simulations, games or user interfaces. Usually, acquiring in-depth knowledge +of OpenGL requires a steep learning curve. In contrast, ModernGL is easy to +learn and use, moreover it is capable of rendering with high performance and +quality, with less code written. The majority of the moderngl code base is +also written in C++ for high performance.") + (license license:expat))) + (define-public python-rencode (package (name "python-rencode") From patchwork Sat Jan 1 23:51:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35872 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 3289F27BBEB; Sat, 1 Jan 2022 23:54:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9B3D127BBE9 for ; Sat, 1 Jan 2022 23:54:06 +0000 (GMT) Received: from localhost ([::1]:42816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCL-0006IH-Q7 for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:54:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBM-0005TB-EM for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBM-0008AY-4w for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBM-00038D-44 for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 05/12] gnu: Add python-pyglet. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108115311890 (code B ref 50505); Sat, 01 Jan 2022 23:53:04 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:33 +0000 Received: from localhost ([127.0.0.1]:59592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAn-00035T-0k for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:33 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:54593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAh-00034M-WC for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:24 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhd6S2Xz8SNw; Sun, 2 Jan 2022 00:52:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081137; bh=7gSByNrfoOTinKCrwnKy7gsxNSQWCN4p+1cpg5xZAcE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=coD8pARb4AeEZWlxw34bCCMnW8MvNXxxR4DEzVoHSicxqwxCJRU6hV86CoGMvwoZd hejFoB5ArbCGu/alDCGhVQKQZCfVP7djpMPeNaqg4oTt1MKzC9aXg3mhGZHdlCOjJh K3rNFbZUIheOB03ntMVunpuFaXzEceUgXataYv5U= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhd5Yh3z8SNS; Sun, 2 Jan 2022 00:52:17 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhd3Cqxz8SNC; Sun, 2 Jan 2022 00:52:17 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhc6VdWzDgyZ; Sun, 2 Jan 2022 00:52:16 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:48 +0100 Message-Id: <20220101235155.5754-6-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pyglet): New variable. --- gnu/packages/python-xyz.scm | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 21cf780338..e0d65daf91 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19633,6 +19633,61 @@ (define-public python-moderngl also written in C++ for high performance.") (license license:expat))) +(define-public python-pyglet + (package + (name "python-pyglet") + (version "1.5.18") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyglet" version ".zip")) + (sha256 + (base32 + "044ib8x6pv5rjwj210hq37ry7vi5bizmqkkv1zj8967prk5ii8sq")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'build 'fix-lib-paths + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* '("pyglet/gl/lib_glx.py") + (("'GL'") + (string-append "\"" (assoc-ref inputs "mesa") + "/lib/libGL.so\"")) + (("'GLU'") + (string-append "\"" (assoc-ref inputs "glu") + "/lib/libGLU.so\""))) + (substitute* '("pyglet/font/freetype_lib.py") + (("'freetype'") + (string-append "\"" (assoc-ref inputs "freetype") + "/lib/libfreetype.so\""))) + (substitute* '("pyglet/font/fontconfig.py") + (("'fontconfig'") + (string-append "\"" (assoc-ref inputs "fontconfig") + "/lib/libfontconfig.so\""))))) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "tests/unit"))))))) + (inputs + `(("mesa" ,mesa) + ("glu" ,glu) + ("freetype" ,freetype) + ("fontconfig" ,fontconfig))) + (native-inputs + (list unzip python-pytest xorg-server-for-tests)) + (home-page "https://pyglet.readthedocs.io") + (synopsis "Cross-platform windowing and multimedia Python library") + (description + "Pyglet is a Python library for developing games and other visually-rich +applications. It supports windowing, user interface event handling, +Joysticks, OpenGL graphics, loading images and videos, and playing sounds and +music. All of this with a friendly Pythonic API that's simple to learn.") + (license license:bsd-3))) + (define-public python-rencode (package (name "python-rencode") From patchwork Sat Jan 1 23:51:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35874 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 DCF0027BBEA; Sat, 1 Jan 2022 23:54:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A9F2527BBE9 for ; Sat, 1 Jan 2022 23:54:23 +0000 (GMT) Received: from localhost ([::1]:43256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCc-0006at-Tf for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:54:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBM-0005TS-QZ for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBM-0008Ad-HY for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBM-00038L-Ge for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 06/12] gnu: Add python-pyrr. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108115311897 (code B ref 50505); Sat, 01 Jan 2022 23:53:04 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:33 +0000 Received: from localhost ([127.0.0.1]:59595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAr-00035j-I0 for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:33 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:54612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAi-00034b-CV for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:24 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhf6Sylz8SPc; Sun, 2 Jan 2022 00:52:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081138; bh=maXMEL+T5CE1prprzaIOfOFsaDUeES/6+81YG5W5P+w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XMZ2j2MAnJdeLVMtlFpXy2QaQdDbFidV1YQ3dpIWM58xtCk3o/L9JVfLdOREgIcW0 elAxwRbwBBBYZkqlxyh2LbvUe2/Sc6r5X1RJyQRfGCV/494YoSoWNekju9qiAaChRB +MgvwQJ/Yqau8iLzyDrXGCeZws83PWrDTjN3t38k= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhf5kMgz8SMk; Sun, 2 Jan 2022 00:52:18 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhf4XtFz8SPN; Sun, 2 Jan 2022 00:52:18 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhf2hLJzDgyf; Sun, 2 Jan 2022 00:52:18 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:49 +0100 Message-Id: <20220101235155.5754-7-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pyrr): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e0d65daf91..d706d208af 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19633,6 +19633,28 @@ (define-public python-moderngl also written in C++ for high performance.") (license license:expat))) +(define-public python-pyrr + (package + (name "python-pyrr") + (version "0.10.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyrr" version)) + (sha256 + (base32 + "07byxkq8dcc8n6fc2q7g3vq3mxzzj0hqzm8hlq3gfwbf68h7n3rw")))) + (build-system python-build-system) + (propagated-inputs + (list python-multipledispatch python-numpy)) + (home-page "https://github.com/adamlwgriffiths/Pyrr") + (synopsis "Mathematical functions for 3D graphics using NumPy") + (description + "This Python package provides a collection of object-oriented and +procedural interfaces for working with matrices, quaternions, vectors and +plane/line/ray objects for 3D graphics.") + (license license:bsd-2))) + (define-public python-pyglet (package (name "python-pyglet") From patchwork Sat Jan 1 23:51:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35875 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 74C8527BBEA; Sat, 1 Jan 2022 23:54:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 43B3327BBE9 for ; Sat, 1 Jan 2022 23:54:31 +0000 (GMT) Received: from localhost ([::1]:43472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCk-0006k0-EE for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:54:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBN-0005UK-8N for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBM-0008Aj-UJ for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBM-00038S-TS for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 07/12] gnu: Add python-screeninfo. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108115411904 (code B ref 50505); Sat, 01 Jan 2022 23:53:04 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:34 +0000 Received: from localhost ([127.0.0.1]:59597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAr-00035q-Rg for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:34 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:55284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAl-00034q-30 for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:27 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhj4WYgz8SJX; Sun, 2 Jan 2022 00:52:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081141; bh=BL6QBxOo6J45UsKAvj/gZN16DY26WwMRFSwm2JU+i1Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dhb4QRnvzukbzJNt8syNSFPa94m7RbAG9LMIAUy0zJK+NmUKAUeWk5kO60Rl/Hk/F zm8Tlfui0LTNQbGWX1QmOXQUgjt6/96Cv1oX6+F5Xnm46v4DS8zhIWCTAOb5UsNxoO 6924kcrkugTNn5fwd6HAoJCrifwn/SyfztqfdDrw= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhj3h6Xz8SGr; Sun, 2 Jan 2022 00:52:21 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhj2d7Kz8SGZ; Sun, 2 Jan 2022 00:52:21 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhj0lQPzDgxf; Sun, 2 Jan 2022 00:52:21 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:50 +0100 Message-Id: <20220101235155.5754-8-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-screeninfo): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d706d208af..0dbc9db830 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19710,6 +19710,28 @@ (define-public python-pyglet music. All of this with a friendly Pythonic API that's simple to learn.") (license license:bsd-3))) +(define-public python-screeninfo + (package + (name "python-screeninfo") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "screeninfo" version)) + (sha256 + (base32 + "007m7sqv30qak56885dxbijksrg2hd121hfpvg2llm734wspra8j")))) + (build-system python-build-system) + (native-inputs `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/rr-/screeninfo") + (synopsis + "Obtain information about physical screens") + (description + "This python module provides means to access information about physical +screens like resolution, height and width of the screen, connecting port +etc.") + (license (list license:expat license:bsd-3)))) + (define-public python-rencode (package (name "python-rencode") From patchwork Sat Jan 1 23:51:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35877 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 3416027BBEA; Sat, 1 Jan 2022 23:54:48 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 62B8B27BBE9 for ; Sat, 1 Jan 2022 23:54:46 +0000 (GMT) Received: from localhost ([::1]:43956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCz-00074g-Ip for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:54:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBO-0005WV-Bx for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBO-0008BC-3A for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBO-00038o-2V for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 08/12] gnu: Add python-moderngl-window. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108116011955 (code B ref 50505); Sat, 01 Jan 2022 23:53:06 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:40 +0000 Received: from localhost ([127.0.0.1]:59606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAy-00036f-Am for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:40 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:54649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAm-000350-K1 for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:34 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhl13tNz8S8x; Sun, 2 Jan 2022 00:52:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081143; bh=BghhmYt/4rB2N6ToNeLT/nNSgajdtRSWmZw921a5T+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CulM7ZG3zXGKBzdkbg5kj/XNHxCda3vIE2sHjvkC7nUfHSIvPXsswH/EI2vkazMPw irQeHjyANXmQHww6E6z7QBat4xlBs1/RYKTEUu67gVYZldNJK0dI2hlXnAQ8Ptg87P pICH2Sw0LHpSG5cZXHES4yCtkpql2XfO6wgUV2Eo= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhl0Kdhz8S6j; Sun, 2 Jan 2022 00:52:23 +0100 (CET) X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhk6DGCz8S55; Sun, 2 Jan 2022 00:52:22 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhk4G7VzDgyZ; Sun, 2 Jan 2022 00:52:22 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:51 +0100 Message-Id: <20220101235155.5754-9-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-moderngl-window): New variable. --- gnu/local.mk | 1 + .../python-moderngl-window-skip-tests.patch | 146 ++++++++++++++++++ gnu/packages/python-xyz.scm | 44 ++++++ 3 files changed, 191 insertions(+) create mode 100644 gnu/packages/patches/python-moderngl-window-skip-tests.patch diff --git a/gnu/local.mk b/gnu/local.mk index 852f9f3246..ff3e80ea68 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1685,6 +1685,7 @@ dist_patch_DATA = \ %D%/packages/patches/python-magic-python-bytecode.patch \ %D%/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch \ %D%/packages/patches/python-memcached-syntax-warnings.patch \ + %D%/packages/patches/python-moderngl-window-skip-tests.patch \ %D%/packages/patches/python-mox3-python3.6-compat.patch \ %D%/packages/patches/python-typing-inspect-fix.patch \ %D%/packages/patches/python-packaging-test-arch.patch \ diff --git a/gnu/packages/patches/python-moderngl-window-skip-tests.patch b/gnu/packages/patches/python-moderngl-window-skip-tests.patch new file mode 100644 index 0000000000..aee4b71e2a --- /dev/null +++ b/gnu/packages/patches/python-moderngl-window-skip-tests.patch @@ -0,0 +1,146 @@ +Skip failing tests and tests for optional dependencies + +The Python packages pywavefront and trimesh are optional dependencies and not +yet packaged in Guix but the tests try to load the modules anyway. Therefore +skip them. + +The tests test_texture_mimpamps, test_texture_abspath, test_load_texture_2d +and test_load_texture_array fail when Guix builds the package. This is not +the case when running the tests directly from a source tree. + +diff --git a/tests/test_docs.py b/tests/test_docs.py +index e4a38df..99a2aa0 100644 +--- a/tests/test_docs.py ++++ b/tests/test_docs.py +@@ -133,20 +133,11 @@ class TestCase(unittest.TestCase): + + # --- Loaders : Scene --- + +- def test_loaders_wavefront(self): +- self.validate('loaders/wavefront.rst', 'moderngl_window.loaders.scene.wavefront', 'Loader') +- + def test_loaders_gltf(self): + self.validate('loaders/gltf2.rst', 'moderngl_window.loaders.scene.gltf2', 'Loader') + +- def test_loaders_stl(self): +- self.validate('loaders/wavefront.rst', 'moderngl_window.loaders.scene.stl', 'Loader') +- + # --- Loaders : Program --- + +- def test_loader_single(self): +- self.validate('loaders/single.rst', 'moderngl_window.loaders.program.single', 'Loader') +- + def test_loader_separate(self): + self.validate('loaders/separate.rst', 'moderngl_window.loaders.program.separate', 'Loader') + +diff --git a/tests/test_loaders_scene.py b/tests/test_loaders_scene.py +index c577315..2eef889 100644 +--- a/tests/test_loaders_scene.py ++++ b/tests/test_loaders_scene.py +@@ -16,16 +16,6 @@ class SceneLoadersTestCase(HeadlessTestCase): + window_size = (16, 16) + aspect_ratio = 1.0 + +- def test_wavefront(self): +- """Load wavefront file""" +- scene = resources.scenes.load(SceneDescription(path='scenes/crate/crate.obj')) +- self.assertIsInstance(scene, Scene) +- +- def test_wavefont_not_found(self): +- """Ensure ImproperlyConfigured is raised when wavefront is not found""" +- with self.assertRaises(ImproperlyConfigured): +- resources.scenes.load(SceneDescription(path='scenes/doesnotexist.obj')) +- + def test_gltf(self): + """Load standard gltf""" + scene = resources.scenes.load(SceneDescription(path='scenes/BoxTextured/glTF/BoxTextured.gltf')) +@@ -45,7 +35,3 @@ class SceneLoadersTestCase(HeadlessTestCase): + """Attempt to load nonexisting gltf""" + with self.assertRaises(ImproperlyConfigured): + resources.scenes.load(SceneDescription(path='scenes/doesnotexist.gltf')) +- +- def test_stl(self): +- scene = resources.scenes.load(SceneDescription(path='scenes/uplink.stl')) +- self.assertIsInstance(scene, Scene) +diff --git a/tests/test_loaders_texture.py b/tests/test_loaders_texture.py +index fcd4d72..8e13037 100644 +--- a/tests/test_loaders_texture.py ++++ b/tests/test_loaders_texture.py +@@ -55,39 +55,3 @@ class TextureLoadersTestCase(HeadlessTestCase): + kind='cube', + )) + self.assertIsInstance(texture, moderngl.TextureCube) +- +- def test_texture_mimpamps(self): +- """Load texture with mipmapping and anisotropy""" +- desc = TextureDescription( +- path='textures/crate.png', +- mipmap_levels=(0, 2), +- anisotropy=4.0, +- ) +- texture = resources.textures.load(desc) +- self.assertEqual(texture.anisotropy, 4.0) +- self.assertEqual(desc.mipmap, True) +- +- # Texture Array +- desc = TextureDescription( +- path='textures/array.png', +- kind="array", +- layers=10, +- mipmap_levels=(0, 5), +- anisotropy=8.0, +- ) +- texture = resources.textures.load(desc) +- self.assertEqual(texture.anisotropy, 8.0) +- self.assertEqual(desc.mipmap, True) +- +- def test_texture_abspath(self): +- """Strip search directories and use absolute path""" +- path = (Path(__file__).parent / "fixtures/resources/textures/crate.png").resolve() +- with resources.temporary_dirs([]): +- desc = TextureDescription( +- path=path, +- mipmap_levels=(0, 2), +- anisotropy=4.0, +- ) +- texture = resources.textures.load(desc) +- self.assertEqual(texture.anisotropy, 4.0) +- self.assertEqual(desc.mipmap, True) +diff --git a/tests/test_windowconfig.py b/tests/test_windowconfig.py +index 185c36e..2eb6f39 100644 +--- a/tests/test_windowconfig.py ++++ b/tests/test_windowconfig.py +@@ -94,31 +94,6 @@ class WindowConfigTestCase(WindowConfigTestCase): + with self.assertRaises(ValueError): + self.window.resize_func = "Hello" + +- def test_load_texture_2d(self): +- """Load texture with shortcut method""" +- texture = self.config.load_texture_2d( +- "textures/crate.png", +- flip=True, +- mipmap_levels=(0, 2), +- anisotropy=4.0, +- ) +- self.assertIsInstance(texture, moderngl.Texture) +- self.assertEqual(texture.anisotropy, 4.0) +- +- def test_load_texture_array(self): +- """Load texture array with shortcut method""" +- texture = self.config.load_texture_array( +- 'textures/array.png', +- layers=10, +- flip=True, +- mipmap=False, +- mipmap_levels=(0, 2), +- anisotropy=4.0, +- ) +- self.assertIsInstance(texture, moderngl.TextureArray) +- self.assertEqual(texture.anisotropy, 4.0) +- self.assertEqual(texture.layers, 10) +- + def test_load_program_single(self): + """Load a single glsl program""" + prog = self.config.load_program(path='programs/white.glsl') +-- +2.33.0 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0dbc9db830..eee2fc0077 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19710,6 +19710,50 @@ (define-public python-pyglet music. All of this with a friendly Pythonic API that's simple to learn.") (license license:bsd-3))) +(define-public python-moderngl-window + (package + (name "python-moderngl-window") + (version "2.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moderngl/moderngl-window") + (commit version))) + (file-name (git-file-name name version)) + (patches + (search-patches "python-moderngl-window-skip-tests.patch")) + (sha256 + (base32 + "1fvhm6ln3q5kl5m5q3gzfmx1kpyn054fhpcrgpqz8809dxi7pzcv")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-test + (lambda _ + (substitute* '("tests/test_windowconfig.py") + (("terrain_Vs.glsl") "terrain_vs.glsl")))) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "tests" ))))))) + (propagated-inputs + (list python-pillow python-pyrr python-numpy python-moderngl + python-pyglet)) + (native-inputs + (list python-pytest xorg-server-for-tests)) + (home-page "https://github.com/moderngl/moderngl-window") + (synopsis "Cross-platform utility library for ModernGL") + (description "This ModernGL utility library simplifies window creation and +resource loading. You can create a window for ModernGL using pyglet, pygame, +PySide2, GLFW, SDL2, PyQt5 or tkinter. Events are unified into a single event +system. Resource loading includes loading of 2D textures/texture arrays, +shaders and objects/scenes.") + (license license:expat))) + (define-public python-screeninfo (package (name "python-screeninfo") From patchwork Sat Jan 1 23:51:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35876 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 1B36227BBEA; Sat, 1 Jan 2022 23:54:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5E2E027BBE9 for ; Sat, 1 Jan 2022 23:54:38 +0000 (GMT) Received: from localhost ([::1]:43688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oCr-0006sx-Jp for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:54:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBN-0005VV-Lo for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBN-0008Ap-Ab for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBN-00038Z-9F for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 09/12] gnu: Add python-manimpango. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108116011940 (code B ref 50505); Sat, 01 Jan 2022 23:53:05 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:40 +0000 Received: from localhost ([127.0.0.1]:59599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAs-00035x-3Q for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:40 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:55310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAp-00035E-07 for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:31 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhn3tR1z8S68; Sun, 2 Jan 2022 00:52:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081145; bh=q3DF6xd1BziDgdLWPM+dasjZREJStZv2eAtqv1WHnNA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dBM5aKVo8LTfT+4swQrw5APv2Z55blOYU/R58oiZWGlirKhXwPeedJrWHXML0ijuD T2NlzomGmnGrVMrOZslwQJE4Kov+ZXcPnyRkcSiV6P/5OjiEDgg10nbiQgZNSA9IY1 maDQ7yImGj9QnM30g7Gy4tzGvFRdeOwRrLQWJQ70= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhn3GHMz8S5l; Sun, 2 Jan 2022 00:52:25 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhn29n2z8S43; Sun, 2 Jan 2022 00:52:25 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhn09DlzDgyf; Sun, 2 Jan 2022 00:52:25 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:52 +0100 Message-Id: <20220101235155.5754-10-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-manimpango): New variable. --- gnu/local.mk | 2 + .../python-manimpango-remove-manim-dep.patch | 172 ++++++++++++++++++ gnu/packages/python-science.scm | 26 +++ 3 files changed, 200 insertions(+) create mode 100644 gnu/packages/patches/python-manimpango-remove-manim-dep.patch diff --git a/gnu/local.mk b/gnu/local.mk index ff3e80ea68..c5fe7d87b8 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -47,6 +47,7 @@ # Copyright © 2021 Dmitry Polyakov # Copyright © 2021 Andrew Tropin # Copyright © 2021 Simon Tournier +# Copyright © 2021 Daniel Meißner # # This file is part of GNU Guix. # @@ -1683,6 +1684,7 @@ dist_patch_DATA = \ %D%/packages/patches/python-flint-includes.patch \ %D%/packages/patches/python-libxml2-utf8.patch \ %D%/packages/patches/python-magic-python-bytecode.patch \ + %D%/packages/patches/python-manimpango-remove-manim-dep.patch \ %D%/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch \ %D%/packages/patches/python-memcached-syntax-warnings.patch \ %D%/packages/patches/python-moderngl-window-skip-tests.patch \ diff --git a/gnu/packages/patches/python-manimpango-remove-manim-dep.patch b/gnu/packages/patches/python-manimpango-remove-manim-dep.patch new file mode 100644 index 0000000000..579c2302d8 --- /dev/null +++ b/gnu/packages/patches/python-manimpango-remove-manim-dep.patch @@ -0,0 +1,172 @@ +Fix dependency on manim for tests + +This fixes a circular dependency between manim and manimpango. + +Extracted from upstream: +https://github.com/ManimCommunity/ManimPango/commit/7e2b17aa14b10bd58af0598cc2de51a406682797 + +diff --git a/tests/_manim.py b/tests/_manim.py +index 3ea4676..b11d3e9 100644 +--- a/tests/_manim.py ++++ b/tests/_manim.py +@@ -2,11 +2,12 @@ + """This file contains helpers for the tests copied and modified + from Manim. + """ +- ++import copy + import os ++import re + from pathlib import Path + +-from manimpango import Alignment, MarkupUtils ++from manimpango import Alignment, MarkupUtils, TextSetting, text2svg + + + class MarkupText: +@@ -104,3 +105,115 @@ class MarkupText: + + def __repr__(self): + return f"MarkupText({repr(self.original_text)})" ++ ++ ++class Text: ++ def __init__( ++ self, ++ text: str, ++ fill_opacity: float = 1.0, ++ stroke_width: int = 0, ++ size: int = 1, ++ line_spacing: int = -1, ++ font: str = "", ++ slant: str = "NORMAL", ++ weight: str = "NORMAL", ++ gradient: tuple = None, ++ tab_width: int = 4, ++ disable_ligatures: bool = False, ++ filename: str = "text.svg", ++ **kwargs, ++ ) -> None: ++ self.size = size ++ self.filename = filename ++ self.line_spacing = line_spacing ++ self.font = font ++ self.slant = slant ++ self.weight = weight ++ self.gradient = gradient ++ self.tab_width = tab_width ++ self.original_text = text ++ self.disable_ligatures = disable_ligatures ++ text_without_tabs = text ++ self.t2f = self.t2s = self.t2w = {} ++ if text.find("\t") != -1: ++ text_without_tabs = text.replace("\t", " " * self.tab_width) ++ self.text = text_without_tabs ++ if self.line_spacing == -1: ++ self.line_spacing = self.size + self.size * 0.3 ++ else: ++ self.line_spacing = self.size + self.size * self.line_spacing ++ self.text2svg() ++ ++ def text2settings(self): ++ """Internally used function. Converts the texts and styles ++ to a setting for parsing.""" ++ settings = [] ++ t2x = [self.t2f, self.t2s, self.t2w] ++ for i in range(len(t2x)): ++ fsw = [self.font, self.slant, self.weight] ++ if t2x[i]: ++ for word, x in list(t2x[i].items()): ++ for start, end in self.find_indexes(word, self.text): ++ fsw[i] = x ++ settings.append(TextSetting(start, end, *fsw)) ++ # Set all text settings (default font, slant, weight) ++ fsw = [self.font, self.slant, self.weight] ++ settings.sort(key=lambda setting: setting.start) ++ temp_settings = settings.copy() ++ start = 0 ++ for setting in settings: ++ if setting.start != start: ++ temp_settings.append(TextSetting(start, setting.start, *fsw)) ++ start = setting.end ++ if start != len(self.text): ++ temp_settings.append(TextSetting(start, len(self.text), *fsw)) ++ settings = sorted(temp_settings, key=lambda setting: setting.start) ++ ++ if re.search(r"\n", self.text): ++ line_num = 0 ++ for start, end in self.find_indexes("\n", self.text): ++ for setting in settings: ++ if setting.line_num == -1: ++ setting.line_num = line_num ++ if start < setting.end: ++ line_num += 1 ++ new_setting = copy.copy(setting) ++ setting.end = end ++ new_setting.start = end ++ new_setting.line_num = line_num ++ settings.append(new_setting) ++ settings.sort(key=lambda setting: setting.start) ++ break ++ for setting in settings: ++ if setting.line_num == -1: ++ setting.line_num = 0 ++ return settings ++ ++ def text2svg(self): ++ """Internally used function. ++ Convert the text to SVG using Pango ++ """ ++ size = self.size * 10 ++ line_spacing = self.line_spacing * 10 ++ dir_name = Path(self.filename).parent ++ disable_liga = self.disable_ligatures ++ if not os.path.exists(dir_name): ++ os.makedirs(dir_name) ++ file_name = self.filename ++ settings = self.text2settings() ++ width = 600 ++ height = 400 ++ ++ return text2svg( ++ settings, ++ size, ++ line_spacing, ++ disable_liga, ++ file_name, ++ 30, ++ 30, ++ width, ++ height, ++ self.text, ++ ) +diff --git a/tests/test_fonts.py b/tests/test_fonts.py +index 51e7eb4..da42895 100644 +--- a/tests/test_fonts.py ++++ b/tests/test_fonts.py +@@ -3,13 +3,12 @@ import sys + from pathlib import Path + from shutil import copyfile + +-import manim + import pytest + + import manimpango + + from . import FONT_DIR +-from ._manim import MarkupText ++from ._manim import MarkupText, Text + + font_lists = { + (FONT_DIR / "AdobeVFPrototype.ttf").absolute(): "Adobe Variable Font Prototype", +@@ -38,7 +37,7 @@ def test_register_font(font_name): + @pytest.mark.parametrize("font_name", font_lists.values()) + def test_warning(capfd, font_name): + print(font_name) +- manim.Text("Testing", font=font_name) ++ Text("Testing", font=font_name) + captured = capfd.readouterr() + assert "Pango-WARNING **" not in captured.err, "Looks like pango raised a warning?" + +-- +2.32.0 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 65f1dbf014..61628ec956 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -39,6 +39,7 @@ (define-module (gnu packages python-science) #:use-module (gnu packages check) #:use-module (gnu packages databases) #:use-module (gnu packages gcc) + #:use-module (gnu packages gtk) #:use-module (gnu packages image-processing) #:use-module (gnu packages machine-learning) #:use-module (gnu packages maths) @@ -1037,3 +1038,28 @@ (define-public python-modin libraries, Modin provides seamless integration and compatibility with existing pandas code.") (license license:asl2.0))) + +(define-public python-manimpango + (package + (name "python-manimpango") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ManimPango" version)) + (sha256 + (base32 + "1j2mbhf7d82718nkc0r8x7cf35hlh13b67qkczjbbys3w24nyfsw")) + (patches (search-patches "python-manimpango-remove-manim-dep.patch")))) + (build-system python-build-system) + (native-inputs + (list pkg-config python-cython python-pytest)) + (inputs + (list pango)) + (home-page "https://manimpango.manim.community/") + (synopsis + "Bindings for pango for use with Manim") + (description + "These are Python bindings for Pango to be used with the mathematical +animation software Manim.") + (license license:gpl3+))) From patchwork Sat Jan 1 23:51:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35869 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 4610227BBEB; Sat, 1 Jan 2022 23:53:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5D96E27BBEA for ; Sat, 1 Jan 2022 23:53:52 +0000 (GMT) Received: from localhost ([::1]:41930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oC7-0005gG-G6 for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:53:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBO-0005WS-00 for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBN-0008Az-ND for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBN-00038h-MH for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 10/12] gnu: Add python-mapbox-earcut. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108116011948 (code B ref 50505); Sat, 01 Jan 2022 23:53:05 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:40 +0000 Received: from localhost ([127.0.0.1]:59604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAy-00036X-25 for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:40 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:54660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAs-00035U-7R for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:34 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhr5Qpnz8SLk; Sun, 2 Jan 2022 00:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081148; bh=IUy/INH/6Fkb85VasAgOQFdfdDuwwZJRxIsO9yIW3Yk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y1OaD25qEfdClhDhb76zTjMahjkpDM4CKM7AAGe8cED7tcbiqJGRSi6w3k4i2+cwg h15Lqwmk8B1ICQUgAMn/uPbrWMq4V2SfPxf5n4PvQCqX4IBtRjhG500oba4QPtOlsh 0MRLsmtjebHGCNaG+Ro3ZzW9YkRwgMWn0jSWz3fI= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhr4gRLz8SKZ; Sun, 2 Jan 2022 00:52:28 +0100 (CET) X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhr3Vvzz8SKB; Sun, 2 Jan 2022 00:52:28 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhr1YqCzDgxf; Sun, 2 Jan 2022 00:52:28 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:53 +0100 Message-Id: <20220101235155.5754-11-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-mapbox-earcut): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index eee2fc0077..5e43b0ca03 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19754,6 +19754,32 @@ (define-public python-moderngl-window shaders and objects/scenes.") (license license:expat))) +(define-public python-mapbox-earcut + (package + (name "python-mapbox-earcut") + (version "0.12.10") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mapbox_earcut" version)) + (sha256 + (base32 + "0ly48lijgd9inq07x42pfp9c24fn16vn9axpmfwqrkn979krbnah")))) + (build-system python-build-system) + (propagated-inputs + (list python-numpy)) + (native-inputs + (list python-pytest python-wheel python-setuptools-scm cmake)) + (home-page + "https://github.com/skogler/mapbox_earcut_python") + (synopsis + "Python bindings for the Mapbox Earcut C++ polygon triangulation library") + (description + "The Mapbox Earcut library is a header-only C++ library which provides a +fast and robust triangulation of 2D polygons. This package provides Python +bindings for this library.") + (license license:isc))) + (define-public python-screeninfo (package (name "python-screeninfo") From patchwork Sat Jan 1 23:51:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35878 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 89EE727BBEA; Sat, 1 Jan 2022 23:54:53 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5082627BBE9 for ; Sat, 1 Jan 2022 23:54:53 +0000 (GMT) Received: from localhost ([::1]:44554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oD6-0007TV-HF for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:54:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBO-0005Wk-PZ for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBO-0008BI-Gd for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBO-00038v-Fh for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 11/12] gnu: Add python-screeninfo-0.6. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108116111963 (code B ref 50505); Sat, 01 Jan 2022 23:53:06 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:41 +0000 Received: from localhost ([127.0.0.1]:59608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAy-00036m-TC for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:41 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:54671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAu-00035Z-6B for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:36 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJht59PJz8SM5; Sun, 2 Jan 2022 00:52:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081150; bh=62d4oVamHyGzrMAR1CeD+Qsn+U3ESEwIYRE76w5/RbA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZkAEdVG3Q5CIwINyXHiP2HAsjVTXmt7pgSTCEeYDasffGkBPuAwNwbpDe2eFMXA/v qns/9AKHjg8HNhCeRlrn05eKzdo8w+Cy4YU7XTNgE16FfUBmZlPFNkkRZdVH8fst08 v6Kv9vXtm41af9tfhQgolQuncTRbS+QOPl7zHtyE= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJht4HgLz8SJm; Sun, 2 Jan 2022 00:52:30 +0100 (CET) X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJht30Qmz8SM3; Sun, 2 Jan 2022 00:52:30 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJht18vQzDgyZ; Sun, 2 Jan 2022 00:52:30 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:54 +0100 Message-Id: <20220101235155.5754-12-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * (python-screeninfo-0.6): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5e43b0ca03..640edabd23 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19780,19 +19780,19 @@ (define-public python-mapbox-earcut bindings for this library.") (license license:isc))) -(define-public python-screeninfo +(define-public python-screeninfo-0.6 (package (name "python-screeninfo") - (version "0.7") + (version "0.6.7") (source (origin (method url-fetch) (uri (pypi-uri "screeninfo" version)) (sha256 (base32 - "007m7sqv30qak56885dxbijksrg2hd121hfpvg2llm734wspra8j")))) + "1jv9m9xhl7zr2hzfx0w5zyw9pajn4b4zpln4rdl3zni9lcfaqjqw")))) (build-system python-build-system) - (native-inputs `(("python-pytest" ,python-pytest))) + (native-inputs (list python-pytest)) (home-page "https://github.com/rr-/screeninfo") (synopsis "Obtain information about physical screens") @@ -19802,6 +19802,17 @@ (define-public python-screeninfo etc.") (license (list license:expat license:bsd-3)))) +(define-public python-screeninfo + (package/inherit python-screeninfo-0.6 + (version "0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "screeninfo" version)) + (sha256 + (base32 + "007m7sqv30qak56885dxbijksrg2hd121hfpvg2llm734wspra8j")))))) + (define-public python-rencode (package (name "python-rencode") From patchwork Sat Jan 1 23:51:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 35879 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 90FD427BBEA; Sat, 1 Jan 2022 23:55:01 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 10C9427BBE9 for ; Sat, 1 Jan 2022 23:55:01 +0000 (GMT) Received: from localhost ([::1]:44964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oDE-0007m1-7g for patchwork@mira.cbaines.net; Sat, 01 Jan 2022 18:55:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBP-0005XF-6T for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBO-0008BN-Sl for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBO-000393-SA for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 12/12] gnu: Add python-manim 0.9.0. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108116111969 (code B ref 50505); Sat, 01 Jan 2022 23:53:06 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:41 +0000 Received: from localhost ([127.0.0.1]:59610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAz-00036u-49 for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:41 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:54682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAw-00035h-F1 for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:38 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhw72qWz8SM7; Sun, 2 Jan 2022 00:52:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081153; bh=T5ZKPRuvbT8VRjtHOLEAKvSrsgTPsocCJcXryDF6wH8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=upZ9jaiDmoMtRMo1raGZsRRJU0YWuuPAeIfBOngwIDHQVvVWmQ4+zfmFKsZLkXke1 OreWPW6WFy/q3W2+u/3fSzuzjFFGsAKvU6ujQFQ/tEldpOeDYmIFkK0Cz1CkGWmSTT Uv3rlXZNQZx3AGco9SJSPOLxSWeO69fqWMKKwgT8= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhw6MHqz8SKZ; Sun, 2 Jan 2022 00:52:32 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhw50rRz8SKB; Sun, 2 Jan 2022 00:52:32 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhw38FWzDgyf; Sun, 2 Jan 2022 00:52:32 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:55 +0100 Message-Id: <20220101235155.5754-13-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> 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" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-manim): New variable. --- gnu/packages/python-science.scm | 61 +++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 61628ec956..ce451a3d28 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -37,6 +37,7 @@ (define-module (gnu packages python-science) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages databases) #:use-module (gnu packages gcc) #:use-module (gnu packages gtk) @@ -56,6 +57,7 @@ (define-module (gnu packages python-science) #:use-module (gnu packages sphinx) #:use-module (gnu packages statistics) #:use-module (gnu packages time) + #:use-module (gnu packages video) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -1063,3 +1065,62 @@ (define-public python-manimpango "These are Python bindings for Pango to be used with the mathematical animation software Manim.") (license license:gpl3+))) + +(define-public python-manim + (package + (name "python-manim") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "manim" version)) + (sha256 + (base32 + "0ksp57wcy45xkjips5i4wwm690mhbs2dmlcgsbmiwx78mfk4z0r3")))) + (build-system python-build-system) + (arguments '(#:phases + (modify-phases %standard-phases + (add-before 'build 'fix-ffmpeg-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* '("manim/constants.py") + (("FFMPEG_BIN: str = \"ffmpeg") + (string-append "FFMPEG_BIN: str = \"" + (search-input-file inputs "/bin/ffmpeg")))))) + ;; PyPI package contains no tests for manim but the + ;; setup.py test command fails, so remove it + (delete 'check)))) + (propagated-inputs + (list python-click + python-click-default-group + python-cloup-0.7 + python-colour + python-decorator + python-manimpango + python-mapbox-earcut + python-moderngl + python-moderngl-window + python-networkx + python-numpy + python-pillow + python-pycairo + python-pydub + python-pygments + python-requests + python-rich + python-scipy + python-screeninfo-0.6 + python-tqdm + python-watchdog)) + (inputs + (list ffmpeg)) + (native-inputs + (list python-wheel)) + (home-page "https://www.manim.community/") + (synopsis + "Python animation engine for explanatory math videos") + (description + "Manim is a Python library for creating mathematical animations. The +animations are written as Python code which is based on predefined objects. +You can make animations with maths formulas (LaTeX-based), simple shapes, 3D +objects, function graphs and more.") + (license license:expat)))