diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-06 17:11:13 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-08 01:41:47 +0700 |
commit | 2736c86213709c55205311ac6b56905d1315b6db (patch) | |
tree | a0650dbe3663e9292b1678ed370aca559fdc55a2 /python/python-cheetah | |
parent | fd743313af52c72de96b367b50e3d2ec9808cfd1 (diff) | |
download | slackbuilds-2736c86213709c55205311ac6b56905d1315b6db.tar.gz |
python/python-cheetah: Renamed python2-cheetah.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-cheetah')
-rw-r--r-- | python/python-cheetah/README | 5 | ||||
-rw-r--r-- | python/python-cheetah/python-cheetah.SlackBuild | 73 | ||||
-rw-r--r-- | python/python-cheetah/python-cheetah.info | 10 | ||||
-rw-r--r-- | python/python-cheetah/slack-desc | 19 |
4 files changed, 0 insertions, 107 deletions
diff --git a/python/python-cheetah/README b/python/python-cheetah/README deleted file mode 100644 index f2276cedb2..0000000000 --- a/python/python-cheetah/README +++ /dev/null @@ -1,5 +0,0 @@ -Cheetah is an open source template engine and code generation tool, -written in Python. It can be used standalone or combined with other -tools and frameworks. Web development is its principle use, but Cheetah -is very flexible and is also being used to generate C++ game code, Java, -sql, form emails and even Python code. diff --git a/python/python-cheetah/python-cheetah.SlackBuild b/python/python-cheetah/python-cheetah.SlackBuild deleted file mode 100644 index 48277b8530..0000000000 --- a/python/python-cheetah/python-cheetah.SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# Slackware build script for python-cheetah - -# Written by Nikos Skalkotos (skalkoto@gmail.com) - -PRGNAM="python-cheetah" -VERSION=${VERSION:-2.4.4} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=Cheetah - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -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 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -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 - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES LICENSE TODO PKG-INFO README.markdown\ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - diff --git a/python/python-cheetah/python-cheetah.info b/python/python-cheetah/python-cheetah.info deleted file mode 100644 index 56044a6bab..0000000000 --- a/python/python-cheetah/python-cheetah.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="python-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" -MD5SUM="853917116e731afbc8c8a43c37e6ddba" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Nikos Skalkotos" -EMAIL="skalkoto@gmail.com" diff --git a/python/python-cheetah/slack-desc b/python/python-cheetah/slack-desc deleted file mode 100644 index 9d26e930ae..0000000000 --- a/python/python-cheetah/slack-desc +++ /dev/null @@ -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: |