wok-6.x diff python-serial/receipt @ rev 24124
updated transfig (3.2.5d -> 3.2.8b)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 06 10:26:09 2021 +0100 (2021-10-06) |
parents | 814362194a8d |
children | 1df6fa555414 |
line diff
1.1 --- a/python-serial/receipt Sun May 19 19:45:04 2019 +0200 1.2 +++ b/python-serial/receipt Wed Oct 06 10:26:09 2021 +0100 1.3 @@ -1,19 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-serial" 1.7 -SOURCE="pyserial" 1.8 -VERSION="2.7" 1.9 +VERSION="3.4" 1.10 CATEGORY="development" 1.11 SHORT_DESC="Multiplataform serial port module for python" 1.12 MAINTAINER="claudinei@slitaz.org" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="https://pypi.org/project/pyserial/" 1.15 + 1.16 +SOURCE="pyserial" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://pyserial.sourceforge.net" 1.19 -WGET_URL="https://pypi.python.org/packages/source/p/pyserial/$TARBALL" 1.20 -HOST_ARCH="i486 arm" 1.21 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.22 1.23 DEPENDS="python" 1.24 -BUILD_DEPENDS="python-dev python-setuptools" 1.25 +BUILD_DEPENDS="python python-dev python-setuptools" 1.26 + 1.27 +HOST_ARCH="i486 arm" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 @@ -24,11 +26,13 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - for file in `find $install | grep 'pyc$'`; do 1.36 + mkdir -p $fs/usr 1.37 + 1.38 + for file in `find $install | grep 'pyc$'` 1.39 + do 1.40 rm $file 1.41 - done 1.42 - mkdir -p $fs/usr 1.43 - cp -a $install/usr/bin $fs/usr 1.44 - cp -a $install/usr/lib $fs/usr 1.45 + done 1.46 + 1.47 + cp -a $install/usr/bin $fs/usr 1.48 + cp -a $install/usr/lib $fs/usr 1.49 } 1.50 -