diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2024-09-10 23:12:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-11 00:23:53 +0700 |
commit | 6b1c8d7212d2542ed354cb2d9a988d76b9859d52 (patch) | |
tree | 6c22bb2050fb29d84b3fa1d7e07aebca836972f4 /python/freetype-py | |
parent | 6ea3fa5187bc4ecbd0d88c592053c4ce8b42a866 (diff) | |
download | slackbuilds-6b1c8d7212d2542ed354cb2d9a988d76b9859d52.tar.gz slackbuilds-6b1c8d7212d2542ed354cb2d9a988d76b9859d52.tar.xz |
python/freetype-py: Updated for version 2.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/freetype-py')
-rw-r--r-- | python/freetype-py/changelog | 6 | ||||
-rw-r--r-- | python/freetype-py/freetype-py.SlackBuild | 22 | ||||
-rw-r--r-- | python/freetype-py/freetype-py.info | 8 |
3 files changed, 11 insertions, 25 deletions
diff --git a/python/freetype-py/changelog b/python/freetype-py/changelog deleted file mode 100644 index 74d2604464..0000000000 --- a/python/freetype-py/changelog +++ /dev/null @@ -1,6 +0,0 @@ -Changelog for freetype-py SlackBuild Script --------------------------------------------------------------------- - -10/06/2023: - -submitted to SlackBuilds.org diff --git a/python/freetype-py/freetype-py.SlackBuild b/python/freetype-py/freetype-py.SlackBuild index 7347e9a4ca..785740ae68 100644 --- a/python/freetype-py/freetype-py.SlackBuild +++ b/python/freetype-py/freetype-py.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for freetype-py -# Copyright 2023 Vijay Marcel +# Copyright 2023-2024 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=freetype-py -VERSION=${VERSION:-2.4.0} +VERSION=${VERSION:-2.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -82,20 +79,15 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; export SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} - python3 -m build --wheel --skip-dependency-check --no-isolation -PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python3 -m installer --destdir="$PKG" dist/*.whl - -cd doc -make singlehtml -cd .. +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 LICENSE.txt README.rst NOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/_build/* $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION +cp -av LICENSE.txt README.rst NOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -av doc examples $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+ diff --git a/python/freetype-py/freetype-py.info b/python/freetype-py/freetype-py.info index f3b4bc1298..d5e5506963 100644 --- a/python/freetype-py/freetype-py.info +++ b/python/freetype-py/freetype-py.info @@ -1,10 +1,10 @@ PRGNAM="freetype-py" -VERSION="2.4.0" +VERSION="2.5.1" HOMEPAGE="https://github.com/rougier/freetype-py" -DOWNLOAD="https://github.com/rougier/freetype-py/archive/v2.4.0/freetype-py-2.4.0.tar.gz" -MD5SUM="74f8356993d6496216afcd6adf0d0a8d" +DOWNLOAD="https://github.com/rougier/freetype-py/archive/v2.5.1/freetype-py-2.5.1.tar.gz" +MD5SUM="8d78d77df035d5133473be4a3125e09b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="Sphinx sphinx-rtd-theme" +REQUIRES="python3-build python3-wheel" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" |