wok view python-invoice2data/receipt @ rev 20102

Add plsh & pypdf2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 09 13:07:28 2017 +0200 (2017-10-09)
parents 662559033c60
children 8e449fe1df2e
line source
1 # SliTaz package receipt.
3 PACKAGE="python-invoice2data"
4 VERSION="0.2.42"
5 CATEGORY="development"
6 SHORT_DESC="Extract structured data from PDF invoices."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/m3nu/invoice2data"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
12 TAGES="pdf"
14 DEPENDS="python poppler-apps"
15 BUILD_DEPENDS="python setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr $fs
28 }