wok view python-setuptools/receipt @ rev 21989

fasm: build fasmarm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 18:06:41 2019 +0200 (2019-10-15)
parents
children 390cb5dea23a
line source
1 # SliTaz package receipt.
3 PACKAGE="python-setuptools"
4 VERSION="41.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/setuptools/"
11 SOURCE="setuptools"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python bootstrap.py &&
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs
30 cp -a $install/usr $fs
31 }