calibre: Update to 5.2.0, fix deps.

- Remove unnecessary glib-devel and libchmlib-devel makedeps.
- Add python3-pychm depends.

Closes: #25414 [via git-merge-pr]
This commit is contained in:
ajshell1 2020-10-07 10:50:49 -04:00 committed by Érico Nogueira Rolim
parent 7e5c4f3107
commit 450f006b79

View file

@ -1,6 +1,6 @@
# Template file for 'calibre' # Template file for 'calibre'
pkgname=calibre pkgname=calibre
version=5.0.1 version=5.2.0
revision=1 revision=1
build_style=python3-module build_style=python3-module
pycompile_dirs="/usr/lib/calibre/" pycompile_dirs="/usr/lib/calibre/"
@ -9,7 +9,7 @@ hostmakedepends="pkg-config python3-BeautifulSoup4 python3-Pillow python3-PyQt5-
python3-devel python3-html5-parser python3-msgpack python3-regex qt5-qmake python3-devel python3-html5-parser python3-msgpack python3-regex qt5-qmake
libpodofo-devel python3-PyQt-builder python3-PyQt5-devel qt5-host-tools libpodofo-devel python3-PyQt-builder python3-PyQt5-devel qt5-host-tools
python3-zeroconf xdg-utils rapydscript-ng" python3-zeroconf xdg-utils rapydscript-ng"
makedepends="glib-devel libchmlib-devel libinput-devel libmagick-devel libmtp-devel makedepends="libinput-devel libmagick-devel libmtp-devel
libpodofo-devel libwmf-devel libxkbcommon-devel python3-PyQt5-devel libpodofo-devel libwmf-devel libxkbcommon-devel python3-PyQt5-devel
qt5-devel sqlite-devel tslib-devel hunspell-devel hyphen-devel" qt5-devel sqlite-devel tslib-devel hunspell-devel hyphen-devel"
depends="desktop-file-utils optipng poppler-utils python3-BeautifulSoup4 depends="desktop-file-utils optipng poppler-utils python3-BeautifulSoup4
@ -18,7 +18,7 @@ depends="desktop-file-utils optipng poppler-utils python3-BeautifulSoup4
python3-css-parser python3-cssselect python3-dateutil python3-dbus python3-css-parser python3-cssselect python3-dateutil python3-dbus
python3-dnspython python3-feedparser python3-html5-parser python3-mechanize python3-dnspython python3-feedparser python3-html5-parser python3-mechanize
python3-msgpack python3-netifaces python3-psutil python3-regex python3-html2text python3-msgpack python3-netifaces python3-psutil python3-regex python3-html2text
qt5-webengine" python3-pychm qt5-webengine"
checkdepends="${depends} libjpeg-turbo-tools jxrlib" checkdepends="${depends} libjpeg-turbo-tools jxrlib"
short_desc="Ebook management application" short_desc="Ebook management application"
maintainer="skmpz <dem.procopiou@gmail.com>" maintainer="skmpz <dem.procopiou@gmail.com>"
@ -26,7 +26,7 @@ license="GPL-3.0-only"
homepage="https://calibre-ebook.com" homepage="https://calibre-ebook.com"
changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.yaml" changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.yaml"
distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz" distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz"
checksum=949fffb683708345daa84df24f73b01479043f08c67d0b13209d5977789f4802 checksum=e2033e6eff6730f8cecb8492b9eaf087f480391a948e3e8c06e91c92877e2c35
lib32disabled=yes lib32disabled=yes
nocross=yes nocross=yes
@ -51,6 +51,7 @@ do_build() {
do_check() { do_check() {
# qt test crashes without any error messages # qt test crashes without any error messages
# disabled for now # disabled for now
# unrar test fails because python3-unrardll isn't packaged
python3 setup.py test \ python3 setup.py test \
--exclude-test-name unrar \ --exclude-test-name unrar \
--exclude-test-name qt --exclude-test-name qt