wok annotate sqlobject/receipt @ rev 24679
updated iso-codes (4.4 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:36:26 2022 +0100 (2022-03-12) |
parents | 9b0edb3905d0 |
children | 29d62d748b17 |
rev | line source |
---|---|
pascal@1333 | 1 # SliTaz package receipt. |
pascal@1333 | 2 |
pascal@1333 | 3 PACKAGE="sqlobject" |
Hans-G?nter@23664 | 4 VERSION="3.8.0" |
pascal@1333 | 5 CATEGORY="development" |
Hans-G?nter@23664 | 6 SHORT_DESC="Object-relational mapper for the Python." |
pascal@1333 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15582 | 8 LICENSE="LGPL" |
Hans-G?nter@23664 | 9 WEB_SITE="http://sqlobject.org/" |
Hans-G?nter@23664 | 10 |
pascal@1333 | 11 SOURCE="SQLObject" |
pascal@1333 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23664 | 13 WGET_URL="https://pypi.python.org/packages/source/S/$SOURCE/$TARBALL" |
pascal@15582 | 14 |
pascal@1333 | 15 DEPENDS="python" |
pascal@21581 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@1333 | 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/$PACKAGE/ 2>/dev/null | \ |
pascal@24391 | 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 23 } |
pascal@24391 | 24 |
pascal@1333 | 25 # Rules to configure and make the package. |
pascal@1333 | 26 compile_rules() |
pascal@1333 | 27 { |
pascal@1511 | 28 python setup.py build && |
pascal@15582 | 29 python setup.py install --root=$DESTDIR |
pascal@1333 | 30 } |
pascal@1333 | 31 |
pascal@1333 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1333 | 33 genpkg_rules() |
pascal@1333 | 34 { |
Hans-G?nter@23664 | 35 cp -a $install/usr $fs |
pascal@1333 | 36 } |