wok-6.x diff python-mysql/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (13 months ago)
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 May 09 17:24:00 2023 +0000
     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 -