Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Komikku: update to 1.17.0
@ 2023-03-30 21:22 paper42
  2023-03-30 21:24 ` [PR PATCH] [Updated] " paper42
  2023-04-01 17:32 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 2 replies; 3+ messages in thread
From: paper42 @ 2023-03-30 21:22 UTC (permalink / raw)
  To: ml

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

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages komikku-1.17
https://github.com/void-linux/void-packages/pull/43124

Komikku: update to 1.17.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/43124.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-komikku-1.17-43124.patch --]
[-- Type: text/x-diff, Size: 5734 bytes --]

From a1c398358b50e4c53ab0413b8238cc13f9dacb0c Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 30 Mar 2023 23:11:19 +0200
Subject: [PATCH 1/3] New package: python3-emoji-2.4.0

---
 srcpkgs/python3-emoji/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-emoji/template

diff --git a/srcpkgs/python3-emoji/template b/srcpkgs/python3-emoji/template
new file mode 100644
index 000000000000..96749b8f0a07
--- /dev/null
+++ b/srcpkgs/python3-emoji/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-emoji'
+pkgname=python3-emoji
+version=2.4.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Emoji terminal output for Python"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="BSD-3-Clause"
+homepage="https://github.com/carpedm20/emoji"
+changelog="https://raw.githubusercontent.com/carpedm20/emoji/master/CHANGES.md"
+distfiles="https://github.com/carpedm20/emoji/archive/refs/tags/v${version}.tar.gz"
+checksum=b5474a9dbf8ddad3db0878caee4a5d76e40ef0e7e28b2dd07fedf9548a465c53

From 0f0dd2294b28f1c5b85d9ac4cbfa3a58e8e0816f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 30 Mar 2023 23:16:45 +0200
Subject: [PATCH 2/3] New package: python3-piexif-1.1.3

---
 .../python3-piexif/patches/pillow-7.2.patch   | 40 +++++++++++++++++++
 srcpkgs/python3-piexif/template               | 14 +++++++
 2 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/python3-piexif/patches/pillow-7.2.patch
 create mode 100644 srcpkgs/python3-piexif/template

diff --git a/srcpkgs/python3-piexif/patches/pillow-7.2.patch b/srcpkgs/python3-piexif/patches/pillow-7.2.patch
new file mode 100644
index 000000000000..b13425a0fc21
--- /dev/null
+++ b/srcpkgs/python3-piexif/patches/pillow-7.2.patch
@@ -0,0 +1,40 @@
+From 5209b53e9689ce28dcd045f384633378d619718f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Wi=C5=9Bniewski?= <vuko@vuko.pl>
+Date: Thu, 5 Nov 2020 16:18:52 +0100
+Subject: [PATCH] convert IFDRational to tuples in tests
+
+This fixes tests with Pillow version >= 7.2.0
+---
+ tests/s_test.py | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/tests/s_test.py b/tests/s_test.py
+index 5d105de..a7cad54 100644
+--- a/tests/s_test.py
++++ b/tests/s_test.py
+@@ -9,6 +9,7 @@
+ import time
+ import unittest
+ 
++import PIL
+ from PIL import Image
+ import piexif
+ from piexif import _common, ImageIFD, ExifIFD, GPSIFD, TAGS, InvalidImageDataError
+@@ -580,6 +581,17 @@ def test_print_exif(self):
+ # test utility methods----------------------------------------------
+ 
+     def _compare_value(self, v1, v2):
++        if isinstance(v2, PIL.TiffImagePlugin.IFDRational):
++            v2 = (v2.numerator, v2.denominator)
++        if isinstance(v2, tuple):
++            converted_v2 = []
++            for el in v2:
++                if isinstance(el, PIL.TiffImagePlugin.IFDRational):
++                    converted_v2.append((el.numerator, el.denominator))
++                else:
++                    converted_v2.append(el)
++            v2 = tuple(converted_v2)
++
+         if type(v1) != type(v2):
+             if isinstance(v1, tuple):
+                 self.assertEqual(pack_byte(*v1), v2)
diff --git a/srcpkgs/python3-piexif/template b/srcpkgs/python3-piexif/template
new file mode 100644
index 000000000000..8623f03911da
--- /dev/null
+++ b/srcpkgs/python3-piexif/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-piexif'
+pkgname=python3-piexif
+version=1.1.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-Pillow"
+short_desc="Exif manipulation with pure python script"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://github.com/hMatoba/Piexif"
+distfiles="https://github.com/hMatoba/Piexif/archive/refs/tags/${version}.tar.gz"
+checksum=abfd9a67795e23d7a76f9407d60841efa68c5d6e43376b295bb821a30602c569

From 887370e1735cd5a2566fb5a1c386db4ed22f0216 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 30 Mar 2023 23:18:03 +0200
Subject: [PATCH 3/3] Komikku: update to 1.17.0.

---
 srcpkgs/Komikku/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/Komikku/template b/srcpkgs/Komikku/template
index 9c20078e9c42..fad699b5d4ac 100644
--- a/srcpkgs/Komikku/template
+++ b/srcpkgs/Komikku/template
@@ -1,19 +1,20 @@
 # Template file for 'Komikku'
 pkgname=Komikku
-version=1.1.0
-revision=2
+version=1.17.0
+revision=1
 build_style=meson
 hostmakedepends="gettext glib-devel gobject-introspection pkg-config
  desktop-file-utils gtk-update-icon-cache"
 makedepends="gtk4-devel libadwaita-devel"
 depends="gtk4 libadwaita libnotify libsecret python3-BeautifulSoup4
  python3-Pillow python3-Unidecode python3-cloudscraper python3-dateparser
- python3-gobject python3-keyring python3-lxml python3-magic
- python3-natsort python3-pure-protobuf libwebkit2gtk50"
+ python3-gobject python3-keyring python3-lxml python3-magic python3-rarfile
+ python3-natsort python3-pure-protobuf python3-emoji libwebkit2gtk50
+ python3-piexif"
 checkdepends="appstream-glib desktop-file-utils"
 short_desc="Online/offline manga reader for GNOME"
 maintainer="Lorem <notloremipsum@protonmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://gitlab.com/valos/Komikku"
 distfiles="https://gitlab.com/valos/Komikku/-/archive/v${version}/Komikku-v${version}.tar.gz"
-checksum=5b85b7a448fdf977dc6e4f40cf9e3384f0fcdad6c25f0d29d22f3769353a20eb
+checksum=a7530ca30eb15a8bc1892c57ca79553664ebce843c7c99e59ee3e85e8db22f7d

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] Komikku: update to 1.17.0
  2023-03-30 21:22 [PR PATCH] Komikku: update to 1.17.0 paper42
@ 2023-03-30 21:24 ` paper42
  2023-04-01 17:32 ` [PR PATCH] [Merged]: " paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2023-03-30 21:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages komikku-1.17
https://github.com/void-linux/void-packages/pull/43124

Komikku: update to 1.17.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/43124.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-komikku-1.17-43124.patch --]
[-- Type: text/x-diff, Size: 5832 bytes --]

From 84a797d0d22c58659e8319be221efa4a3bd7e505 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 30 Mar 2023 23:11:19 +0200
Subject: [PATCH 1/3] New package: python3-emoji-2.4.0

---
 srcpkgs/python3-emoji/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-emoji/template

diff --git a/srcpkgs/python3-emoji/template b/srcpkgs/python3-emoji/template
new file mode 100644
index 000000000000..b5b4d0c0c35f
--- /dev/null
+++ b/srcpkgs/python3-emoji/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-emoji'
+pkgname=python3-emoji
+version=2.4.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Emoji terminal output for Python"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="BSD-3-Clause"
+homepage="https://github.com/carpedm20/emoji"
+changelog="https://raw.githubusercontent.com/carpedm20/emoji/master/CHANGES.md"
+distfiles="https://github.com/carpedm20/emoji/archive/refs/tags/v${version}.tar.gz"
+checksum=b5474a9dbf8ddad3db0878caee4a5d76e40ef0e7e28b2dd07fedf9548a465c53
+
+post_install() {
+	vlicense LICENSE.txt
+}

From b2d9179d186355ed8a45b910aeafc82ca340b6cc Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 30 Mar 2023 23:16:45 +0200
Subject: [PATCH 2/3] New package: python3-piexif-1.1.3

---
 .../python3-piexif/patches/pillow-7.2.patch   | 40 +++++++++++++++++++
 srcpkgs/python3-piexif/template               | 18 +++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/python3-piexif/patches/pillow-7.2.patch
 create mode 100644 srcpkgs/python3-piexif/template

diff --git a/srcpkgs/python3-piexif/patches/pillow-7.2.patch b/srcpkgs/python3-piexif/patches/pillow-7.2.patch
new file mode 100644
index 000000000000..b13425a0fc21
--- /dev/null
+++ b/srcpkgs/python3-piexif/patches/pillow-7.2.patch
@@ -0,0 +1,40 @@
+From 5209b53e9689ce28dcd045f384633378d619718f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Wi=C5=9Bniewski?= <vuko@vuko.pl>
+Date: Thu, 5 Nov 2020 16:18:52 +0100
+Subject: [PATCH] convert IFDRational to tuples in tests
+
+This fixes tests with Pillow version >= 7.2.0
+---
+ tests/s_test.py | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/tests/s_test.py b/tests/s_test.py
+index 5d105de..a7cad54 100644
+--- a/tests/s_test.py
++++ b/tests/s_test.py
+@@ -9,6 +9,7 @@
+ import time
+ import unittest
+ 
++import PIL
+ from PIL import Image
+ import piexif
+ from piexif import _common, ImageIFD, ExifIFD, GPSIFD, TAGS, InvalidImageDataError
+@@ -580,6 +581,17 @@ def test_print_exif(self):
+ # test utility methods----------------------------------------------
+ 
+     def _compare_value(self, v1, v2):
++        if isinstance(v2, PIL.TiffImagePlugin.IFDRational):
++            v2 = (v2.numerator, v2.denominator)
++        if isinstance(v2, tuple):
++            converted_v2 = []
++            for el in v2:
++                if isinstance(el, PIL.TiffImagePlugin.IFDRational):
++                    converted_v2.append((el.numerator, el.denominator))
++                else:
++                    converted_v2.append(el)
++            v2 = tuple(converted_v2)
++
+         if type(v1) != type(v2):
+             if isinstance(v1, tuple):
+                 self.assertEqual(pack_byte(*v1), v2)
diff --git a/srcpkgs/python3-piexif/template b/srcpkgs/python3-piexif/template
new file mode 100644
index 000000000000..ff8362c0c658
--- /dev/null
+++ b/srcpkgs/python3-piexif/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-piexif'
+pkgname=python3-piexif
+version=1.1.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-Pillow"
+short_desc="Exif manipulation with pure python script"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://github.com/hMatoba/Piexif"
+distfiles="https://github.com/hMatoba/Piexif/archive/refs/tags/${version}.tar.gz"
+checksum=abfd9a67795e23d7a76f9407d60841efa68c5d6e43376b295bb821a30602c569
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 722a514f1d8d2fb8ec7defe3b57d75d949076e0a Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 30 Mar 2023 23:18:03 +0200
Subject: [PATCH 3/3] Komikku: update to 1.17.0.

---
 srcpkgs/Komikku/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/Komikku/template b/srcpkgs/Komikku/template
index 9c20078e9c42..fad699b5d4ac 100644
--- a/srcpkgs/Komikku/template
+++ b/srcpkgs/Komikku/template
@@ -1,19 +1,20 @@
 # Template file for 'Komikku'
 pkgname=Komikku
-version=1.1.0
-revision=2
+version=1.17.0
+revision=1
 build_style=meson
 hostmakedepends="gettext glib-devel gobject-introspection pkg-config
  desktop-file-utils gtk-update-icon-cache"
 makedepends="gtk4-devel libadwaita-devel"
 depends="gtk4 libadwaita libnotify libsecret python3-BeautifulSoup4
  python3-Pillow python3-Unidecode python3-cloudscraper python3-dateparser
- python3-gobject python3-keyring python3-lxml python3-magic
- python3-natsort python3-pure-protobuf libwebkit2gtk50"
+ python3-gobject python3-keyring python3-lxml python3-magic python3-rarfile
+ python3-natsort python3-pure-protobuf python3-emoji libwebkit2gtk50
+ python3-piexif"
 checkdepends="appstream-glib desktop-file-utils"
 short_desc="Online/offline manga reader for GNOME"
 maintainer="Lorem <notloremipsum@protonmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://gitlab.com/valos/Komikku"
 distfiles="https://gitlab.com/valos/Komikku/-/archive/v${version}/Komikku-v${version}.tar.gz"
-checksum=5b85b7a448fdf977dc6e4f40cf9e3384f0fcdad6c25f0d29d22f3769353a20eb
+checksum=a7530ca30eb15a8bc1892c57ca79553664ebce843c7c99e59ee3e85e8db22f7d

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: Komikku: update to 1.17.0
  2023-03-30 21:22 [PR PATCH] Komikku: update to 1.17.0 paper42
  2023-03-30 21:24 ` [PR PATCH] [Updated] " paper42
@ 2023-04-01 17:32 ` paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2023-04-01 17:32 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

Komikku: update to 1.17.0
https://github.com/void-linux/void-packages/pull/43124

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-01 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 21:22 [PR PATCH] Komikku: update to 1.17.0 paper42
2023-03-30 21:24 ` [PR PATCH] [Updated] " paper42
2023-04-01 17:32 ` [PR PATCH] [Merged]: " paper42

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).