aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:15:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:57 +0700
commit264198a83cf31a9bc6e428018290c0e67ea2d7ca (patch)
tree48537e4d7e753708525e4eb8ebb9119f22569281
parentabf420233ad489fc02db3d8fc07fa21240118b28 (diff)
python/pybluez: 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/pybluez/pybluez.SlackBuild2
-rw-r--r--python/pybluez/pybluez.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/pybluez/pybluez.SlackBuild b/python/pybluez/pybluez.SlackBuild
index 44a8f754b4e7..6c92c203ea5e 100644
--- a/python/pybluez/pybluez.SlackBuild
+++ b/python/pybluez/pybluez.SlackBuild
@@ -66,7 +66,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
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/pybluez/pybluez.info b/python/pybluez/pybluez.info
index 27505f8c11d5..9bd390bcd06c 100644
--- a/python/pybluez/pybluez.info
+++ b/python/pybluez/pybluez.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/karulis/pybluez/archive/0.22/pybluez-0.22.tar.gz"
MD5SUM="06f71ca6d4216ace671d5e588ec85887"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-gattlib"
+REQUIRES="python2-gattlib"
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"