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 | |
parent | ac3f012895f11c03f35bc8f0975c5f2aabc52e1b (diff) | |
download | slackbuilds-744787ea7b7a0e168b02e95e95695560065c432f.tar.gz |
python/sqlparse: Updated for version 0.3.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/sqlparse')
-rw-r--r-- | python/sqlparse/sqlparse.SlackBuild | 7 | ||||
-rw-r--r-- | python/sqlparse/sqlparse.info | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/python/sqlparse/sqlparse.SlackBuild b/python/sqlparse/sqlparse.SlackBuild index 38444942ee..203e179aff 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 diff --git a/python/sqlparse/sqlparse.info b/python/sqlparse/sqlparse.info index 04ce7b9290..f4666ddd86 100644 --- a/python/sqlparse/sqlparse.info +++ b/python/sqlparse/sqlparse.info @@ -1,8 +1,8 @@ PRGNAM="sqlparse" -VERSION="0.2.4" +VERSION="0.3.0" HOMEPAGE="https://github.com/andialbrecht/sqlparse" -DOWNLOAD="https://pypi.python.org/packages/79/3c/2ad76ba49f9e3d88d2b58e135b7821d93741856d1fe49970171f73529303/sqlparse-0.2.4.tar.gz" -MD5SUM="8f753105167f35ea94ae6387e8af152f" +DOWNLOAD="https://files.pythonhosted.org/packages/63/c8/229dfd2d18663b375975d953e2bdc06d0eed714f93dcb7732f39e349c438/sqlparse-0.3.0.tar.gz" +MD5SUM="2ce34181d6b7b234c9f3c0ecd1ffb93e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |