From patchwork Thu Jul 8 11:21:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 31231 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 8941A27BC81; Thu, 8 Jul 2021 12:22:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5345827BC78 for ; Thu, 8 Jul 2021 12:22:19 +0100 (BST) Received: from localhost ([::1]:56376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1S6k-0005NO-FD for patchwork@mira.cbaines.net; Thu, 08 Jul 2021 07:22:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1S6V-0005EN-SO for guix-patches@gnu.org; Thu, 08 Jul 2021 07:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1S6U-0005xx-3T for guix-patches@gnu.org; Thu, 08 Jul 2021 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1S6U-0001XX-08 for guix-patches@gnu.org; Thu, 08 Jul 2021 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49464] [PATCH 2/3] gnu: Add python-makefun. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 11:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49464 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49464@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 49464-submit@debbugs.gnu.org id=B49464.16257433175893 (code B ref 49464); Thu, 08 Jul 2021 11:22:01 +0000 Received: (at 49464) by debbugs.gnu.org; 8 Jul 2021 11:21:57 +0000 Received: from localhost ([127.0.0.1]:54434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1S6O-0001Wu-T3 for submit@debbugs.gnu.org; Thu, 08 Jul 2021 07:21:57 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:64468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1S6K-0001Wc-TE for 49464@debbugs.gnu.org; Thu, 08 Jul 2021 07:21:55 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4GLDQL6bstzQk3W; Thu, 8 Jul 2021 13:21:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=MBO0001; t=1625743304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JMnijwSYf+O7CnPecQG/CMXZx/S5wRO6LBQ/4cZmACs=; b=SgtI/u/lNvJMs1QwJaIxcBpAuWrUyhlJJSWnOSxv83u/oxJIyYAaMDmuIGb2HQyMhdt0To C92ASUHSxB/ic6f6ihthxq9a54i1P2FciFm5X1TJ4mwwJGZwcygrXLzIMghhhK0yfEUEze aXc52nAUiJB1jJMgW/yipWN4dEy6xTt2heKSQn/2e8YRWqhWrBXtNXMR7Km5C9aUlLbUep ifZfGHEW3Tm8luwnYP+yenbNZTFuo850dpsOLhOaTMN+K7zbcfwrzRThdZaD61bGN+VwVn 5UvZopz6LugHBOFQaXdw/BouLT/d539OSzLEHFL1i1lrhV77+K7k/8Kwy8EbeQ== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id YvT3dECL2UgD; Thu, 8 Jul 2021 13:21:43 +0200 (CEST) Date: Thu, 8 Jul 2021 16:51:16 +0530 Message-Id: <20210708112117.19368-2-contact@dhruvin.dev> In-Reply-To: <20210708112117.19368-1-contact@dhruvin.dev> References: <20210708111526.18658-1-contact@dhruvin.dev> <20210708112117.19368-1-contact@dhruvin.dev> MIME-Version: 1.0 X-MBO-SPAM-Probability: ** X-Rspamd-Score: 1.89 / 15.00 / 15.00 X-Rspamd-Queue-Id: CAA36183A X-Rspamd-UID: 9bea7d 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: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches X-Patchwork-Original-From: Dhruvin Gandhi via Guix-patches via From: Dhruvin Gandhi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-makefun): New variable. --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f16bff460a..bec63743a7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12852,6 +12852,33 @@ python-xdo for newer bindings.)") (define-public python2-xdo (package-with-python2 python-xdo)) +(define-public python-makefun + (package + (name "python-makefun") + (version "1.11.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "makefun" version)) + (sha256 + (base32 + "1378qarb4m3yvk2w36m8686nbf4bzk8kh6hnhk54z061w9jysgh3")))) + (build-system python-build-system) + (arguments + ;; Tests require too many packages, with circular dependencies. + '(#:tests? #f)) + (native-inputs + `(("python-setuptools-scm" ,python-setuptools-scm))) + (home-page + "https://smarie.github.io/python-makefun/") + (synopsis + "Small library to dynamically create python functions") + (description + "makefun helps you create functions dynamically, with the signature of +your choice. It was largely inspired by decorator and functools, and created +mainly to cover some of their limitations.") + (license license:bsd-3))) + (define-public python-mako (package (name "python-mako")