unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Dhruvin Gandhi via Guix-patches via <guix-patches@gnu.org>
To: 49464@debbugs.gnu.org
Cc: Dhruvin Gandhi <contact@dhruvin.dev>
Subject: [bug#49464] [PATCH v2 2/3] gnu: Add python-makefun.
Date: Thu,  8 Jul 2021 17:53:19 +0530	[thread overview]
Message-ID: <20210708122320.23196-3-contact@dhruvin.dev> (raw)
In-Reply-To: <20210708122320.23196-1-contact@dhruvin.dev>

* 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 <rg@raghavgururajan.name>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Danial Behzadi <dani.behzi@ubuntu.com>
+;;; Copyright © 2021 Dhruvin Gandhi <contact@dhruvin.dev>
 ;;;
 ;;; 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")
-- 
2.32.0





  parent reply	other threads:[~2021-07-08 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 11:15 [bug#49464] [PATCH 0/3] Update yubikey-manager to version 4.0.3 Dhruvin Gandhi via Guix-patches via
2021-07-08 11:21 ` [bug#49464] [PATCH 1/3] gnu: python-fido2: Update to 0.9.1 Dhruvin Gandhi via Guix-patches via
2021-07-08 11:21   ` [bug#49464] [PATCH 2/3] gnu: Add python-makefun Dhruvin Gandhi via Guix-patches via
2021-07-08 11:21   ` [bug#49464] [PATCH 3/3] gnu: python-yubikey-manager: Update to 4.0.3 Dhruvin Gandhi via Guix-patches via
2021-07-08 12:23 ` [bug#49464] [PATCH v2 0/3] With updated copyright and lint suggestions Dhruvin Gandhi via Guix-patches via
2021-07-08 12:23   ` [bug#49464] [PATCH v2 1/3] gnu: python-fido2: Update to 0.9.1 Dhruvin Gandhi via Guix-patches via
2021-07-08 12:23   ` Dhruvin Gandhi via Guix-patches via [this message]
2021-07-08 12:23   ` [bug#49464] [PATCH v2 3/3] gnu: python-yubikey-manager: Update to 4.0.3 Dhruvin Gandhi via Guix-patches via
2023-08-07 18:11     ` bug#49464: [PATCH 0/3] Update yubikey-manager to version 4.0.3 Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210708122320.23196-3-contact@dhruvin.dev \
    --to=guix-patches@gnu.org \
    --cc=49464@debbugs.gnu.org \
    --cc=contact@dhruvin.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).