|
Lines 26-32
Link Here
|
| 26 |
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk |
26 |
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk |
| 27 |
|
27 |
|
| 28 |
EAPI="4" |
28 |
EAPI="4" |
| 29 |
PYTHON_COMPAT=( python2_7 ) |
29 |
PYTHON_COMPAT=( python2_7 python3_4 ) |
| 30 |
|
30 |
|
| 31 |
inherit eutils python-any-r1 |
31 |
inherit eutils python-any-r1 |
| 32 |
|
32 |
|
|
Lines 111-116
src_prepare() {
Link Here
|
| 111 |
epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch |
111 |
epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch |
| 112 |
popd >/dev/null |
112 |
popd >/dev/null |
| 113 |
fi |
113 |
fi |
|
|
114 |
|
| 115 |
local DEFAULT_PYTHON=$(eselect python --show) |
| 116 |
DEFAULT_PYTHON=${DEFAULT_PYTHON#python} |
| 117 |
if [[ ${DEFAULT_PYTHON%%.*} = "3" ]]; then |
| 118 |
cd "${WORKDIR}" |
| 119 |
epatch ${FILESDIR}/python3-compat.patch |
| 120 |
cd "image/${EPREFIX}" |
| 121 |
fi |
| 114 |
fi |
122 |
fi |
| 115 |
|
123 |
|
| 116 |
epatch "${FILESDIR}"/${PN}-20110502-root.patch |
124 |
epatch "${FILESDIR}"/${PN}-20110502-root.patch |