wok annotate python-xlwt/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 1df6fa555414
children
rev   line source
pascal@11727 1 # SliTaz package receipt.
pascal@11727 2
pascal@11727 3 PACKAGE="python-xlwt"
Hans-G?nter@23586 4 VERSION="1.3.0"
pascal@11727 5 CATEGORY="development"
Hans-G?nter@23586 6 SHORT_DESC="Python module for reading and writing Microsoft Excel spreadsheet files."
pascal@11727 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15376 8 LICENSE="BSD"
Hans-G?nter@23586 9 WEB_SITE="https://pypi.org/project/xlwt/"
Hans-G?nter@23586 10
Hans-G?nter@23586 11 SOURCE="xlwt"
Hans-G?nter@23586 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23586 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@11727 14
pascal@11727 15 DEPENDS="python python-antlr"
Hans-G?nter@23586 16 BUILD_DEPENDS="python python-dev python-setuptools"
pascal@11727 17
pascal@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 22 }
pascal@24288 23
pascal@11727 24 # Rules to configure and make the package.
pascal@11727 25 compile_rules()
pascal@11727 26 {
pascal@11727 27 python setup.py build &&
pascal@11727 28 python setup.py install --root=$DESTDIR
pascal@11727 29 }
pascal@11727 30
pascal@11727 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11727 32 genpkg_rules()
pascal@11727 33 {
Hans-G?nter@23586 34 cp -a $install/usr $fs
pascal@11727 35 }