Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id A03CC7A0C4 for ; Wed, 22 Feb 2017 12:58:21 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 55028855F3; Wed, 22 Feb 2017 12:58:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DA8BE85596 for ; Wed, 22 Feb 2017 12:58:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id PaU_-zcEChXw for ; Wed, 22 Feb 2017 12:58:20 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5DD2A84CEE for ; Wed, 22 Feb 2017 12:58:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5BD59FBE4; Wed, 22 Feb 2017 12:58:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1487768300250450" MIME-Version: 1.0 Date: Wed, 22 Feb 2017 12:58:20 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-scandir To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170222125820.5BD59FBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1487768300250450 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1487768300250450 Content-Disposition: inline Content-Length: 2451 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1487768300250450--