wok-next view python-setuptools/receipt @ rev 21051

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 30 01:34:53 2018 +0200 (2018-11-30)
parents f47adfbeb944
children 1ee5239fdfdc
line source
1 # SliTaz package receipt v2.
3 ORIGIN="setuptools"
4 PACKAGE="python-setuptools"
5 VERSION="40.4.3"
6 CATEGORY="python"
7 SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:setuptools"
14 TARBALL="$ORIGIN-$VERSION.tar.gz"
15 WGET_URL="https://github.com/pypa/setuptools/archive/v$VERSION.tar.gz"
17 BUILD_DEPENDS="python python3"
18 SPLIT="${PACKAGE/python/python3}:3"
20 compile_rules() {
21 python$SET bootstrap.py &&
22 python$SET -B setup.py install --root=$install
24 find $install -type f -exec chmod g-w '{}' \; # 664->644
25 }
27 genpkg_rules() {
28 copy @std
29 py=${PACKAGE%%-*} # python/python3
30 DEPENDS="$py"
31 }