wok annotate python-usb/receipt @ rev 23621

updated ruby and ruby-dev (2.6.4 -> 2.7.1)
author Hans-G?nter Theisgen
date Tue Apr 14 15:51:31 2020 +0100 (2020-04-14)
parents 8dd8bab3f0ca
children 1df6fa555414
rev   line source
pascal@15476 1 # SliTaz package receipt.
pascal@15476 2
pascal@15476 3 PACKAGE="python-usb"
Hans-G?nter@23574 4 VERSION="1.0.2"
pascal@15476 5 CATEGORY="development"
pascal@15476 6 SHORT_DESC="Python bindings for USB access."
pascal@15476 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15476 8 LICENSE="BSD"
Hans-G?nter@23574 9 WEB_SITE="https://pypi.org/project/pyusb"
pascal@15476 10
Hans-G?nter@23574 11 SOURCE="pyusb"
Hans-G?nter@23574 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23574 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
Hans-G?nter@23574 14
Hans-G?nter@23574 15 DEPENDS="libusb python"
Hans-G?nter@23574 16 BUILD_DEPENDS="python python-dev python-setuptools"
pascal@15476 17
pascal@15476 18 # Rules to configure and make the package.
pascal@15476 19 compile_rules()
pascal@15476 20 {
pascal@15476 21 python setup.py build &&
pascal@15476 22 python setup.py install --root=$DESTDIR
pascal@15476 23 }
pascal@15476 24
pascal@15476 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15476 26 genpkg_rules()
pascal@15476 27 {
Hans-G?nter@23574 28 cp -a $install/usr $fs
pascal@15476 29 }