mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
python/pymysql: Updated for version 0.6.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dea048d22e
commit
71e60f0042
2 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue