wok-6.x annotate python-ofxparse/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | 104a2a2e5484 |
children |
rev | line source |
---|---|
pascal@17958 | 1 # SliTaz package receipt. |
pascal@17958 | 2 |
pascal@17958 | 3 PACKAGE="python-ofxparse" |
Hans-G?nter@25210 | 4 VERSION="0.21" |
pascal@17958 | 5 CATEGORY="development" |
pascal@17958 | 6 SHORT_DESC="Tools for working with the OFX (Open Financial Exchange) file format." |
pascal@17958 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17958 | 8 LICENSE="MIT" |
Hans-G?nter@23518 | 9 WEB_SITE="https://pypi.python.org/pypi/ofxparse" |
Hans-G?nter@25210 | 10 REPOLOGY="python:ofxparse" |
Hans-G?nter@23518 | 11 |
Hans-G?nter@23518 | 12 SOURCE="ofxparse" |
pascal@17958 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23518 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@17958 | 15 |
Hans-G?nter@23518 | 16 DEPENDS="beautifulsoup python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-setuptools" |
pascal@17958 | 18 |
pascal@24391 | 19 # What is the latest version available today? |
pascal@24391 | 20 current_version() |
pascal@24391 | 21 { |
pascal@24391 | 22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 24 } |
pascal@24391 | 25 |
pascal@17958 | 26 # Rules to configure and make the package. |
pascal@17958 | 27 compile_rules() |
pascal@17958 | 28 { |
pascal@17958 | 29 python setup.py install --root=$DESTDIR |
pascal@17958 | 30 } |
pascal@17958 | 31 |
pascal@17958 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17958 | 33 genpkg_rules() |
pascal@17958 | 34 { |
Hans-G?nter@23518 | 35 cp -a $install/usr $fs |
pascal@17958 | 36 } |