wok-current annotate python-invoice2data/receipt @ rev 25569
BootProg: fix boot16.asm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 12 21:35:09 2023 +0000 (19 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@19655 | 1 # SliTaz package receipt. |
pascal@19655 | 2 |
pascal@19655 | 3 PACKAGE="python-invoice2data" |
Hans-G?nter@23496 | 4 VERSION="0.2.93" |
pascal@19655 | 5 CATEGORY="development" |
Hans-G?nter@23496 | 6 TAGS="pdf" |
pascal@19655 | 7 SHORT_DESC="Extract structured data from PDF invoices." |
pascal@19655 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19655 | 9 LICENSE="MIT" |
Hans-G?nter@23496 | 10 WEB_SITE="https://github.com/m3nu/invoice2data" |
Hans-G?nter@23496 | 11 |
pascal@19655 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19655 | 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@19656 | 14 |
Hans-G?nter@23496 | 15 DEPENDS="poppler-apps python" |
pascal@21582 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@19655 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@19655 | 24 # Rules to configure and make the package. |
pascal@19655 | 25 compile_rules() |
pascal@19655 | 26 { |
pascal@19655 | 27 python setup.py install --root=$DESTDIR |
pascal@19655 | 28 } |
pascal@19655 | 29 |
pascal@19655 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19655 | 31 genpkg_rules() |
pascal@19655 | 32 { |
pascal@19655 | 33 mkdir -p $fs/usr |
Hans-G?nter@23496 | 34 cp -a $install/usr $fs |
pascal@19655 | 35 } |