2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="setuptools"
|
2022-02-27 23:34:12 +00:00
|
|
|
PKG_VERSION="52.0.0"
|
|
|
|
PKG_SHA256="ff0c74d1b905a224d647f99c6135eacbec2620219992186b81aa20012bc7f882"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="OSS"
|
|
|
|
PKG_SITE="https://pypi.org/project/setuptools"
|
|
|
|
PKG_URL="https://github.com/pypa/setuptools/archive/v${PKG_VERSION}.tar.gz"
|
2022-02-27 23:34:12 +00:00
|
|
|
PKG_DEPENDS_HOST="Python3:host"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LONGDESC="Replaces Setuptools as the standard method for working with Python module distributions."
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
make_host() {
|
2022-02-27 23:34:12 +00:00
|
|
|
python3 bootstrap.py
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_host() {
|
|
|
|
exec_thread_safe python3 setup.py install --prefix=${TOOLCHAIN}
|
|
|
|
}
|