summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-06-03 10:56:29 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-03 10:56:29 +0100
commit49b2b6bb69d64f4a06bf62ec9e4ec5cd4b01ad8c (patch)
tree31d91e76d896b86a0dfe0fd75f2c28bccc743f83
parent042ea329bd21154c8f3d55779648cb82d1cfa7d0 (diff)
downloadslackbuilds-49b2b6bb69d64f4a06bf62ec9e4ec5cd4b01ad8c.tar.gz
python/python-mysqlclient: Fix for Github tarball.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--python/python-mysqlclient/python-mysqlclient.SlackBuild8
-rw-r--r--python/python-mysqlclient/python-mysqlclient.info2
2 files changed, 5 insertions, 5 deletions
diff --git a/python/python-mysqlclient/python-mysqlclient.SlackBuild b/python/python-mysqlclient/python-mysqlclient.SlackBuild
index b0831ed032..8d12adc495 100644
--- a/python/python-mysqlclient/python-mysqlclient.SlackBuild
+++ b/python/python-mysqlclient/python-mysqlclient.SlackBuild
@@ -27,7 +27,7 @@ VERSION=${VERSION:-1.3.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=mysqlclient
+SRCNAM=mysqlclient-python
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -61,15 +61,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-python-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-python-$VERSION
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
diff --git a/python/python-mysqlclient/python-mysqlclient.info b/python/python-mysqlclient/python-mysqlclient.info
index 6a34156443..4cc83ff118 100644
--- a/python/python-mysqlclient/python-mysqlclient.info
+++ b/python/python-mysqlclient/python-mysqlclient.info
@@ -1,7 +1,7 @@
PRGNAM="python-mysqlclient"
VERSION="1.3.12"
HOMEPAGE="https://github.com/PyMySQL/mysqlclient-python/"
-DOWNLOAD="https://github.com/PyMySQL/mysqlclient-python/archive/1.3.12/mysqlclient-1.3.12.tar.gz"
+DOWNLOAD="https://github.com/PyMySQL/mysqlclient-python/archive/1.3.12/mysqlclient-python-1.3.12.tar.gz"
MD5SUM="006ff8a8d748ed2ab37c745e7cf6bedd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""