aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:15:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:57 +0700
commitabf420233ad489fc02db3d8fc07fa21240118b28 (patch)
treea1dfce2eb9118a487afb5328fae88e25fe685003
parent23b2d8945405857d2ef5b8191aa99a6c22762e73 (diff)
python/pathlib2: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/pathlib2/README6
-rw-r--r--python/pathlib2/pathlib2.SlackBuild2
-rw-r--r--python/pathlib2/pathlib2.info2
3 files changed, 5 insertions, 5 deletions
diff --git a/python/pathlib2/README b/python/pathlib2/README
index 8630108f29e0..4ae19c8621d4 100644
--- a/python/pathlib2/README
+++ b/python/pathlib2/README
@@ -1,4 +1,4 @@
The old pathlib module on bitbucket is in bugfix-only mode. The goal of
-pathlib2 is to provide a backport of standard pathlib module which tracks the
-standard library module, so all the newest features of the standard pathlib
-can be used also on older Python versions.
+pathlib2 is to provide a backport of standard pathlib module which
+tracks the standard library module, so all the newest features of the
+standard pathlib can be used also on older Python versions.
diff --git a/python/pathlib2/pathlib2.SlackBuild b/python/pathlib2/pathlib2.SlackBuild
index 82ca2635bd58..1619a30e0cc2 100644
--- a/python/pathlib2/pathlib2.SlackBuild
+++ b/python/pathlib2/pathlib2.SlackBuild
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
# Python 3 support.
if $(python3 -c 'import sys' 2>/dev/null); then
diff --git a/python/pathlib2/pathlib2.info b/python/pathlib2/pathlib2.info
index 9d3f21cc1fe2..db60f73d69c1 100644
--- a/python/pathlib2/pathlib2.info
+++ b/python/pathlib2/pathlib2.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/db/a8/7d6439c1aec525ed70810abe
MD5SUM="fd76fb5d0baa798bfe12fb7965da97f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-scandir"
+REQUIRES="python2-scandir"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"