wok-next annotate python-ooop/receipt @ rev 20885

Update python (2.7.15)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 13 13:52:56 2018 +0300 (2018-07-13)
parents c4e53a39395a
children 8b5b2a6d07b8
rev   line source
pascal@13538 1 # SliTaz package receipt.
pascal@13538 2
pascal@13538 3 PACKAGE="python-ooop"
pascal@13538 4 VERSION="0.2.3"
pascal@13538 5 CATEGORY="development"
pascal@13538 6 SHORT_DESC="OpenObject on Python, a library to connect with Open ERP."
pascal@13538 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 8 LICENSE="GPL3"
pascal@13538 9 WEB_SITE="http://pypi.python.org/pypi/ooop"
al@20885 10 REPOLOGY="python:ooop"
al@20885 11
al@20885 12 SOURCE="${PACKAGE#*-}"
pascal@13538 13 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@13538 14 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@13538 15
pascal@15378 16 DEPENDS="python"
al@20444 17 BUILD_DEPENDS="python python-dev"
pascal@15378 18
pascal@13538 19 # Rules to configure and make the package.
pascal@13538 20 compile_rules()
pascal@13538 21 {
pascal@13538 22 python setup.py install --root=$DESTDIR
pascal@13538 23 }
pascal@13538 24
pascal@13538 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13538 26 genpkg_rules()
pascal@13538 27 {
pascal@13538 28 cp -a $install/usr $fs
pascal@13538 29 }