dev-python/scandir: new package.
authorMarius Brehler <marbre@linux.sungazer.de>
Tue, 25 Jul 2017 07:32:21 +0000 (09:32 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 25 Jul 2017 22:34:26 +0000 (00:34 +0200)
commit21ed8befb71cb458f7a1e15738042d69dda8cddc
tree2aad66203f5778d27056948d741db839638044c0
parent61e7f2fa40106c4af4cfddcc8d9ff9f8a52f95b9
dev-python/scandir: new package.

A better directory iterator and faster os.walk().

scandir() is a directory iteration function like os.listdir(), except that
instead of returning a list of bare filenames, it yields DirEntry objects that
include 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 system) by avoiding unnecessary calls to os.stat() in most cases.

Required by dev-python/pathlib2[python2_7,python3_4].

Gentoo-Bug: https://bugs.gentoo.org/626120

Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5207
dev-python/scandir/Manifest [new file with mode: 0644]
dev-python/scandir/metadata.xml [new file with mode: 0644]
dev-python/scandir/scandir-1.5.ebuild [new file with mode: 0644]