pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-scandir



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Feb 22 12:58:20 UTC 2017

Added Files:
        pkgsrc/devel/py-scandir: DESCR Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-scandir/DESCR \
    pkgsrc/devel/py-scandir/Makefile pkgsrc/devel/py-scandir/PLIST \
    pkgsrc/devel/py-scandir/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-scandir/DESCR
diff -u /dev/null pkgsrc/devel/py-scandir/DESCR:1.1
--- /dev/null   Wed Feb 22 12:58:20 2017
+++ pkgsrc/devel/py-scandir/DESCR       Wed Feb 22 12:58:20 2017
@@ -0,0 +1,6 @@
+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.
Index: pkgsrc/devel/py-scandir/Makefile
diff -u /dev/null pkgsrc/devel/py-scandir/Makefile:1.1
--- /dev/null   Wed Feb 22 12:58:20 2017
+++ pkgsrc/devel/py-scandir/Makefile    Wed Feb 22 12:58:20 2017
@@ -0,0 +1,16 @@
+# $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@localhost
+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"
Index: pkgsrc/devel/py-scandir/PLIST
diff -u /dev/null pkgsrc/devel/py-scandir/PLIST:1.1
--- /dev/null   Wed Feb 22 12:58:20 2017
+++ pkgsrc/devel/py-scandir/PLIST       Wed Feb 22 12:58:20 2017
@@ -0,0 +1,9 @@
+@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
Index: pkgsrc/devel/py-scandir/distinfo
diff -u /dev/null pkgsrc/devel/py-scandir/distinfo:1.1
--- /dev/null   Wed Feb 22 12:58:20 2017
+++ pkgsrc/devel/py-scandir/distinfo    Wed Feb 22 12:58:20 2017
@@ -0,0 +1,6 @@
+$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



Home | Main Index | Thread Index | Old Index