wok view python-odoorpc/receipt @ rev 24093
Up squashfs (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 16:57:54 2021 +0000 (2021-07-27) |
parents | dfc6cdc5624e |
children | a6d2faa0c47e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-odoorpc"
4 VERSION="0.6.1"
5 CATEGORY="development"
6 SHORT_DESC="Provides an easy way to pilot your Odoo servers through RPC"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://pypi.org/project/OdooRPC/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/OCA/odoorpc/archive/v$VERSION.tar.gz"
13 DEPENDS="python"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 python setup.py install --prefix=/usr --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs/
31 }