all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ryan Prior via Guix-patches via <guix-patches@gnu.org>
To: 41366@debbugs.gnu.org
Subject: [bug#41366] [PATCH 1/4] gnu: Add python-importmagic.
Date: Sun, 17 May 2020 18:41:48 +0000	[thread overview]
Message-ID: <20200517184142.16603-1-rprior@protonmail.com> (raw)
In-Reply-To: <20200517183241.16325-1-rprior@protonmail.com>

* gnu/packages/python-xyz.el (python-importmagic): New variable.
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c26a766d64..131d8c6d35 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -77,6 +77,7 @@
 ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
 ;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com>
 ;;; Copyright © 2020 Matthew Kraai <kraai@ftbfs.org>
+;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5897,6 +5898,25 @@ need to use the older and less efficient @code{pkg_resources} package.")
        ("python-contextlib2" ,python2-contextlib2-bootstrap)
        ("python-importlib-resources" ,python2-importlib-resources-bootstrap))))))
 
+(define-public python-importmagic
+  (package
+    (name "python-importmagic")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "importmagic" version))
+       (sha256
+        (base32
+         "1n7qxa1snj06aw45mcfz7bxc46zp7fxj687140g2k6jcnyjmfxrz"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/alecthomas/importmagic")
+    (synopsis "Library for adding, removing and managing Python imports")
+    (description
+     "Importmagic is a Python library for automatically managing imports by
+finding unresolved symbols in Python code and their corresponding imports.")
+    (license license:bsd-3)))
+
 (define-public python-jaraco-packaging
   (package
     (name "python-jaraco-packaging")
-- 
2.17.1






  reply	other threads:[~2020-05-17 18:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 18:32 [bug#41366] [PATCH 0/4] Add Importmagic Ryan Prior via Guix-patches via
2020-05-17 18:41 ` Ryan Prior via Guix-patches via [this message]
2020-05-17 18:41   ` [bug#41366] [PATCH 2/4] gnu: Add python-sexpdata Ryan Prior via Guix-patches via
2020-05-17 18:41   ` [bug#41366] [PATCH 3/4] gnu: Add python-epc Ryan Prior via Guix-patches via
2020-05-17 18:42   ` [bug#41366] [PATCH 4/4] gnu: Add emacs-importmagic Ryan Prior via Guix-patches via
2020-05-23 19:02     ` Marius Bakke
2020-05-23 19:27       ` Ryan Prior via Guix-patches via
2020-05-23 20:00         ` Nicolas Goaziou
2020-05-23 20:41           ` Ryan Prior via Guix-patches via
2020-05-23 21:12             ` Marius Bakke
2020-05-23 21:18               ` Ryan Prior via Guix-patches via

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

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

  git send-email \
    --in-reply-to=20200517184142.16603-1-rprior@protonmail.com \
    --to=guix-patches@gnu.org \
    --cc=41366@debbugs.gnu.org \
    --cc=rprior@protonmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.