aboutsummaryrefslogtreecommitdiff
path: root/python/python3-glyphslib/python3-glyphslib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-glyphslib/python3-glyphslib.SlackBuild')
-rw-r--r--python/python3-glyphslib/python3-glyphslib.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/python3-glyphslib/python3-glyphslib.SlackBuild b/python/python3-glyphslib/python3-glyphslib.SlackBuild
index a3a650b7c9..b0a6b82693 100644
--- a/python/python3-glyphslib/python3-glyphslib.SlackBuild
+++ b/python/python3-glyphslib/python3-glyphslib.SlackBuild
@@ -25,11 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-glyphslib
-VERSION=${VERSION:-6.6.5}
+VERSION=${VERSION:-6.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=${SRCNAM:-glyphsLib}
+SRCNAM=${SRCNAM:-glyphslib}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -82,11 +82,11 @@ 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 {} \;
-python3 -m build --wheel --no-isolation
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
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
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTING.md LICENSE README.builder.md README.rst $PKG/usr/doc/$PRGNAM-$VERSION