Lines 47-53
COMMON_DEPEND="${PYTHON_DEPS}
Link Here
|
47 |
>=dev-libs/icu-57.1:= |
47 |
>=dev-libs/icu-57.1:= |
48 |
dev-libs/libinput:= |
48 |
dev-libs/libinput:= |
49 |
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] |
49 |
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] |
50 |
>=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}] |
50 |
dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
51 |
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] |
51 |
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] |
52 |
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] |
52 |
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] |
53 |
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] |
53 |
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] |
Lines 149-161
src_prepare() {
Link Here
|
149 |
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ |
149 |
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ |
150 |
'-i', 'Makefile'])" \ |
150 |
'-i', 'Makefile'])" \ |
151 |
-i setup/build.py || die "sed failed to patch build.py" |
151 |
-i setup/build.py || die "sed failed to patch build.py" |
152 |
|
|
|
153 |
# use system beautifulsoup, instead of bundled |
154 |
rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \ |
155 |
|| die "could not remove bundled beautifulsoup" |
156 |
find "${S}" -type f -name \*.py -exec \ |
157 |
sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \ |
158 |
|| die "could not sed bundled beautifulsoup out of the source tree" |
159 |
} |
152 |
} |
160 |
|
153 |
|
161 |
src_install() { |
154 |
src_install() { |