From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKVkJ-0002D8-IH for guix-patches@gnu.org; Sun, 20 May 2018 17:20:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKVkI-0008He-H6 for guix-patches@gnu.org; Sun, 20 May 2018 17:20:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKVkI-0008HK-Dn for guix-patches@gnu.org; Sun, 20 May 2018 17:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKVkI-0001Cp-3K for guix-patches@gnu.org; Sun, 20 May 2018 17:20:02 -0400 Subject: bug#31428: [PATCH] gnu: Add python-glob2. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180512101418.GA2009@jurong> Date: Sun, 20 May 2018 23:19:04 +0200 In-Reply-To: (Fis Trivial's message of "Sat, 12 May 2018 10:44:54 +0000") Message-ID: <87in7im3ef.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: Fis Trivial Cc: 31428-done@debbugs.gnu.org --=-=-= Content-Type: text/plain Fis Trivial skribis: > * gnu/packages/python.scm (python-glob2, python2-glob2): New variables. Applied with the changes below, thanks! Ludo'. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8e8a0d788..31310ce75 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13320,18 +13320,20 @@ manager compatible with @code{asyncio}.") (build-system python-build-system) (home-page "https://github.com/miracle2k/python-glob2/") (synopsis "Extended Version of the python buildin glob module") - (description "This is an extended version of Python's builtin glob module -@url{http://docs.python.org/library/glob.html} which adds: + (description "This is an extended version of the Python +@url{http://docs.python.org/library/glob.html, built-in glob module} which +adds: @itemize @item The ability to capture the text matched by glob patterns, and return -those matches alongside the filenames. -@item A recursive @code{**} globbing syntax, akin for example to the globstar -option of the bash shell. -@item The ability to replace the filesystem functions used, in order to glob -on virtual filesystems. +those matches alongside the file names. +@item A recursive @code{**} globbing syntax, akin for example to the +@code{globstar} option of Bash. +@item The ability to replace the file system functions used, in order to glob +on virtual file systems. @item Compatible with Python 2 and Python 3 (tested with 3.3). @end itemize + Glob2 currently based on the glob code from Python 3.3.1.") (license license:bsd-2))) --=-=-=--