summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-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 6ed7796818..2ee2a77421 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 f65f65bf87..647106e8ee 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"