[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: Add python-glob2.
From: |
Ludovic Courtès |
Subject: |
03/06: gnu: Add python-glob2. |
Date: |
Sun, 20 May 2018 18:13:03 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 1900fa792f1fa64f7a17a87a4414efd424d41d53
Author: Fis Trivial <address@hidden>
Date: Sat May 12 10:44:54 2018 +0000
gnu: Add python-glob2.
* gnu/packages/python.scm (python-glob2, python2-glob2): New variables.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5e2625e..31310ce 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13303,3 +13303,39 @@ generators and Python 3.7's context managers into
Python 3.5.")
manager compatible with @code{asyncio}.")
(license license:asl2.0)))
+(define-public python-glob2
+ (package
+ (name "python-glob2")
+ (version "0.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/miracle2k/python-glob2/archive/"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0ja168f0dz4kbz4m06dm0rd3acaypk6hjx2km541pw22y9s40mag"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (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 the Python
address@hidden://docs.python.org/library/glob.html, built-in glob module} which
+adds:
+
address@hidden
address@hidden The ability to capture the text matched by glob patterns, and
return
+those matches alongside the file names.
address@hidden A recursive @code{**} globbing syntax, akin for example to the
address@hidden option of Bash.
address@hidden The ability to replace the file system functions used, in order
to glob
+on virtual file systems.
address@hidden Compatible with Python 2 and Python 3 (tested with 3.3).
address@hidden itemize
+
+Glob2 currently based on the glob code from Python 3.3.1.")
+ (license license:bsd-2)))
+
+(define-public python2-glob2
+ (package-with-python2 python-glob2))
- branch master updated (d8ac798 -> 5a9dc4a), Ludovic Courtès, 2018/05/20
- 05/06: gnu: linux-libre: Use "make dtbs_install" to install device tree files., Ludovic Courtès, 2018/05/20
- 04/06: gnu: Add vigra-c., Ludovic Courtès, 2018/05/20
- 03/06: gnu: Add python-glob2.,
Ludovic Courtès <=
- 01/06: gnu: Add ghc-semigroupoids-5.2.2., Ludovic Courtès, 2018/05/20
- 02/06: gnu: Add ghc-bytes., Ludovic Courtès, 2018/05/20
- 06/06: gnu: linux-libre: Enable build for aarch64-linux., Ludovic Courtès, 2018/05/20