mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: python-scandir: Update to 1.7.
* gnu/packages/python.scm (python-scandir): Update to 1.7. [description]: Mention that the Python3 variant is obsolete.
This commit is contained in:
parent
ea3f45a5a0
commit
71a2d4176b
1 changed files with 5 additions and 3 deletions
|
@ -11083,13 +11083,13 @@ (define-public python2-levenshtein
|
||||||
(define-public python-scandir
|
(define-public python-scandir
|
||||||
(package
|
(package
|
||||||
(name "python-scandir")
|
(name "python-scandir")
|
||||||
(version "1.4")
|
(version "1.7")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "scandir" version))
|
(uri (pypi-uri "scandir" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0yjrgp0mxp3d8bjkq2m1ac2ys8n76wykksvgyjrnil9gr3fx7a5d"))))
|
(base32 "0gbnhjzg42rj87ljv9kb648rfxph69ly3c8r9841dxy4d7l5pmdj"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page "https://github.com/benhoyt/scandir")
|
(home-page "https://github.com/benhoyt/scandir")
|
||||||
(synopsis "Directory iteration function")
|
(synopsis "Directory iteration function")
|
||||||
|
@ -11098,7 +11098,9 @@ (define-public python-scandir
|
||||||
returning a list of bare filenames, it yields DirEntry objects that include
|
returning a list of bare filenames, it yields DirEntry objects that include
|
||||||
file type and stat information along with the name. Using scandir() increases
|
file type and stat information along with the name. Using scandir() increases
|
||||||
the speed of os.walk() by 2-20 times (depending on the platform and file
|
the speed of os.walk() by 2-20 times (depending on the platform and file
|
||||||
system) by avoiding unnecessary calls to os.stat() in most cases.")
|
system) by avoiding unnecessary calls to os.stat() in most cases.
|
||||||
|
|
||||||
|
This package is part of the Python standard library since version 3.5.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-scandir
|
(define-public python2-scandir
|
||||||
|
|
Loading…
Reference in a new issue