Github messages for voidlinux
 help / color / mirror / Atom feed
From: RunningDroid <RunningDroid@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] urlwatch: update to 2.26
Date: Wed, 12 Apr 2023 02:42:19 +0200	[thread overview]
Message-ID: <20230412004219._tI2O5l1IhB-rW5VfbyBOLF6AVMlT-KBb4QJcRu8vdY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43398@inbox.vuxu.org>

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

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

https://github.com/RunningDroid/void-packages update_urlwatch
https://github.com/void-linux/void-packages/pull/43398

urlwatch: update to 2.26
<!-- 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/43398.patch is attached

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

From d06ab45bdecb359be1fab4d3bc6dd378043b7c5a Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Tue, 11 Apr 2023 17:09:02 -0400
Subject: [PATCH] urlwatch: update to 2.26

---
 srcpkgs/urlwatch/patches/test_handler.patch | 14 --------------
 srcpkgs/urlwatch/template                   | 18 ++++++++----------
 2 files changed, 8 insertions(+), 24 deletions(-)
 delete mode 100644 srcpkgs/urlwatch/patches/test_handler.patch

diff --git a/srcpkgs/urlwatch/patches/test_handler.patch b/srcpkgs/urlwatch/patches/test_handler.patch
deleted file mode 100644
index 73f301e49f9f..000000000000
--- a/srcpkgs/urlwatch/patches/test_handler.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Work around https://github.com/thp/urlwatch/issues/677
-
-diff --git a/lib/urlwatch/tests/test_handler.py b/lib/urlwatch/tests/test_handler.py
-index 736536a..fac9449 100644
---- a/lib/urlwatch/tests/test_handler.py
-+++ b/lib/urlwatch/tests/test_handler.py
-@@ -89,6 +89,7 @@ def test_pep8_conformance():
- 
- class ConfigForTest(CommandConfig):
-     def __init__(self, config, urls, cache, hooks, verbose):
-+        sys.argv = sys.argv[:1]
-         (prefix, bindir) = os.path.split(os.path.dirname(os.path.abspath(sys.argv[0])))
-         super().__init__('urlwatch', os.path.dirname(__file__), bindir, prefix, config, urls, hooks, cache, verbose)
- 
diff --git a/srcpkgs/urlwatch/template b/srcpkgs/urlwatch/template
index bdc8421176c2..58287278fe90 100644
--- a/srcpkgs/urlwatch/template
+++ b/srcpkgs/urlwatch/template
@@ -1,27 +1,25 @@
 # Template file for 'urlwatch'
 pkgname=urlwatch
-version=2.25
-revision=2
+version=2.26
+revision=1
 build_style=python3-module
+# skip the tests that require python modules that aren't packaged
+# (pdftotext & pytesseract)
+make_check_args="-k not((pdf)or(ocr))"
 hostmakedepends="python3-setuptools"
 depends="python3-appdirs python3-keyring python3-minidb python3-requests
  python3-yaml python3-lxml python3-cssselect"
 # Check the Docs for optional packages:
 # https://urlwatch.readthedocs.io/en/latest/dependencies.html#optional-packages
 checkdepends="python3-pytest python3-pycodestyle python3-docutils
- python3-Pygments python3-jq ${depends}"
+ python3-jq ${depends}"
 short_desc="Tool for monitoring webpages for updates"
 maintainer="RunningDroid <runningdroid@zoho.com>"
 license="BSD-3-Clause"
 homepage="https://thp.io/2008/urlwatch/"
+changelog="https://raw.githubusercontent.com/thp/urlwatch/master/CHANGELOG.md"
 distfiles="${PYPI_SITE}/u/urlwatch/urlwatch-${version}.tar.gz"
-checksum=6802297d3318286e7f3d36b9a4567a2fb09b0ae779d4b76811dd29a7281c1f8a
-
-do_check() {
-	# skip the tests that require python modules that aren't packaged
-	# (pdftotext & pytesseract)
-	pytest -k 'not (pdf or ocr)' -v
-}
+checksum=b14bbe23d87b7d4ac8b4e71a51fd2066908a947ccf7b557c3e4f87b09f455e8f
 
 post_install() {
 	vlicense COPYING

  parent reply	other threads:[~2023-04-12  0:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 21:10 [PR PATCH] " RunningDroid
2023-04-11 23:04 ` [PR REVIEW] " mhmdanas
2023-04-12  0:38 ` [PR PATCH] [Updated] " RunningDroid
2023-04-12  0:41 ` RunningDroid
2023-04-12  0:42 ` RunningDroid [this message]
2023-04-12  0:43 ` RunningDroid
2023-04-12  0:59 ` RunningDroid
2023-04-13  1:46 ` RunningDroid
2023-04-13  2:08 ` [PR PATCH] [Updated] " RunningDroid
2023-04-13  2:10 ` RunningDroid
2023-04-23 22:25 ` [PR PATCH] [Merged]: " Duncaen

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=20230412004219._tI2O5l1IhB-rW5VfbyBOLF6AVMlT-KBb4QJcRu8vdY@z \
    --to=runningdroid@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).