From 4bd95e7906be3291872abadf76b4499693230925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Wed, 7 Oct 2020 19:41:53 -0300 Subject: [PATCH 1/2] New package: python3-pychm-0.8.6. --- srcpkgs/python3-pychm/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pychm/template diff --git a/srcpkgs/python3-pychm/template b/srcpkgs/python3-pychm/template new file mode 100644 index 00000000000..88696761a53 --- /dev/null +++ b/srcpkgs/python3-pychm/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pychm' +pkgname=python3-pychm +version=0.8.6 +revision=1 +wrksrc=pychm-${version} +build_style=python3-module +hostmakedepends="python3" +makedepends="libchmlib-devel python3-devel" +depends="python3" +checkdepends="python3-pytest" +short_desc="Python3 bindings for CHMLIB" +maintainer="Érico Nogueira " +license="GPL-2.0-or-later" +homepage="https://github.com/dottedmag/pychm" +distfiles="${PYPI_SITE}/p/pychm/pychm-${version}.tar.gz" +checksum=26606fec1e30cf7506c7afa943460c31e8dac87f35b7f178f437574d654cf672 + +do_test() { + pytest +} From 51de714e4109f31c3c9af91cd6c19576f30fac36 Mon Sep 17 00:00:00 2001 From: ajshell1 <11084981+ajshell1@users.noreply.github.com> Date: Wed, 7 Oct 2020 10:50:49 -0400 Subject: [PATCH 2/2] 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] --- srcpkgs/calibre/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/calibre/template b/srcpkgs/calibre/template index 444e7c2b7f6..2925983eb19 100644 --- a/srcpkgs/calibre/template +++ b/srcpkgs/calibre/template @@ -1,6 +1,6 @@ # Template file for 'calibre' pkgname=calibre -version=5.0.1 +version=5.2.0 revision=1 build_style=python3-module 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 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 +makedepends="libinput-devel libmagick-devel libmtp-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 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-dnspython python3-feedparser python3-html5-parser python3-mechanize python3-msgpack python3-netifaces python3-psutil python3-regex python3-html2text - qt5-webengine" + python3-pychm qt5-webengine" checkdepends="${depends} libjpeg-turbo-tools jxrlib" short_desc="Ebook management application" maintainer="skmpz " @@ -26,7 +26,7 @@ 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=949fffb683708345daa84df24f73b01479043f08c67d0b13209d5977789f4802 +checksum=e2033e6eff6730f8cecb8492b9eaf087f480391a948e3e8c06e91c92877e2c35 lib32disabled=yes nocross=yes @@ -51,6 +51,7 @@ do_build() { do_check() { # qt test crashes without any error messages # disabled for now + # unrar test fails because python3-unrardll isn't packaged python3 setup.py test \ --exclude-test-name unrar \ --exclude-test-name qt