wok annotate python-pylons/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents c89d25976dbe
children a1ff9f10f41a
rev   line source
taziden@3777 1 # SliTaz package receipt.
taziden@3777 2
taziden@3777 3 PACKAGE="python-pylons"
taziden@6500 4 VERSION="1.0"
taziden@3777 5 CATEGORY="development"
taziden@3777 6 SHORT_DESC="Lightweight web framework"
taziden@3777 7 MAINTAINER="taziden@slitaz.org"
pascal@15378 8 LICENSE="BSD"
taziden@3777 9 SOURCE="Pylons"
taziden@3777 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20778 11 WEB_SITE="https://pypi.org/project/Pylons/"
taziden@6500 12 WGET_URL="http://cdn.pylonshq.com/download/$VERSION/$TARBALL"
taziden@3777 13 TAGS="python"
taziden@3777 14
pascal@15378 15 DEPENDS="python"
pascal@21582 16 BUILD_DEPENDS="python python-dev python-setuptools"
pascal@15378 17
taziden@3777 18 # Rules to configure and make the package.
taziden@3777 19 compile_rules()
taziden@3777 20 {
pascal@15378 21 python setup.py install --root=$DESTDIR
taziden@3777 22 }
taziden@3777 23
taziden@3777 24 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3777 25 genpkg_rules()
taziden@3777 26 {
pascal@15378 27 cp -a $install/usr $fs
taziden@3777 28 }