wok-current annotate python-xmlutils/receipt @ rev 25297

updated scrollz (2.3 -> 2.3.1)
author Hans-G?nter Theisgen
date Wed Jul 20 06:44:28 2022 +0100 (2022-07-20)
parents 104a2a2e5484
children
rev   line source
pascal@17792 1 # SliTaz package receipt.
pascal@17792 2
pascal@17792 3 PACKAGE="python-xmlutils"
pascal@25012 4 VERSION="1.4.1"
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@24391 18 # What is the latest version available today?
pascal@24391 19 current_version()
pascal@24391 20 {
pascal@24391 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
pascal@24391 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
pascal@24391 23 }
pascal@24391 24
pascal@17792 25 # Rules to configure and make the package.
pascal@17792 26 compile_rules()
pascal@17792 27 {
pascal@17792 28 python setup.py build &&
pascal@17792 29 python setup.py install --root=$DESTDIR
pascal@17792 30 }
pascal@17792 31
pascal@17792 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17792 33 genpkg_rules()
pascal@17792 34 {
Hans-G?nter@23587 35 cp -a $install/usr $fs
pascal@17792 36 }