wok annotate python-pyserial/receipt @ rev 24356

backintime: modified WGET_URL
author Hans-G?nter Theisgen
date Thu Feb 03 15:43:51 2022 +0100 (2022-02-03)
parents 2cb7cffdef64
children 104a2a2e5484
rev   line source
pascal@18301 1 # SliTaz package receipt.
pascal@18301 2
pascal@18301 3 PACKAGE="python-pyserial"
Hans-G?nter@23544 4 VERSION="3.4"
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@23544 10
Hans-G?nter@23544 11 SOURCE="pyserial"
pascal@18301 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23544 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@18301 14
pascal@18301 15 DEPENDS="python"
pascal@18301 16 BUILD_DEPENDS="python"
pascal@18301 17
pascal@18301 18 # Rules to configure and make the package.
pascal@18301 19 compile_rules()
pascal@18301 20 {
pascal@18301 21 python setup.py build &&
pascal@18301 22 python setup.py install --root=$DESTDIR
pascal@18301 23 }
pascal@18301 24
pascal@18301 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18301 26 genpkg_rules()
pascal@18301 27 {
Hans-G?nter@23544 28 cp -a $install/usr $fs
pascal@18301 29 }