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