mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
pyOpenSSL: add distutilscross and distribute support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a6e899f0f8
commit
7413c9f187
@ -4,15 +4,16 @@
|
|||||||
|
|
||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
$SCRIPTS/build Python
|
$SCRIPTS/build Python
|
||||||
|
$SCRIPTS/build distutilscross
|
||||||
$SCRIPTS/build openssl
|
$SCRIPTS/build openssl
|
||||||
|
|
||||||
. config/options.python
|
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||||
|
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
$PYTHON setup.py build
|
python setup.py build --cross-compile
|
||||||
|
python setup.py install -O1 --skip-build --prefix /usr --root .install
|
||||||
$PYTHON setup.py install -O1 --skip-build --prefix /usr --root .install
|
|
||||||
|
|
||||||
find .install -name "*.py" -exec rm -rf "{}" ";"
|
find .install -name "*.py" -exec rm -rf "{}" ";"
|
||||||
find .install -name "*.pyo" -exec rm -rf "{}" ";"
|
find .install -name "*.pyo" -exec rm -rf "{}" ";"
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur pyOpenSSL-0.10/setup.py pyOpenSSL-0.10.patch/setup.py
|
||||||
|
--- pyOpenSSL-0.10/setup.py 2009-11-13 16:36:16.000000000 +0100
|
||||||
|
+++ pyOpenSSL-0.10.patch/setup.py 2010-10-19 00:24:51.858811333 +0200
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
distutils.log.set_verbosity(3)
|
||||||
|
|
||||||
|
import sys, os
|
||||||
|
-from distutils.core import Extension, setup
|
||||||
|
+from setuptools import Extension, setup
|
||||||
|
from distutils.errors import DistutilsFileError
|
||||||
|
from distutils.command.build_ext import build_ext
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user