python/python-mysqlclient: Fix for Github tarball.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
042ea329bd
commit
49b2b6bb69
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue