Github messages for voidlinux
 help / color / mirror / Atom feed
From: skmpz <skmpz@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] calibre: update to 5.43.0.
Date: Thu, 02 Jun 2022 20:07:28 +0200	[thread overview]
Message-ID: <20220602180728.ZrXwmmIyZ6L-C0MS1LH3EgQigBCaG_fDeJggd53kUoM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36849@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by skmpz against master on the void-packages repository

https://github.com/skmpz/void-packages calibre-5.41.0
https://github.com/void-linux/void-packages/pull/36849

calibre: update to 5.43.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36849.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-calibre-5.41.0-36849.patch --]
[-- Type: text/x-diff, Size: 3373 bytes --]

From f6de89d03cef41a430dc365caf61cce529f5ac14 Mon Sep 17 00:00:00 2001
From: skmpz <dem.procopiou@gmail.com>
Date: Mon, 25 Apr 2022 11:33:47 +0400
Subject: [PATCH] calibre: update to 5.43.0.

---
 srcpkgs/calibre/patches/disable-update.patch | 25 ++++++++++++++++++++
 srcpkgs/calibre/template                     |  8 ++++---
 2 files changed, 30 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/calibre/patches/disable-update.patch

diff --git a/srcpkgs/calibre/patches/disable-update.patch b/srcpkgs/calibre/patches/disable-update.patch
new file mode 100644
index 000000000000..539b083e0fa4
--- /dev/null
+++ b/srcpkgs/calibre/patches/disable-update.patch
@@ -0,0 +1,25 @@
+copied from Fedora Linux (https://src.fedoraproject.org/rpms/calibre/blob/rawhide/f/calibre-no-update.patch)
+diff -Nur calibre-2.9.0.orig/src/calibre/gui2/update.py calibre-2.9.0/src/calibre/gui2/update.py
+--- calibre-2.9.0.orig/src/calibre/gui2/update.py	2014-11-08 21:43:22.888681538 -0700
++++ calibre-2.9.0/src/calibre/gui2/update.py	2014-11-08 21:45:27.363383815 -0700
+@@ -63,20 +63,6 @@
+         while not self.shutdown_event.is_set():
+             calibre_update_version = NO_CALIBRE_UPDATE
+             plugins_update_found = 0
+-            try:
+-                version = get_newest_version()
+-                if version[:2] > numeric_version[:2]:
+-                    calibre_update_version = version
+-            except Exception as e:
+-                prints('Failed to check for calibre update:', as_unicode(e))
+-            try:
+-                update_plugins = get_plugin_updates_available(raise_error=True)
+-                if update_plugins is not None:
+-                    plugins_update_found = len(update_plugins)
+-            except Exception as e:
+-                prints('Failed to check for plugin update:', as_unicode(e))
+-            if calibre_update_version != NO_CALIBRE_UPDATE or plugins_update_found > 0:
+-                self.signal.update_found.emit(calibre_update_version, plugins_update_found)
+             self.shutdown_event.wait(self.INTERVAL)
+ 
+     def shutdown(self):
diff --git a/srcpkgs/calibre/template b/srcpkgs/calibre/template
index 036b195ac996..03f3ac6d39fa 100644
--- a/srcpkgs/calibre/template
+++ b/srcpkgs/calibre/template
@@ -1,6 +1,6 @@
 # Template file for 'calibre'
 pkgname=calibre
-version=5.40.0
+version=5.43.0
 revision=1
 build_style=python3-module
 pycompile_dirs="/usr/lib/calibre/"
@@ -27,7 +27,7 @@ license="GPL-3.0-only"
 homepage="https://calibre-ebook.com"
 changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.txt"
 distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz"
-checksum=e0ec0e2352926f165f4b9cbe67666ea2bd181f7cb702e98487391168a099d794
+checksum=834bfae52c26f9293c00cb4d4f51260defe198ef076619194016c51f87df12e0
 python_version=3
 lib32disabled=yes
 nocross=yes
@@ -55,11 +55,13 @@ do_check() {
 	# unrar test fails because python3-unrardll isn't packaged
 	# searching test case fails (non-deterministic)
 	# 7z tests disabled (missing python-py7zr dependencies)
+	# test_dom_load case fails
 	python3 setup.py test \
 		--exclude-test-name unrar \
 		--exclude-test-name qt \
 		--exclude-test-name searching \
-		--exclude-test-name 7z
+		--exclude-test-name 7z \
+		--exclude-test-name test_dom_load
 }
 
 do_install() {

  parent reply	other threads:[~2022-06-02 18:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25  7:34 [PR PATCH] calibre: update to 5.41.0 skmpz
2022-04-25  8:54 ` [PR REVIEW] " paper42
2022-05-28 22:45 ` Piraty
2022-05-28 22:45 ` Piraty
2022-05-29 12:15 ` [PR PATCH] [Updated] " skmpz
2022-05-29 12:16 ` calibre: update to 5.43.0 skmpz
2022-06-01 21:53 ` paper42
2022-06-02 16:13 ` skmpz
2022-06-02 18:07 ` skmpz [this message]
2022-06-02 20:45 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220602180728.ZrXwmmIyZ6L-C0MS1LH3EgQigBCaG_fDeJggd53kUoM@z \
    --to=skmpz@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).