From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59681) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiiLH-0006B9-Mr for guix-patches@gnu.org; Sat, 21 Dec 2019 12:15:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiiLG-0004qk-Cy for guix-patches@gnu.org; Sat, 21 Dec 2019 12:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42767) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiiLG-0004p1-0t for guix-patches@gnu.org; Sat, 21 Dec 2019 12:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iiiLF-0005a6-QD for guix-patches@gnu.org; Sat, 21 Dec 2019 12:15:01 -0500 Subject: [bug#38554] [PATCH v2 1/3] gnu: Add python-fastentrypoints. References: <660a10a1f02b4818a28dfea58b544956437d4b66.camel@gmail.com> In-Reply-To: <660a10a1f02b4818a28dfea58b544956437d4b66.camel@gmail.com> Resent-Message-ID: Message-ID: <7481e670a26c27596022171e1e562fb2e0f16dd8.camel@gmail.com> From: Jesse Gibbons Content-Type: text/plain; charset="UTF-8" Date: Sat, 21 Dec 2019 10:14:05 -0700 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38554 <38554@debbugs.gnu.org> * gnu/packages/python-xyz.scm (python-fastentrypoints): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 520de4607d..9243272dc9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -68,6 +68,7 @@ ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019 Tanguy Le Carrour ;;; Copyright © 2019 Mădălin Ionel Patrașcu < madalinionel.patrascu@mdc-berlin.de> +;;; Copyright © 2019 Jesse Gibbons ;;; ;;; This file is part of GNU Guix. ;;; @@ -16972,3 +16973,28 @@ as @command{which} and @command{find}. These commands allow automated discovery of what has been installed on an operating system, and where the essential tools are located.") (license license:bsd-3))) + +(define-public python-fastentrypoints + (package + (name "python-fastentrypoints") + (version "0.12") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fastentrypoints" version)) + (sha256 + (base32 + "02s1j8i2dzbpbwgq2a3fiqwm3cnmhii2qzc0k42l0rdxd4a4ya7z")))) + (build-system python-build-system) + (home-page + "https://github.com/ninjaaron/fast-entry_points") + (synopsis + "Makes entry_points specified in setup.py load more quickly") + (description + "Using entry_points in your setup.py makes scripts that start really slowly +because it imports pkg_resources. This package allows such setup scripts to +load entry points more quickly.") + (license license:bsd-3))) + +(define-public python2-fastentrypoints + (package-with-python2 python-fastentrypoints))