aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-08-29 02:35:28 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-03 07:48:41 +0700
commit9f250d9c3aeab66809f786e27fe826937f193d93 (patch)
treed77cba5cf0fb02abe2e55c139389a205b75a29ca
parent3ed871491ea93b8cdd747fd5190a4af2b696c96d (diff)
python/python-scandir: Updated for version 1.3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--python/python-scandir/README12
-rw-r--r--python/python-scandir/python-scandir.SlackBuild8
-rw-r--r--python/python-scandir/python-scandir.info6
-rw-r--r--python/python-scandir/slack-desc2
4 files changed, 14 insertions, 14 deletions
diff --git a/python/python-scandir/README b/python/python-scandir/README
index 7fcbf2782f6d8..ae8005a62cfd8 100644
--- a/python/python-scandir/README
+++ b/python/python-scandir/README
@@ -1,13 +1,13 @@
scandir, a better directory iterator and faster os.walk()
-scandir() is a generator version of os.listdir() that returns
-an iterator over files in a directory, and also exposes the
-extra information most OSes provide while iterating files in a
+scandir() is a generator version of os.listdir() that returns
+an iterator over files in a directory, and also exposes the
+extra information most OSes provide while iterating files in a
directory (such as type and stat information).
-This module also includes a version of os.walk() that uses
+This module also includes a version of os.walk() that uses
scandir() to speed it up significantly.
-NOTE: If you’re using Python version 3.5+, os.scandir() and the
-speed improvements to os.walk() are already available in the
+NOTE: If you’re using Python version 3.5+, os.scandir() and the
+speed improvements to os.walk() are already available in the
standard library.
diff --git a/python/python-scandir/python-scandir.SlackBuild b/python/python-scandir/python-scandir.SlackBuild
index 1eae12645958b..bbaa7ce5cba12 100644
--- a/python/python-scandir/python-scandir.SlackBuild
+++ b/python/python-scandir/python-scandir.SlackBuild
@@ -24,13 +24,13 @@
PRGNAM=python-scandir
SRCNAM=$(echo $PRGNAM | cut -c8-15)
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/python/python-scandir/python-scandir.info b/python/python-scandir/python-scandir.info
index 027dfdd551f24..e083706a5ed09 100644
--- a/python/python-scandir/python-scandir.info
+++ b/python/python-scandir/python-scandir.info
@@ -1,8 +1,8 @@
PRGNAM="python-scandir"
-VERSION="1.2"
+VERSION="1.3"
HOMEPAGE="https://github.com/benhoyt/scandir"
-DOWNLOAD="https://pypi.python.org/packages/source/s/scandir/scandir-1.2.tar.gz"
-MD5SUM="3a317b482128e072f6cfb3bb2ce52e06"
+DOWNLOAD="https://pypi.python.org/packages/b1/73/493f392cd7e1549361e7727f75dea1c9f3a627350973018857578c8c5598/scandir-1.3.tar.gz"
+MD5SUM="e7a59e446dad6a1abdbed3c236f12871"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/python/python-scandir/slack-desc b/python/python-scandir/slack-desc
index 74c9308f89ac6..1a7e478212e1e 100644
--- a/python/python-scandir/slack-desc
+++ b/python/python-scandir/slack-desc
@@ -9,7 +9,7 @@
python-scandir: python-scandir (directory iterator)
python-scandir:
python-scandir: scandir, a better directory iterator and faster os.walk().
-python-scandir: scandir() is a generator version of os.listdir() that returns an
+python-scandir: scandir() is a generator version of os.listdir() that returns an
python-scandir: iterator over files in a directory, and also exposes the extra
python-scandir: information most OSes provide while iterating files in a directory
python-scandir: (such as type and stat information).