python/pybluez: Fix REQUIRES for python2.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-06 18:15:08 +01:00 committed by Willy Sudiarto Raharjo
parent abf420233a
commit 264198a83c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"