diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-10-06 15:33:46 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-12 08:50:55 +0700 |
commit | 744787ea7b7a0e168b02e95e95695560065c432f (patch) | |
tree | 1953835016ff12624af6f14d5edb619fb84e49e2 /python/sqlparse/sqlparse.SlackBuild | |
parent | ac3f012895f11c03f35bc8f0975c5f2aabc52e1b (diff) |
python/sqlparse: Updated for version 0.3.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/sqlparse/sqlparse.SlackBuild')
-rw-r--r-- | python/sqlparse/sqlparse.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/sqlparse/sqlparse.SlackBuild b/python/sqlparse/sqlparse.SlackBuild index 38444942ee2ff..203e179aff232 100644 --- a/python/sqlparse/sqlparse.SlackBuild +++ b/python/sqlparse/sqlparse.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sqlparse -VERSION=${VERSION:-0.2.4} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,11 @@ 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 AUTHORS README.rst TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |