[arch-commits] Commit in calibre/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Fri Aug 10 09:08:45 UTC 2018


    Date: Friday, August 10, 2018 @ 09:08:45
  Author: eschwartz
Revision: 370896

upgpkg: calibre 3.29.0-1

upstream release

Modified:
  calibre/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-10 08:42:59 UTC (rev 370895)
+++ PKGBUILD	2018-08-10 09:08:45 UTC (rev 370896)
@@ -8,14 +8,14 @@
 # Contributor: Larry Hajali <larryhaja at gmail.com>
 
 pkgname=calibre
-pkgver=3.28.0
-pkgrel=2
+pkgver=3.29.0
+pkgrel=1
 pkgdesc="Ebook management application"
 arch=('x86_64')
 url="https://calibre-ebook.com/"
 license=('GPL3')
 depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-dukpy'
-         'python2-mechanize' 'podofo' 'libwmf'
+         'python2-mechanize' 'podofo' 'libwmf' 'jxrlib'
          'chmlib' 'python2-lxml' 'libusbx' 'python2-html5-parser'
          'python2-pillow' 'shared-mime-info' 'python2-dnspython' 'python2-msgpack'
          'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-dbus'
@@ -23,12 +23,13 @@
          'qt5-svg' 'python2-regex' 'python2-pygments' 'mtdev' 'python2-unrardll'
          'desktop-file-utils' 'gtk-update-icon-cache' 'optipng' 'udisks2')
 makedepends=('qt5-x11extras' 'sip' 'xdg-utils')
+checkdepends=('xorg-server-xvfb')
 optdepends=('ipython2: to use calibre-debug'
             'poppler: required for converting pdf to html'
 )
 source=("https://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"
         "https://calibre-ebook.com/signatures/${pkgname}-${pkgver}.tar.xz.sig")
-sha256sums=('241050cb89e5a70d3195cfd91ccf406919ac0bfb437e34b538c954c306d87b2c'
+sha256sums=('d0577e507e4e7244ce3f3f06acc3b0f3ffb87d26e32d79bfb520872251dc49e4'
             'SKIP')
 validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
 
@@ -54,6 +55,14 @@
   LANG='en_US.UTF-8' python2 setup.py gui
 }
 
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  # without xvfb-run this fails with much "Control socket failed to recv(), resetting"
+  # ERROR: test_websocket_perf (calibre.srv.tests.web_sockets.WebSocketTest)
+  LANG='en_US.UTF-8' xvfb-run python2 setup.py test
+}
+
 package() {
   cd "${pkgname}-${pkgver}"
 



More information about the arch-commits mailing list