mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
calibre: update to 4.14.0.
- orphan package Closes: #20793 [via git-merge-pr]
This commit is contained in:
parent
4444ef9426
commit
3fca755bc4
2 changed files with 12 additions and 34 deletions
|
@ -1,27 +0,0 @@
|
||||||
Source: Debian
|
|
||||||
|
|
||||||
---
|
|
||||||
src/calibre/test_build.py | 5 +++++
|
|
||||||
1 file changed, 5 insertions(+)
|
|
||||||
|
|
||||||
--- src/calibre/test_build.py
|
|
||||||
+++ src/calibre/test_build.py
|
|
||||||
@@ -17,6 +17,10 @@ from polyglot.builtins import iteritems,
|
|
||||||
|
|
||||||
is_ci = os.environ.get('CI', '').lower() == 'true'
|
|
||||||
|
|
||||||
+try:
|
|
||||||
+ import unrardll
|
|
||||||
+except:
|
|
||||||
+ unrardll = None
|
|
||||||
|
|
||||||
class BuildTest(unittest.TestCase):
|
|
||||||
|
|
||||||
@@ -265,6 +269,7 @@ class BuildTest(unittest.TestCase):
|
|
||||||
from calibre.gui2.win_file_dialogs import test
|
|
||||||
test()
|
|
||||||
|
|
||||||
+ @unittest.skipUnless(unrardll, 'Module unrardll is missing')
|
|
||||||
def test_unrar(self):
|
|
||||||
from calibre.utils.unrar import test_basic
|
|
||||||
test_basic()
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'calibre'
|
# Template file for 'calibre'
|
||||||
pkgname=calibre
|
pkgname=calibre
|
||||||
version=4.13.0
|
version=4.14.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=python2-module
|
build_style=python2-module
|
||||||
pycompile_dirs="/usr/lib/calibre/"
|
pycompile_dirs="/usr/lib/calibre/"
|
||||||
hostmakedepends="pkg-config python-BeautifulSoup4 python-Pillow python-PyQt5-svg
|
hostmakedepends="pkg-config python-BeautifulSoup4 python-Pillow python-PyQt5-svg
|
||||||
|
@ -18,18 +18,20 @@ depends="desktop-file-utils optipng poppler-utils python-BeautifulSoup4
|
||||||
python-dnspython python-feedparser python-html5-parser python-mechanize
|
python-dnspython python-feedparser python-html5-parser python-mechanize
|
||||||
python-msgpack python-netifaces python-psutil python-regex python-html2text
|
python-msgpack python-netifaces python-psutil python-regex python-html2text
|
||||||
qt5-webengine"
|
qt5-webengine"
|
||||||
|
checkdepends="${depends} libjpeg-turbo-tools jxrlib"
|
||||||
short_desc="Ebook management application"
|
short_desc="Ebook management application"
|
||||||
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3.0-only"
|
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=f9587dea4f9ea76c6a5ec11b04ee66d0199d4ab3a4aad8c87966fed8ee76e1f6
|
checksum=1c0dd818f602d76724aa8512a23f51101bf385233e2e5cc1cd31cae4a90f0e21
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# Remove unneeded files and libs
|
# Remove unneeded files and libs
|
||||||
rm -rf resources/${pkgname}-portable.*
|
rm -rf resources/${pkgname}-portable.* \
|
||||||
|
src/biplist
|
||||||
|
|
||||||
# Desktop integration (e.g. enforce arch defaults)
|
# Desktop integration (e.g. enforce arch defaults)
|
||||||
vsed -i src/calibre/linux.py \
|
vsed -i src/calibre/linux.py \
|
||||||
|
@ -44,9 +46,12 @@ do_build() {
|
||||||
python2 setup.py rapydscript
|
python2 setup.py rapydscript
|
||||||
}
|
}
|
||||||
|
|
||||||
# requires an X11 environment...
|
|
||||||
do_check() {
|
do_check() {
|
||||||
:
|
# qt test crashes without any error messages
|
||||||
|
# disabled for now
|
||||||
|
python2 setup.py test \
|
||||||
|
--exclude-test-name unrar \
|
||||||
|
--exclude-test-name qt
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue