mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/decorator: Remove Python 3 support.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
parent
70ecd2bf05
commit
3b7215cf86
3 changed files with 1 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue