diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-03-07 13:05:32 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 09:46:13 +0700 |
commit | f5a4f3d66d30ec936968529200037939cc1249fa (patch) | |
tree | aa304de5ea65c19db858db8c06436f3ce6869888 /python/sge-pygame | |
parent | c250a757dfd312fe321a1d224c029dad9d8e4256 (diff) |
python/sge-pygame: Updated for version 2.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/sge-pygame')
-rw-r--r-- | python/sge-pygame/sge-pygame.SlackBuild | 14 | ||||
-rw-r--r-- | python/sge-pygame/sge-pygame.info | 8 | ||||
-rw-r--r-- | python/sge-pygame/slack-desc | 2 |
3 files changed, 13 insertions, 11 deletions
diff --git a/python/sge-pygame/sge-pygame.SlackBuild b/python/sge-pygame/sge-pygame.SlackBuild index 260541e54dd50..e0459584baf19 100644 --- a/python/sge-pygame/sge-pygame.SlackBuild +++ b/python/sge-pygame/sge-pygame.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sge-pygame -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sge-pygame -VERSION=${VERSION:-1.5} +VERSION=${VERSION:-2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -46,6 +46,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +SRCNAM=sge + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -69,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,7 +81,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 +python3 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/sge-pygame/sge-pygame.info b/python/sge-pygame/sge-pygame.info index 8e906b9c0d044..340a9412189ae 100644 --- a/python/sge-pygame/sge-pygame.info +++ b/python/sge-pygame/sge-pygame.info @@ -1,8 +1,8 @@ PRGNAM="sge-pygame" -VERSION="1.5" -HOMEPAGE="http://stellarengine.nongnu.org" -DOWNLOAD="https://pypi.python.org/packages/42/b5/6070f6a9b39c160af4f0a56408f7519253aeb23c95ed2712bc82116cef2f/sge-pygame-1.5.tar.gz" -MD5SUM="3eae99b23695def7aa478105e393d02e" +VERSION="2.0" +HOMEPAGE="https://python-sge.github.io/" +DOWNLOAD="https://files.pythonhosted.org/packages/6f/6a/125126fa4231f215fd932bcdea83a8a0262dfe54c91d864ecbdcde7820d9/sge-2.0.tar.gz" +MD5SUM="39054614a9526678c948917f5d2c8fad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pygame" diff --git a/python/sge-pygame/slack-desc b/python/sge-pygame/slack-desc index c7104e1c2c9d4..77769d141ba28 100644 --- a/python/sge-pygame/slack-desc +++ b/python/sge-pygame/slack-desc @@ -11,7 +11,7 @@ sge-pygame: sge-pygame: The Stellar Game Engine (abbreviated "SGE", sge-pygame: pronounced as "Sage") is a free 2-D game engine. sge-pygame: -sge-pygame: Homepage: http://stellarengine.nongnu.org +sge-pygame: Homepage: https://python-sge.github.io/ sge-pygame: sge-pygame: sge-pygame: |