wok-current annotate sqlobject/receipt @ rev 25470
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 10:48:59 2022 +0000 (2022-10-07) |
parents | 104a2a2e5484 |
children |
rev | line source |
---|---|
pascal@1333 | 1 # SliTaz package receipt. |
pascal@1333 | 2 |
pascal@1333 | 3 PACKAGE="sqlobject" |
Hans-G?nter@25321 | 4 VERSION="3.9.1" |
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@25321 | 13 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$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 } |