From c7462288c42b5004edc4f58d49285aec087e091d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 27 Sep 2020 14:13:29 +0700 Subject: [PATCH] calibre: update to 5.0.1. --- srcpkgs/calibre/template | 42 +++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/srcpkgs/calibre/template b/srcpkgs/calibre/template index 48397fdd6d..444e7c2b7f 100644 --- a/srcpkgs/calibre/template +++ b/srcpkgs/calibre/template @@ -1,23 +1,24 @@ # Template file for 'calibre' pkgname=calibre -version=4.23.0 +version=5.0.1 revision=1 -build_style=python2-module +build_style=python3-module pycompile_dirs="/usr/lib/calibre/" -hostmakedepends="pkg-config python-BeautifulSoup4 python-Pillow python-PyQt5-svg - python-PyQt5-webengine python-apsw python-css-parser python-dateutil - python-devel python-html5-parser python-msgpack python-regex qt5-qmake - xdg-utils rapydscript-ng" +hostmakedepends="pkg-config python3-BeautifulSoup4 python3-Pillow python3-PyQt5-svg + python3-PyQt5-webengine python3-apsw python3-css-parser python3-dateutil + python3-devel python3-html5-parser python3-msgpack python3-regex qt5-qmake + libpodofo-devel python3-PyQt-builder python3-PyQt5-devel qt5-host-tools + python3-zeroconf xdg-utils rapydscript-ng" makedepends="glib-devel libchmlib-devel libinput-devel libmagick-devel libmtp-devel - libpodofo-devel libwmf-devel libxkbcommon-devel python-PyQt5-devel + libpodofo-devel libwmf-devel libxkbcommon-devel python3-PyQt5-devel qt5-devel sqlite-devel tslib-devel hunspell-devel hyphen-devel" -depends="desktop-file-utils optipng poppler-utils python-BeautifulSoup4 - python-Markdown python-Pillow python-PyQt5-svg - python-PyQt5-webengine python-PyQt5-webchannel python-Pygments python-apsw - python-css-parser python-cssselect python-dateutil python-dbus - python-dnspython python-feedparser python-html5-parser python-mechanize - python-msgpack python-netifaces python-psutil python-regex python-html2text - qt5-webengine python-ipaddress" +depends="desktop-file-utils optipng poppler-utils python3-BeautifulSoup4 + python3-Markdown python3-Pillow python3-PyQt5-svg python3-zeroconf + python3-PyQt5-webengine python3-PyQt5-webchannel python3-Pygments python3-apsw + python3-css-parser python3-cssselect python3-dateutil python3-dbus + python3-dnspython python3-feedparser python3-html5-parser python3-mechanize + python3-msgpack python3-netifaces python3-psutil python3-regex python3-html2text + qt5-webengine" checkdepends="${depends} libjpeg-turbo-tools jxrlib" short_desc="Ebook management application" maintainer="skmpz " @@ -25,7 +26,8 @@ license="GPL-3.0-only" homepage="https://calibre-ebook.com" changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.yaml" distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz" -checksum=16de51473cf0e336f946a57251a1e4f4fbba1f857f17d8fc14aa132e7eb59518 +checksum=949fffb683708345daa84df24f73b01479043f08c67d0b13209d5977789f4802 +lib32disabled=yes nocross=yes do_configure() { @@ -41,15 +43,15 @@ do_configure() { } do_build() { - python2 setup.py build - python2 setup.py gui - python2 setup.py rapydscript + python3 setup.py build + python3 setup.py gui + python3 setup.py rapydscript } do_check() { # qt test crashes without any error messages # disabled for now - python2 setup.py test \ + python3 setup.py test \ --exclude-test-name unrar \ --exclude-test-name qt } @@ -57,7 +59,7 @@ do_check() { do_install() { vmkdir usr/share/zsh/site-functions - python2 setup.py \ + python3 setup.py \ install --prefix=/usr --staging-root=${DESTDIR}/usr for m in man-pages/man1/*.1; do