wok view python-invoice2data/receipt @ rev 19655

Add python-invoice2data
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 27 09:48:15 2017 +0100 (2017-01-27)
parents
children e2ba79a6a8fb
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 DEPENDS="python"
13 BUILD_DEPENDS="python setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 python setup.py install --root=$DESTDIR
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $install/usr $fs
26 }