wok-current view openerp-client-etl/receipt @ rev 25204
updated python-mock (1.0.1 -> 3.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:28:15 2022 +0100 (2022-07-13) |
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 }