Wed Feb 22 12:58:20 2017 UTC ()
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.
(wiz)
diff -r0 -r1.1 pkgsrc/devel/py-scandir/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-scandir/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-scandir/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-scandir/distinfo
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.
# $NetBSD: Makefile,v 1.1 2017/02/22 12:58:20 wiz Exp $
DISTNAME= scandir-1.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/scandir/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/scandir
COMMENT= Better directory iterator and faster os.walk()
LICENSE= modified-bsd
PYTHON_VERSIONS_ACCEPTED= 34 27 # included in 3.5+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2017/02/22 12:58:20 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/_scandir.so
${PYSITELIB}/scandir.py
${PYSITELIB}/scandir.pyc
${PYSITELIB}/scandir.pyo
$NetBSD: distinfo,v 1.1 2017/02/22 12:58:20 wiz Exp $
SHA1 (scandir-1.5.tar.gz) = d1f7c7ed770ab7bfd9464e0d9e082ce0274c3eb6
RMD160 (scandir-1.5.tar.gz) = 92bd0d11b156283c44b88206f0f345df8252c03f
SHA512 (scandir-1.5.tar.gz) = e6535e92011cc2c5f888ddd083a9dc48921609fd59d9bf9a4bcd596c055dc0510d48f6d3571605bbade3bd0e232e8bae94b44b20ba935e7ffdeec268ba3d2ee4
Size (scandir-1.5.tar.gz) = 29351 bytes