svn commit: r560856 - in head/deskutils/calibre: . files

Guido Falsi madpilot at FreeBSD.org
Sat Jan 9 12:53:01 UTC 2021


Author: madpilot
Date: Sat Jan  9 12:52:59 2021
New Revision: 560856
URL: https://svnweb.freebsd.org/changeset/ports/560856

Log:
  - Update calibre to 5.9.0
  - Add patch (merged upstream) to allow running with python <3.8

Added:
  head/deskutils/calibre/files/patch-src_calibre_gui2_tag__browser_view.py   (contents, props changed)
Modified:
  head/deskutils/calibre/Makefile
  head/deskutils/calibre/distinfo
  head/deskutils/calibre/pkg-plist

Modified: head/deskutils/calibre/Makefile
==============================================================================
--- head/deskutils/calibre/Makefile	Sat Jan  9 12:28:16 2021	(r560855)
+++ head/deskutils/calibre/Makefile	Sat Jan  9 12:52:59 2021	(r560856)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	calibre
-PORTVERSION=	5.8.1
-PORTREVISION=	1
+PORTVERSION=	5.9.0
 CATEGORIES=	deskutils python
 MASTER_SITES=	http://download.calibre-ebook.com/${PORTVERSION}/
 

Modified: head/deskutils/calibre/distinfo
==============================================================================
--- head/deskutils/calibre/distinfo	Sat Jan  9 12:28:16 2021	(r560855)
+++ head/deskutils/calibre/distinfo	Sat Jan  9 12:52:59 2021	(r560856)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608819307
-SHA256 (calibre-5.8.1.tar.xz) = 23910db4cff74236f489a9720ad45a30afd1eb09dd05e944f383b1b3ac9d514e
-SIZE (calibre-5.8.1.tar.xz) = 36839044
+TIMESTAMP = 1610095531
+SHA256 (calibre-5.9.0.tar.xz) = a71196af15372054c4a25697534a2df1ef6dd732b9db07aaecaac7a86d9b3a0a
+SIZE (calibre-5.9.0.tar.xz) = 36911668

Added: head/deskutils/calibre/files/patch-src_calibre_gui2_tag__browser_view.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/calibre/files/patch-src_calibre_gui2_tag__browser_view.py	Sat Jan  9 12:52:59 2021	(r560856)
@@ -0,0 +1,14 @@
+--- src/calibre/gui2/tag_browser/view.py.orig	2021-01-08 03:40:13 UTC
++++ src/calibre/gui2/tag_browser/view.py
+@@ -782,8 +782,9 @@ class TagsView(QTreeView):  # {{{
+                                 partial(self.context_menu_handler, action='search',
+                                         search_state=TAG_SEARCH_STATES['mark_plus'],
+                                         index=index))
+-                        if add_child_search := (tag.is_hierarchical == '5state' and
+-                                                len(tag_item.children)):
++                        add_child_search = (tag.is_hierarchical == '5state' and
++                                            len(tag_item.children))
++                        if add_child_search:
+                             search_submenu.addAction(self.search_icon,
+                                     _('Search for %s and its children')%display_name(tag),
+                                     partial(self.context_menu_handler, action='search',

Modified: head/deskutils/calibre/pkg-plist
==============================================================================
--- head/deskutils/calibre/pkg-plist	Sat Jan  9 12:28:16 2021	(r560855)
+++ head/deskutils/calibre/pkg-plist	Sat Jan  9 12:52:59 2021	(r560856)
@@ -1212,7 +1212,6 @@ lib/calibre/calibre/srv/pool.py
 lib/calibre/calibre/srv/pre_activated.py
 lib/calibre/calibre/srv/render_book.py
 lib/calibre/calibre/srv/routes.py
-lib/calibre/calibre/srv/sendfile.py
 lib/calibre/calibre/srv/standalone.py
 lib/calibre/calibre/srv/tests/__init__.py
 lib/calibre/calibre/srv/tests/ajax.py


More information about the svn-ports-all mailing list