wok-current annotate python-xmlutils/receipt @ rev 24052
Up slitaz-boot-scripts (469)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 26 19:58:37 2021 +0000 (2021-05-26) |
parents | 814362194a8d |
children | 104a2a2e5484 |
rev | line source |
---|---|
pascal@17792 | 1 # SliTaz package receipt. |
pascal@17792 | 2 |
pascal@17792 | 3 PACKAGE="python-xmlutils" |
Hans-G?nter@23587 | 4 VERSION="1.4" |
pascal@17792 | 5 CATEGORY="development" |
pascal@17792 | 6 SHORT_DESC="Convert XML documents to SQL, CSV or JSON." |
pascal@17792 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17792 | 8 LICENSE="MIT" |
Hans-G?nter@23587 | 9 WEB_SITE="https://pypi.python.org/pypi/xmlutils" |
Hans-G?nter@23587 | 10 |
Hans-G?nter@23587 | 11 SOURCE="xmlutils" |
Hans-G?nter@23587 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23587 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@17792 | 14 |
pascal@17792 | 15 DEPENDS="python" |
pascal@21582 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@17792 | 17 |
pascal@17792 | 18 # Rules to configure and make the package. |
pascal@17792 | 19 compile_rules() |
pascal@17792 | 20 { |
pascal@17792 | 21 python setup.py build && |
pascal@17792 | 22 python setup.py install --root=$DESTDIR |
pascal@17792 | 23 } |
pascal@17792 | 24 |
pascal@17792 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17792 | 26 genpkg_rules() |
pascal@17792 | 27 { |
Hans-G?nter@23587 | 28 cp -a $install/usr $fs |
pascal@17792 | 29 } |