wok annotate python-erppeek/receipt @ rev 25172

updated python-erppeek (1.6.3 -> 1.7.1)
author Hans-G?nter Theisgen
date Fri Jul 01 16:57:44 2022 +0100 (22 months ago)
parents e717a4953b0e
children 01119cbefbc3
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@24975 9 WEB_SITE="https://pypi.python.org/pypi/$SOURCE/$VERSION"
Hans-G?nter@25172 10 REPOLOGY="python:erppeek"
Hans-G?nter@25172 11
pascal@18875 12 SOURCE="ERPpeek"
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 }