wok annotate python-pyserial/receipt @ rev 25236

updated python-shapely (1.7.0 -> 1.7.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:41:12 2022 +0100 (2022-07-13)
parents 104a2a2e5484
children
rev   line source
pascal@18301 1 # SliTaz package receipt.
pascal@18301 2
pascal@18301 3 PACKAGE="python-pyserial"
Hans-G?nter@25227 4 VERSION="3.5"
pascal@18301 5 CATEGORY="development"
pascal@18301 6 SHORT_DESC="Python Serial Port Extension."
pascal@18301 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18301 8 LICENSE="PSL"
Hans-G?nter@23544 9 WEB_SITE="https://pypi.python.org/pypi/pyserial"
Hans-G?nter@25227 10 REPOLOGY="python:pyserial"
Hans-G?nter@23544 11
Hans-G?nter@23544 12 SOURCE="pyserial"
pascal@18301 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23544 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@18301 15
pascal@18301 16 DEPENDS="python"
pascal@18301 17 BUILD_DEPENDS="python"
pascal@18301 18
pascal@24391 19 # What is the latest version available today?
pascal@24391 20 current_version()
pascal@24391 21 {
pascal@24391 22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
pascal@24391 23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
pascal@24391 24 }
pascal@24391 25
pascal@18301 26 # Rules to configure and make the package.
pascal@18301 27 compile_rules()
pascal@18301 28 {
pascal@18301 29 python setup.py build &&
pascal@18301 30 python setup.py install --root=$DESTDIR
pascal@18301 31 }
pascal@18301 32
pascal@18301 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18301 34 genpkg_rules()
pascal@18301 35 {
Hans-G?nter@23544 36 cp -a $install/usr $fs
pascal@18301 37 }