wok-current annotate python-erppeek/receipt @ rev 25701
Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Apr 19 12:48:51 2024 +0000 (2 months ago) |
parents | dd9b5a434fac |
children |
rev | line source |
---|---|
pascal@18875 | 1 # SliTaz package receipt. |
pascal@18875 | 2 |
pascal@18875 | 3 PACKAGE="python-erppeek" |
Hans-G?nter@25172 | 4 VERSION="1.7.1" |
pascal@18875 | 5 CATEGORY="development" |
pascal@18875 | 6 SHORT_DESC="Versatile tool for browsing Odoo / OpenERP data." |
pascal@18875 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18875 | 8 LICENSE="BSD" |
pascal@25436 | 9 SOURCE="ERPpeek" |
pascal@25436 | 10 WEB_SITE="https://pypi.python.org/pypi/$SOURCE/$VERSION/" |
Hans-G?nter@25172 | 11 REPOLOGY="python:erppeek" |
Hans-G?nter@25172 | 12 |
pascal@18875 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@18875 | 14 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@18875 | 15 |
pascal@18875 | 16 DEPENDS="python" |
Hans-G?nter@25172 | 17 BUILD_DEPENDS="python python-setuptools" |
pascal@18875 | 18 |
pascal@24391 | 19 # What is the latest version available today? |
pascal@24391 | 20 current_version() |
pascal@24391 | 21 { |
pascal@24391 | 22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 24 } |
pascal@24391 | 25 |
pascal@18875 | 26 # Rules to configure and make the package. |
pascal@18875 | 27 compile_rules() |
pascal@18875 | 28 { |
Hans-G?nter@25172 | 29 python setup.py \ |
Hans-G?nter@25172 | 30 install \ |
Hans-G?nter@25172 | 31 --prefix=/usr \ |
Hans-G?nter@25172 | 32 --root=$DESTDIR |
pascal@18875 | 33 } |
pascal@18875 | 34 |
pascal@18875 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18875 | 36 genpkg_rules() |
pascal@18875 | 37 { |
Hans-G?nter@25172 | 38 cook_copy_folders bin |
Hans-G?nter@25172 | 39 cook_copy_folders lib |
pascal@18875 | 40 } |