wok-6.x view python-erppeek/receipt @ rev 25176
updated python-formalchemy (1.5.5 -> 1.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:52:21 2022 +0100 (2022-07-01) |
parents | e717a4953b0e |
children | 01119cbefbc3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-erppeek"
4 VERSION="1.7.1"
5 CATEGORY="development"
6 SHORT_DESC="Versatile tool for browsing Odoo / OpenERP data."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.python.org/pypi/$SOURCE/$VERSION"
10 REPOLOGY="python:erppeek"
12 SOURCE="ERPpeek"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py \
30 install \
31 --prefix=/usr \
32 --root=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_folders lib
40 }