./devel/py-scandir, Better directory iterator and faster os.walk()

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.10.0, Package name: py27-scandir-1.10.0, Maintainer: pkgsrc-users

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 to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 460c739b514872233c573dded3490718348ec820
RMD160: e2380a39b8e1d7f65a81bb89c1eabd12c79a32e1
Filesize: 32.53 KB

Version history: (Expand)


CVS history: (Expand)


   2019-04-26 12:30:33 by Roy Marples | Files touched by this commit (1)
Log message:
Wave bye-bye to python 34
   2019-03-26 00:09:18 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-scandir: update to 1.10.0.

Changes not found.
   2018-08-23 13:31:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-scandir: updated to 1.9.0

1.9.0:
Fix build on Python 2.7.
Fix dirent struct alignment on OpenBSD

1.8:
Mark C extension as optional for things like Jython.
   2018-02-25 21:00:00 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-scandir: update to 1.7.

Changes not found.
   2017-10-04 14:25:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-scandir: update to 1.6

Version 1.6:
* Fixed 11: inode should be unsigned
* Fixed unicode handling on PyPy due to Py_FileSystemDefaultEncoding always \ 
being NULL there
* Improve tests on PyPy and Windows
* Add Travis and Appveyor CI testing
   2017-02-22 13:58:20 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py-scandir-1.5 as devel/py-scandir.

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.