wok annotate python-ooop/receipt @ rev 25064
openvas-libraries, openvas-client: update gnutls calls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 08 16:46:37 2022 +0000 (2022-06-08) |
parents | 104a2a2e5484 |
children |
rev | line source |
---|---|
pascal@13538 | 1 # SliTaz package receipt. |
pascal@13538 | 2 |
pascal@13538 | 3 PACKAGE="python-ooop" |
pascal@13538 | 4 SOURCE="${PACKAGE#*-}" |
pascal@13538 | 5 VERSION="0.2.3" |
pascal@13538 | 6 CATEGORY="development" |
pascal@13538 | 7 SHORT_DESC="OpenObject on Python, a library to connect with Open ERP." |
pascal@13538 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="GPL3" |
pascal@24975 | 10 WEB_SITE="https://pypi.python.org/pypi/ooop" |
pascal@13538 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24975 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pankso@16477 | 13 HOST_ARCH="i486 arm" |
pascal@13538 | 14 |
pascal@15378 | 15 DEPENDS="python" |
pascal@21582 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15378 | 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@13538 | 25 # Rules to configure and make the package. |
pascal@13538 | 26 compile_rules() |
pascal@13538 | 27 { |
pascal@13538 | 28 python setup.py install --root=$DESTDIR |
pascal@13538 | 29 } |
pascal@13538 | 30 |
pascal@13538 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13538 | 32 genpkg_rules() |
pascal@13538 | 33 { |
pascal@13538 | 34 cp -a $install/usr $fs |
pascal@13538 | 35 } |