From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GPvYCcGFwV4KRwAA0tVLHw (envelope-from ) for ; Sun, 17 May 2020 18:43:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mGeWBcGFwV6JOAAAbx9fmQ (envelope-from ) for ; Sun, 17 May 2020 18:43:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AB1959400BF for ; Sun, 17 May 2020 18:43:12 +0000 (UTC) Received: from localhost ([::1]:45020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaOFj-0002vE-Lp for larch@yhetil.org; Sun, 17 May 2020 14:43:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaOFb-0002uQ-0a for guix-patches@gnu.org; Sun, 17 May 2020 14:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaOFa-0008O0-Nb for guix-patches@gnu.org; Sun, 17 May 2020 14:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaOFa-0000lS-Ln for guix-patches@gnu.org; Sun, 17 May 2020 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41366] [PATCH 1/4] gnu: Add python-importmagic. References: <20200517183241.16325-1-rprior@protonmail.com> In-Reply-To: <20200517183241.16325-1-rprior@protonmail.com> Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 May 2020 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41366 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41366@debbugs.gnu.org Received: via spool by 41366-submit@debbugs.gnu.org id=B41366.15897409262841 (code B ref 41366); Sun, 17 May 2020 18:43:02 +0000 Received: (at 41366) by debbugs.gnu.org; 17 May 2020 18:42:06 +0000 Received: from localhost ([127.0.0.1]:44716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaOEg-0000jg-7f for submit@debbugs.gnu.org; Sun, 17 May 2020 14:42:06 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:47412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaOEe-0000j1-P6 for 41366@debbugs.gnu.org; Sun, 17 May 2020 14:42:05 -0400 Date: Sun, 17 May 2020 18:41:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1589740918; bh=GfBY9BTTm7/hg4unSHWqXfezt+0MzAH1K9SVRJ9qHlQ=; h=Date:To:From:Reply-To:Subject:From; b=efL+wwuQKrKRlwmjekRgMTUSAosMhPvFumJHBNwQTtRolNR0rCJ0uJAvipslgc8pM PtKsWAgPQQ97ripqR7weiP1fZCNofXSdqnXqbVti8BGb7GehOhOllSIL/eTSoLmiv0 /Q2PHWDULsVA91Z/ewd+xf1ewqLdxTd7eHNP2UB4= Message-ID: <20200517184142.16603-1-rprior@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ryan Prior , Ryan Prior via Guix-patches From: Ryan Prior via Guix-patches via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=protonmail.com header.s=protonmail header.b=efL+wwuQ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 4.79 X-TUID: EV8H0mvdr5ml * 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 =C2=A9 2020 Lars-Dominik Braun ;;; Copyright =C2=A9 2020 Alex ter Weele ;;; Copyright =C2=A9 2020 Matthew Kraai +;;; Copyright =C2=A9 2020 Ryan Prior ;;; ;;; This file is part of GNU Guix. ;;; @@ -5897,6 +5898,25 @@ need to use the older and less efficient @code{pkg_r= esources} package.") ("python-contextlib2" ,python2-contextlib2-bootstrap) ("python-importlib-resources" ,python2-importlib-resources-bootstra= p)))))) =20 +(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 b= y +finding unresolved symbols in Python code and their corresponding imports.= ") + (license license:bsd-3))) + (define-public python-jaraco-packaging (package (name "python-jaraco-packaging") --=20 2.17.1