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>
This commit is contained in:
Dimitris Zlatanidis 2022-03-07 13:05:32 +02:00 committed by Willy Sudiarto Raharjo
parent c250a757df
commit f5a4f3d66d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 13 additions and 11 deletions

View file

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

View file

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

View file

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