1 |
commit: b0068ce396d2c44e43bc5675062db7e15e51da36 |
2 |
Author: Rayslava <rayslava <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jan 12 01:27:45 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 12 01:40:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0068ce3 |
7 |
|
8 |
app-text/calibre: Revbump to 4.8.0-r1 for bug 602902 |
9 |
|
10 |
Depend on beautifulsoup:4 and html5-parser-0.4.9. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/705088 |
13 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
14 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
15 |
|
16 |
.../calibre/{calibre-4.8.0.ebuild => calibre-4.8.0-r1.ebuild} | 11 ++--------- |
17 |
1 file changed, 2 insertions(+), 9 deletions(-) |
18 |
|
19 |
diff --git a/app-text/calibre/calibre-4.8.0.ebuild b/app-text/calibre/calibre-4.8.0-r1.ebuild |
20 |
similarity index 94% |
21 |
rename from app-text/calibre/calibre-4.8.0.ebuild |
22 |
rename to app-text/calibre/calibre-4.8.0-r1.ebuild |
23 |
index d15693e1393..3049f662198 100644 |
24 |
--- a/app-text/calibre/calibre-4.8.0.ebuild |
25 |
+++ b/app-text/calibre/calibre-4.8.0-r1.ebuild |
26 |
@@ -47,7 +47,7 @@ COMMON_DEPEND="${PYTHON_DEPS} |
27 |
>=dev-libs/icu-57.1:= |
28 |
dev-libs/libinput:= |
29 |
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] |
30 |
- >=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}] |
31 |
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
32 |
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] |
33 |
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] |
34 |
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] |
35 |
@@ -57,7 +57,7 @@ COMMON_DEPEND="${PYTHON_DEPS} |
36 |
dev-python/dnspython[${PYTHON_USEDEP}] |
37 |
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] |
38 |
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] |
39 |
- >=dev-python/html5-parser-0.4.3[${PYTHON_USEDEP}] |
40 |
+ >=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] |
41 |
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] |
42 |
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] |
43 |
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] |
44 |
@@ -149,13 +149,6 @@ src_prepare() { |
45 |
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ |
46 |
'-i', 'Makefile'])" \ |
47 |
-i setup/build.py || die "sed failed to patch build.py" |
48 |
- |
49 |
- # use system beautifulsoup, instead of bundled |
50 |
- rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \ |
51 |
- || die "could not remove bundled beautifulsoup" |
52 |
- find "${S}" -type f -name \*.py -exec \ |
53 |
- sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \ |
54 |
- || die "could not sed bundled beautifulsoup out of the source tree" |
55 |
} |
56 |
|
57 |
src_install() { |