wok view python-odoorpc/receipt @ rev 24198
updated perl-dbd-pg (3.10.5 -> 3.15.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:11:07 2021 +0100 (2021-12-31) |
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 }