wok-6.x annotate openerp-client-etl/receipt @ rev 24657
updated icewm (1.6.4 -> 2.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:48:38 2022 +0100 (2022-03-11) |
parents | c0cb4b7f2e21 |
children | 59547e97954f |
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@18786 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18786 | 9 WEB_SITE="https://pypi.python.org/pypi/openerp-client-etl" |
pascal@18786 | 10 WGET_URL="https://pypi.python.org/packages/source/o/$PACKAGE/$TARBALL" |
pascal@18786 | 11 |
pascal@18786 | 12 DEPENDS="python wget" |
pascal@18786 | 13 BUILD_DEPENDS="python-dev python" |
pascal@18786 | 14 |
pascal@24391 | 15 # What is the latest version available today? |
pascal@24391 | 16 current_version() |
pascal@24391 | 17 { |
pascal@24391 | 18 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ |
pascal@24391 | 19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24391 | 20 } |
pascal@24391 | 21 |
pascal@18786 | 22 # Rules to configure and make the package. |
pascal@18786 | 23 compile_rules() |
pascal@18786 | 24 { |
pascal@18786 | 25 python setup.py build && |
pascal@18786 | 26 python setup.py install --root=$DESTDIR |
pascal@18786 | 27 } |
pascal@18786 | 28 |
pascal@18786 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18786 | 30 genpkg_rules() |
pascal@18786 | 31 { |
pascal@18786 | 32 cp -a $install/usr $fs |
pascal@18786 | 33 } |