wok-next view python-setuptools/receipt @ rev 20977
"Pythonize" egenix-mx-base and snimpy
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 26 00:03:58 2018 +0300 (2018-09-26) |
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 }