wok-current diff python-mysql/receipt @ rev 25354
updated tiff, tiff-apps and tiff-dev (4.1.0 -> 4.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 26 16:22:26 2022 +0100 (2022-07-26) |
parents | 080c1dff8494 |
children |
line diff
1.1 --- a/python-mysql/receipt Tue Feb 08 12:15:27 2022 +0000 1.2 +++ b/python-mysql/receipt Tue Jul 26 16:22:26 2022 +0100 1.3 @@ -1,18 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-mysql" 1.7 -SOURCE="MySQL-python" 1.8 -VERSION="1.2.3" 1.9 +VERSION="1.2.5" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="A Python interface to MySQL ." 1.12 +SHORT_DESC="A Python interface to MySQL." 1.13 MAINTAINER="claudinei@slitaz.org" 1.14 LICENSE="GPL" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://mysql-python.sourceforge.net/" 1.17 -WGET_URL="$SF_MIRROR/mysql-python/$TARBALL" 1.18 +WEB_SITE="https://pypi.org/project/MySQL-python/" 1.19 +REPOLOGY="python:mysql-python" 1.20 1.21 -DEPENDS="python libmysqlclient zlib openssl" 1.22 -BUILD_DEPENDS="python-dev python-setuptools mysql-dev" 1.23 +SOURCE="MySQL-python" 1.24 +TARBALL="$SOURCE-$VERSION.zip" 1.25 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.26 + 1.27 +DEPENDS="libmysqlclient openssl python zlib" 1.28 +BUILD_DEPENDS="mysql-dev python-dev python-setuptools" 1.29 1.30 # What is the latest version available today? 1.31 current_version() 1.32 @@ -26,15 +28,14 @@ 1.33 compile_rules() 1.34 { 1.35 sed -i 's/threadsafe = True/threadsafe = False/' $src/site.cfg 1.36 - python setup.py build 1.37 + python setup.py build && 1.38 python setup.py install --root=$DESTDIR 1.39 } 1.40 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 - mkdir -p $fs/usr 1.45 - cp -a $install/usr/lib $fs/usr 1.46 + cook_copy_folders lib 1.47 } 1.48 1.49 # Remove old package. 1.50 @@ -43,4 +44,3 @@ 1.51 [ ! -d "$1/var/lib/tazpkg/installed/mysql-python" ] || 1.52 rm -rf "$1/var/lib/tazpkg/installed/mysql-python" 1.53 } 1.54 -