Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Komikku: update to 1.17.1.
Date: Fri, 07 Apr 2023 21:57:58 +0200	[thread overview]
Message-ID: <20230407195758.QS5wnl5t7p6w6_PdEu6A9Bt2agCQBEBPmx2vUAjNdeg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43329@inbox.vuxu.org>

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

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

https://github.com/icp1994/void-packages Komikku
https://github.com/void-linux/void-packages/pull/43329

Komikku: update to 1.17.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

Needs `dateparser>=1.1.4` and some other tweaks from [requirements.txt](https://gitlab.com/valos/Komikku/-/blob/v1.17.1/requirements.txt)

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

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

From a367e16c887f795573129408c4b7fc0981a87b83 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 25 Mar 2023 01:11:41 +0530
Subject: [PATCH 1/2] python3-dateparser: update to 1.1.8.

---
 .../patches/fix-python3-regex-incompatibility.patch  | 12 ------------
 srcpkgs/python3-dateparser/template                  | 10 +++++++---
 2 files changed, 7 insertions(+), 15 deletions(-)
 delete mode 100644 srcpkgs/python3-dateparser/patches/fix-python3-regex-incompatibility.patch

diff --git a/srcpkgs/python3-dateparser/patches/fix-python3-regex-incompatibility.patch b/srcpkgs/python3-dateparser/patches/fix-python3-regex-incompatibility.patch
deleted file mode 100644
index 536704ccfbf4..000000000000
--- a/srcpkgs/python3-dateparser/patches/fix-python3-regex-incompatibility.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Source: https://github.com/scrapinghub/dateparser/pull/1067
---- a/dateparser/languages/locale.py
-+++ b/dateparser/languages/locale.py
-@@ -169,7 +169,7 @@ class Locale:
-             if normalize:
-                 value = list(map(normalize_unicode, value))
-             pattern = '|'.join(sorted(value, key=len, reverse=True))
--            pattern = DIGIT_GROUP_PATTERN.sub(r'?P<n>\d+', pattern)
-+            pattern = pattern.replace(r'\d+', r'?P<n>\d+')
-             pattern = re.compile(r'^(?:{})$'.format(pattern), re.UNICODE | re.IGNORECASE)
-             relative_dictionary[pattern] = key
-         return relative_dictionary
diff --git a/srcpkgs/python3-dateparser/template b/srcpkgs/python3-dateparser/template
index e0b9d5664f71..3b65d96ae16a 100644
--- a/srcpkgs/python3-dateparser/template
+++ b/srcpkgs/python3-dateparser/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-dateparser'
 pkgname=python3-dateparser
-version=1.1.1
-revision=2
+version=1.1.8
+revision=1
 build_style=python3-module
 make_check_args="--ignore tests/test_hijri.py --ignore tests/test_jalali.py
  --ignore tests/test_language_detect.py --ignore tests/test_dateparser_data_integrity.py"
@@ -14,7 +14,11 @@ license="BSD-3-Clause"
 homepage="https://github.com/scrapinghub/dateparser"
 changelog="https://raw.githubusercontent.com/scrapinghub/dateparser/master/HISTORY.rst"
 distfiles="${PYPI_SITE}/d/dateparser/dateparser-${version}.tar.gz"
-checksum=038196b1f12c7397e38aad3d61588833257f6f552baa63a1499e6987fa8d42d9
+checksum=86b8b7517efcc558f085a142cdb7620f0921543fcabdb538c8a4c4001d8178e3
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	make_check=no # multiple tests fail without libc locales
+fi
 
 post_install() {
 	vlicense LICENSE

From 9d85b507af31c22234163f8684893139e5f2b40b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 25 Mar 2023 01:37:33 +0530
Subject: [PATCH 2/2] Komikku: update to 1.17.1.

Fix deps.
---
 srcpkgs/Komikku/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/Komikku/template b/srcpkgs/Komikku/template
index ceb56424353c..74fcd8021588 100644
--- a/srcpkgs/Komikku/template
+++ b/srcpkgs/Komikku/template
@@ -1,13 +1,13 @@
 # Template file for 'Komikku'
 pkgname=Komikku
-version=1.17.0
-revision=2
+version=1.17.1
+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
+depends="gtk4 libadwaita libnotify libsecret python3-BeautifulSoup4 python3-Brotli
+ python3-Pillow python3-Unidecode python3-requests python3-dateparser
  python3-gobject python3-keyring python3-lxml python3-magic python3-rarfile
  python3-natsort python3-pure-protobuf python3-emoji libwebkitgtk60
  python3-piexif"
@@ -17,4 +17,4 @@ 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=a7530ca30eb15a8bc1892c57ca79553664ebce843c7c99e59ee3e85e8db22f7d
+checksum=4bcd96fc52b1e3826bf6df54817b0a57402f6d0fa03ce8252c1768cf1cf8cfa0

  reply	other threads:[~2023-04-07 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07 19:19 [PR PATCH] " icp1994
2023-04-07 19:57 ` icp1994 [this message]
2023-04-07 21:18 ` [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=20230407195758.QS5wnl5t7p6w6_PdEu6A9Bt2agCQBEBPmx2vUAjNdeg@z \
    --to=icp1994@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).