wok-next annotate python-flup/receipt @ rev 20444

python-pip and setuptools are parts of python package.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 26 04:46:49 2018 +0200 (2018-02-26)
parents 16df76e1fc6a
children 9b3461bf373c
rev   line source
pankso@10438 1 # SliTaz package receipt.
pankso@10438 2
pankso@10438 3 PACKAGE="python-flup"
pankso@10438 4 VERSION="1.0.2"
pankso@10438 5 CATEGORY="network"
pankso@10438 6 SHORT_DESC="Random collection of WSGI modules for Python."
pankso@10438 7 MAINTAINER="pankso@slitaz.org"
pascal@15378 8 LICENSE="BSD"
pankso@10438 9 SOURCE="flup"
pankso@10438 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@10438 11 WEB_SITE="http://trac.saddi.com/flup"
pankso@10438 12 WGET_URL="http://www.saddi.com/software/flup/dist/$TARBALL"
pankso@10438 13
pascal@15378 14 DEPENDS="python"
al@20444 15 BUILD_DEPENDS="python python-dev python-distribute"
pascal@15378 16
pankso@10438 17 # Rules to configure and make the package.
pankso@10438 18 compile_rules()
pankso@10438 19 {
pankso@10438 20 python setup.py build &&
pankso@10438 21 python setup.py install --root=$DESTDIR
pankso@10438 22 }
pankso@10438 23
pankso@10438 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10438 25 genpkg_rules()
pankso@10438 26 {
pankso@10438 27 mkdir -p $fs
pascal@15378 28 cp -a $install/usr $fs
pankso@10438 29 }
al@18077 30