python/decorator: Remove Python 3 support.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2017-04-15 17:14:11 -07:00 committed by Willy Sudiarto Raharjo
parent 70ecd2bf05
commit 3b7215cf86
3 changed files with 1 additions and 8 deletions

View file

@ -2,5 +2,3 @@ The aim of the decorator module it to simplify the usage of decorators
for the average programmer, and to popularize decorators usage giving
examples of useful decorators, such as memoize, tracing,
redirecting_stdout, locked, etc.
Python 3 support will be included if python3 is installed.

View file

@ -58,11 +58,6 @@ find -L . \
python setup.py install --root=$PKG
# Python 3 support.
if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.md LICENSE.txt docs/README.rst $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
decorator: decorator (The decorator Python module)
decorator: decorator (decorator module for Python)
decorator:
decorator: The aim of the decorator module it to simplify the usage of
decorator: decorators for the average programmer, and to popularize decorators