wok diff python-usb/receipt @ rev 24019

syslinux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 16:32:57 2021 +0000 (2021-02-28)
parents 8dd8bab3f0ca
children 1df6fa555414
line diff
     1.1 --- a/python-usb/receipt	Thu Jan 24 14:51:04 2019 +0100
     1.2 +++ b/python-usb/receipt	Sun Feb 28 16:32:57 2021 +0000
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-usb"
     1.7 -SOURCE="pyusb"
     1.8 -VERSION="1.0.0b1"
     1.9 +VERSION="1.0.2"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Python bindings for USB access."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.16 -WGET_URL="$SF_MIRROR/pyusb/$TARBALL"
    1.17 +WEB_SITE="https://pypi.org/project/pyusb"
    1.18  
    1.19 -DEPENDS="python libusb"
    1.20 -BUILD_DEPENDS="python-dev python"
    1.21 +SOURCE="pyusb"
    1.22 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.23 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.24 +
    1.25 +DEPENDS="libusb python"
    1.26 +BUILD_DEPENDS="python python-dev python-setuptools"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30 @@ -24,5 +25,5 @@
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34 -	cp -a $install/usr $fs
    1.35 +	cp -a $install/usr	$fs
    1.36  }