From 2ef3fe8391f810ede0e19cfb3d1811709bacc607 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 12 Jan 2020 17:24:45 -0800 Subject: [PATCH] app-text/calibre: Revbump to 4.7.0-r1 for bug 705088 Depend on beautifulsoup:4 and html5-parser-0.4.9. Reported-by: Eli Schwartz Bug: https://bugs.gentoo.org/705088#c3 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico --- ...calibre-4.7.0.ebuild => calibre-4.7.0-r1.ebuild} | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) rename app-text/calibre/{calibre-4.7.0.ebuild => calibre-4.7.0-r1.ebuild} (94%) diff --git a/app-text/calibre/calibre-4.7.0.ebuild b/app-text/calibre/calibre-4.7.0-r1.ebuild similarity index 94% rename from app-text/calibre/calibre-4.7.0.ebuild rename to app-text/calibre/calibre-4.7.0-r1.ebuild index 4f133b668aa3..3049f662198d 100644 --- a/app-text/calibre/calibre-4.7.0.ebuild +++ b/app-text/calibre/calibre-4.7.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -47,7 +47,7 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-libs/icu-57.1:= dev-libs/libinput:= >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] - >=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] >=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] >=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] >=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] @@ -57,7 +57,7 @@ COMMON_DEPEND="${PYTHON_DEPS} dev-python/dnspython[${PYTHON_USEDEP}] >=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] >=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] - >=dev-python/html5-parser-0.4.3[${PYTHON_USEDEP}] + >=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] >=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] >=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] @@ -149,13 +149,6 @@ src_prepare() { '-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ '-i', 'Makefile'])" \ -i setup/build.py || die "sed failed to patch build.py" - - # use system beautifulsoup, instead of bundled - rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \ - || die "could not remove bundled beautifulsoup" - find "${S}" -type f -name \*.py -exec \ - sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \ - || die "could not sed bundled beautifulsoup out of the source tree" } src_install() { -- 2.26.2