python/python-cheetah: Renamed python2-cheetah.

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 17:11:13 +01:00 committed by Willy Sudiarto Raharjo
parent fd743313af
commit 2736c86213
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
5 changed files with 25 additions and 25 deletions

View File

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
python-cheetah: python-cheetah (Python-Powered Template Engine)
python-cheetah:
python-cheetah: Cheetah is an open source template engine and code generation tool,
python-cheetah: written in Python. It can be used standalone or combined with other
python-cheetah: tools and frameworks. Web development is its principle use, but
python-cheetah: Cheetah is very flexible and is also being used to generate C++ game
python-cheetah: code, Java, sql, form emails and even Python code.
python-cheetah:
python-cheetah: Homepage: http://www.cheetahtemplate.org/
python-cheetah:
python-cheetah:

View File

@ -4,7 +4,7 @@
# Written by Nikos Skalkotos (skalkoto@gmail.com)
PRGNAM="python-cheetah"
PRGNAM=python2-cheetah
VERSION=${VERSION:-2.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -13,7 +13,7 @@ SRCNAM=Cheetah
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -54,7 +54,7 @@ find -L . \
\( -perm 666 -o -perm 664 -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

@ -1,4 +1,4 @@
PRGNAM="python-cheetah"
PRGNAM="python2-cheetah"
VERSION="2.4.4"
HOMEPAGE="http://www.cheetahtemplate.org/"
DOWNLOAD="https://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz"

View File

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
python2-cheetah: python2-cheetah (Python-Powered Template Engine)
python2-cheetah:
python2-cheetah: Cheetah is an open source template engine and code generation tool,
python2-cheetah: written in Python. It can be used standalone or combined with other
python2-cheetah: tools and frameworks. Web development is its principle use, but
python2-cheetah: Cheetah is very flexible and is also being used to generate C++ game
python2-cheetah: code, Java, sql, form emails and even Python code.
python2-cheetah:
python2-cheetah: Homepage: http://www.cheetahtemplate.org/
python2-cheetah:
python2-cheetah: