aboutsummaryrefslogtreecommitdiff
path: root/python/pymysql
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2016-01-01 00:19:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-01 00:19:03 +0700
commit71e60f0042b8552829f8a9d8ab64598babaea5aa (patch)
treecf20999350515c1f5fe29bd82a4aab4c26ab5498 /python/pymysql
parentdea048d22e461071fbe9b99ca7a30a7a39264953 (diff)
python/pymysql: Updated for version 0.6.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pymysql')
-rw-r--r--python/pymysql/pymysql.SlackBuild10
-rw-r--r--python/pymysql/pymysql.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/python/pymysql/pymysql.SlackBuild b/python/pymysql/pymysql.SlackBuild
index 6ed779681876b..2ee2a774213b4 100644
--- a/python/pymysql/pymysql.SlackBuild
+++ b/python/pymysql/pymysql.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pymysql
-VERSION=${VERSION:-0.6.6}
+SRCNAM=PyMySQL
+VERSION=${VERSION:-0.6.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,9 +46,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf PyMySQL-$PRGNAM-$VERSION
-tar xvf $CWD/PyMySQL-$PRGNAM-$VERSION.tar.gz 2>/dev/null || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd PyMySQL-$PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz 2>/dev/null || tar xvf $CWD/$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 \
@@ -60,6 +61,7 @@ rm -rf $PRGNAM/tests
python setup.py install --root=$PKG
+# Install python3 bindings. Default is no.
if [ "${PYTHON3:-no}" == "yes" ]; then
python3 setup.py install --root=$PKG
fi
diff --git a/python/pymysql/pymysql.info b/python/pymysql/pymysql.info
index f65f65bf87974..647106e8ee33f 100644
--- a/python/pymysql/pymysql.info
+++ b/python/pymysql/pymysql.info
@@ -1,8 +1,8 @@
PRGNAM="pymysql"
-VERSION="0.6.6"
+VERSION="0.6.7"
HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
-DOWNLOAD="https://github.com/PyMySQL/PyMySQL/archive/pymysql-0.6.6.tar.gz"
-MD5SUM="7cf52ba692d0929d2e98defb0cf3b506"
+DOWNLOAD="https://github.com/PyMySQL/PyMySQL/archive/0.6.7.tar.gz"
+MD5SUM="102a1250c414330f65d9982fbca6db76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools"