2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2019-02-08 17:17:43 +00:00
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
2011-01-09 18:45:30 +01:00
|
|
|
|
2010-11-15 15:06:17 +01:00
|
|
|
PKG_NAME="distutilscross"
|
|
|
|
|
PKG_VERSION="0.1"
|
2017-07-17 20:49:22 +02:00
|
|
|
PKG_SHA256="4ed3fb427708c8a3ed5fe9c599532480f581078a1e0aec0e50f40eb58e9f0015"
|
2010-11-15 15:06:17 +01:00
|
|
|
PKG_LICENSE="GPL"
|
2020-12-13 10:30:11 +00:00
|
|
|
PKG_SITE="https://pypi.org/project/distutilscross/"
|
2021-01-19 19:34:13 +00:00
|
|
|
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2023-09-04 09:47:57 +00:00
|
|
|
PKG_DEPENDS_HOST="Python3:host setuptools:host"
|
2010-11-15 15:06:17 +01:00
|
|
|
PKG_LONGDESC="distutilscross enhances distutils to support Cross Compile of Python extensions"
|
2017-10-27 13:11:34 +02:00
|
|
|
PKG_TOOLCHAIN="manual"
|
2014-01-21 02:07:28 +01:00
|
|
|
|
|
|
|
|
makeinstall_host() {
|
2023-08-01 14:24:06 +00:00
|
|
|
export DONT_BUILD_LEGACY_PYC=1
|
2021-01-19 19:34:13 +00:00
|
|
|
exec_thread_safe python setup.py install --prefix=${TOOLCHAIN}
|
2014-01-21 02:07:28 +01:00
|
|
|
}
|