From 02190f0d06214fb808cf82bc09adc56418a71378 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Thu, 9 Apr 2020 16:57:53 +0200 Subject: [PATCH] WIP --- srcpkgs/calibre/template | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/srcpkgs/calibre/template b/srcpkgs/calibre/template index f9ae0a5923b..1214d7c56ba 100644 --- a/srcpkgs/calibre/template +++ b/srcpkgs/calibre/template @@ -2,24 +2,24 @@ pkgname=calibre version=4.13.0 revision=3 -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 +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 xdg-utils rapydscript-ng" makedepends="glib-devel libchmlib-devel libinput-devel libmagick-devel libmtp-devel libpodofo-devel libwmf-devel libxkbcommon-devel python-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 +depends="desktop-file-utils optipng poppler-utils python3-BeautifulSoup4 + python3-Markdown python3-Pillow python3-PyQt5-svg + 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" short_desc="Ebook management application" -maintainer="bra1nwave " +maintainer="Orphaned " license="GPL-3.0-only" homepage="https://calibre-ebook.com" changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.yaml" @@ -39,9 +39,9 @@ do_configure() { } do_build() { - python2 setup.py build - python2 setup.py gui - python2 setup.py rapydscript + CALIBRE_PY3_PORT=1 python setup.py build + CALIBRE_PY3_PORT=1 python setup.py gui + CALIBRE_PY3_PORT=1 python setup.py rapydscript } # requires an X11 environment... @@ -52,7 +52,7 @@ do_check() { do_install() { vmkdir usr/share/zsh/site-functions - python2 setup.py \ + CALIBRE_PY3_PORT=1 python setup.py \ install --prefix=/usr --staging-root=${DESTDIR}/usr for m in man-pages/man1/*.1; do