wok-6.x annotate python-xmlutils/receipt @ rev 22522
updated avfs and avfs-dev (1.0.6 -> 1.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 02 11:01:35 2020 +0100 (2020-01-02) |
parents | 7390f8de9846 |
children | 8931c2b041d8 |
rev | line source |
---|---|
pascal@17792 | 1 # SliTaz package receipt. |
pascal@17792 | 2 |
pascal@17792 | 3 PACKAGE="python-xmlutils" |
pascal@17792 | 4 SOURCE="xmlutils" |
pascal@17792 | 5 VERSION="1.1" |
pascal@17792 | 6 CATEGORY="development" |
pascal@17792 | 7 SHORT_DESC="Convert XML documents to SQL, CSV or JSON." |
pascal@17792 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17792 | 9 LICENSE="MIT" |
pascal@17792 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@17792 | 11 WEB_SITE="https://pypi.python.org/pypi/$SOURCE" |
pascal@17792 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@17792 | 13 |
pascal@17792 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python python-setuptools" |
pascal@17792 | 16 |
pascal@17792 | 17 # Rules to configure and make the package. |
pascal@17792 | 18 compile_rules() |
pascal@17792 | 19 { |
pascal@17792 | 20 python setup.py build && |
pascal@17792 | 21 python setup.py install --root=$DESTDIR |
pascal@17792 | 22 } |
pascal@17792 | 23 |
pascal@17792 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17792 | 25 genpkg_rules() |
pascal@17792 | 26 { |
pascal@17792 | 27 mkdir -p $fs |
pascal@17792 | 28 cp -a $install/usr $fs |
pascal@17792 | 29 } |
al@18086 | 30 |