From: Zac Medico Date: Mon, 13 Jan 2020 01:24:45 +0000 (-0800) Subject: app-text/calibre: Revbump to 3.48.0-r1 and stabilize for bug 705088 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=477828e0d50d1f05f0eb08991777785946c74ff2;p=gentoo.git app-text/calibre: Revbump to 3.48.0-r1 and stabilize for bug 705088 Depend on beautifulsoup:4 and html5-parser-0.4.9 and stabilize this version since version 3.47.1 has broken beautifulsoup support as reported by Eli Schwartz in bug 705088. 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 --- diff --git a/app-text/calibre/calibre-3.48.0.ebuild b/app-text/calibre/calibre-3.48.0-r1.ebuild similarity index 94% rename from app-text/calibre/calibre-3.48.0.ebuild rename to app-text/calibre/calibre-3.48.0-r1.ebuild index 9b8c29fcc23b..438e9707f607 100644 --- a/app-text/calibre/calibre-3.48.0.ebuild +++ b/app-text/calibre/calibre-3.48.0-r1.ebuild @@ -31,7 +31,7 @@ LICENSE=" OFL-1.1 PSF-2 " -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm x86" SLOT="0" IUSE="ios +udisks" @@ -45,7 +45,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}] @@ -54,7 +54,7 @@ COMMON_DEPEND="${PYTHON_DEPS} >=sys-apps/dbus-1.10.8 dev-python/dnspython[${PYTHON_USEDEP}] >=dev-python/feedparser-5.2.1[${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}] @@ -144,13 +144,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() {