Line
Link Here
|
0 |
-- libselinux-2.1.9-r1.ebuild |
0 |
++ libselinux-2.1.9-r1.ebuild |
Lines 5-11
Link Here
|
5 |
EAPI="4" |
5 |
EAPI="4" |
6 |
PYTHON_DEPEND="python? *" |
6 |
PYTHON_DEPEND="python? *" |
7 |
SUPPORT_PYTHON_ABIS="1" |
7 |
SUPPORT_PYTHON_ABIS="1" |
8 |
RESTRICT_PYTHON_ABIS="*-jython *-pypy-* 2.5 2.6 3.*" |
8 |
RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*" |
9 |
|
9 |
|
10 |
inherit multilib python toolchain-funcs eutils |
10 |
inherit multilib python toolchain-funcs eutils |
11 |
|
11 |
|
Lines 47-53
Link Here
|
47 |
if use python; then |
47 |
if use python; then |
48 |
python_copy_sources src |
48 |
python_copy_sources src |
49 |
building() { |
49 |
building() { |
50 |
emake CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap |
50 |
emake CC="$(tc-getCC)" PYINC="-I$(python_get_includedir)" PYTHONLIBDIR="$(python_get_library -l)" PYPREFIX="python-$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap |
51 |
} |
51 |
} |
52 |
python_execute_function -s --source-dir src building |
52 |
python_execute_function -s --source-dir src building |
53 |
fi |
53 |
fi |