wok annotate openerp-client-etl/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 104a2a2e5484
children
rev   line source
pascal@18786 1 # SliTaz package receipt.
pascal@18786 2
pascal@18786 3 PACKAGE="openerp-client-etl"
pascal@18786 4 VERSION="1.1.1"
pascal@18786 5 CATEGORY="development"
pascal@18786 6 SHORT_DESC="Allows to extract, transform and load data from any data source."
pascal@18786 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24728 8 LICENSE="BSD"
pascal@18786 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18786 10 WEB_SITE="https://pypi.python.org/pypi/openerp-client-etl"
pascal@18786 11 WGET_URL="https://pypi.python.org/packages/source/o/$PACKAGE/$TARBALL"
pascal@18786 12
pascal@18786 13 DEPENDS="python wget"
pascal@18786 14 BUILD_DEPENDS="python-dev python"
pascal@18786 15
pascal@24391 16 # What is the latest version available today?
pascal@24391 17 current_version()
pascal@24391 18 {
pascal@24391 19 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
pascal@24391 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
pascal@24391 21 }
pascal@24391 22
pascal@18786 23 # Rules to configure and make the package.
pascal@18786 24 compile_rules()
pascal@18786 25 {
pascal@18786 26 python setup.py build &&
pascal@18786 27 python setup.py install --root=$DESTDIR
pascal@18786 28 }
pascal@18786 29
pascal@18786 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18786 31 genpkg_rules()
pascal@18786 32 {
pascal@18786 33 cp -a $install/usr $fs
pascal@18786 34 }