From patchwork Thu Jul 8 12:23:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 31234 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 97D5327BC81; Thu, 8 Jul 2021 13:26:53 +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 50BC027BC78 for ; Thu, 8 Jul 2021 13:26:53 +0100 (BST) Received: from localhost ([::1]:34172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1T7E-0005tj-65 for patchwork@mira.cbaines.net; Thu, 08 Jul 2021 08:26:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1T5T-0004JG-Rj for guix-patches@gnu.org; Thu, 08 Jul 2021 08:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1T5T-0007r9-EZ for guix-patches@gnu.org; Thu, 08 Jul 2021 08:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1T5T-0005I9-0M for guix-patches@gnu.org; Thu, 08 Jul 2021 08:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49464] [PATCH v2 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 12:25:02 +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.162574707320274 (code B ref 49464); Thu, 08 Jul 2021 12:25:02 +0000 Received: (at 49464) by debbugs.gnu.org; 8 Jul 2021 12:24:33 +0000 Received: from localhost ([127.0.0.1]:54517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1T4z-0005Gq-C4 for submit@debbugs.gnu.org; Thu, 08 Jul 2021 08:24:33 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:42710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1T4n-0005G3-KA for 49464@debbugs.gnu.org; Thu, 08 Jul 2021 08:24:22 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1: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-201.mailbox.org (Postfix) with ESMTPS id 4GLFpR4QXpzQk25; Thu, 8 Jul 2021 14:24:15 +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=1625747053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g3IPtUGQNYFAkAk3Y+q8FiFrvl5DepqjiccCzeZfNn8=; b=DiDsHKGouv0qFmYlWimOO5a/8A28T3zZ+Wm59OFXyAMlNcu72uPEQ5iPMEYyvPfalRVMvn NVEGOKLm/bsLvLT5ErygpCGghEaahLeO3CMXXWa/IIEkB7Pse+E+i8wyEA+ZCBJDb30DF8 gz80N32iYfD+JqYJbWnCBEWQbMy+sBrD259QMN2S+YnNqpXJTv7ZAU0464h3ERQnnG9S47 p/xqwto3i989pb4+BDkGx9S5ZMNo0xsU+8JbuPwDtuJhLzQXuAZ6bpQvtyRZ1U2SOjE9v/ 8YclfYb5VJnDdjir1VxOe5i7m2QZD9SfFM/hStAdS9K6tN5K2JhZfpC+qPPmNg== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id 5eDt2oX1uQ8W; Thu, 8 Jul 2021 14:24:12 +0200 (CEST) Date: Thu, 8 Jul 2021 17:53:19 +0530 Message-Id: <20210708122320.23196-3-contact@dhruvin.dev> In-Reply-To: <20210708122320.23196-1-contact@dhruvin.dev> References: <20210708111526.18658-1-contact@dhruvin.dev> <20210708122320.23196-1-contact@dhruvin.dev> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -2.11 / 15.00 / 15.00 X-Rspamd-Queue-Id: 8536318AD X-Rspamd-UID: 00eac9 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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f16bff460a..87f81687ff 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -103,6 +103,7 @@ ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 jgart ;;; Copyright © 2021 Danial Behzadi +;;; Copyright © 2021 Dhruvin Gandhi ;;; ;;; This file is part of GNU Guix. ;;; @@ -12852,6 +12853,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, some 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 + "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")