Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions srcpkgs/Komikku/template
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions srcpkgs/python3-emoji/template
Original file line number Diff line number Diff line change
@@ -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
}
40 changes: 40 additions & 0 deletions srcpkgs/python3-piexif/patches/pillow-7.2.patch
Original file line number Diff line number Diff line change
@@ -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)
18 changes: 18 additions & 0 deletions srcpkgs/python3-piexif/template
Original file line number Diff line number Diff line change
@@ -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
}