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.21
Date: Sun, 16 Aug 2020 03:13:13 +0200	[thread overview]
Message-ID: <20200816011313.mGnGufClzBEI9JmMnXlL2TdmiJYX_hhIvklutWfG3XU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23087@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 537 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/23087

urlwatch: update to 2.21
It works fine as-is, but at least one feature is broken because it tries to import a python module that isn't packaged. I don't use that feature (beautify) but I'll look into packaging the missing modules.

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

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

From e463d75d9ac2749ae56cb5bc232efd86dfb3a3aa Mon Sep 17 00:00:00 2001
From: Seth <runningdroid@zoho.com>
Date: Fri, 19 Jun 2020 22:18:44 -0400
Subject: [PATCH] urlwatch: update to 2.21

---
 srcpkgs/urlwatch/template | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/urlwatch/template b/srcpkgs/urlwatch/template
index ee56c05689f..6a315992919 100644
--- a/srcpkgs/urlwatch/template
+++ b/srcpkgs/urlwatch/template
@@ -1,23 +1,27 @@
 # Template file for 'urlwatch'
 pkgname=urlwatch
-version=2.17
-revision=2
+version=2.21
+revision=1
 archs=noarch
 build_style=python3-module
-pycompile_module="urlwatch"
 hostmakedepends="python3-setuptools"
 depends="python3-appdirs python3-keyring python3-minidb python3-requests
  python3-yaml python3-lxml python3-cssselect"
-checkdepends="python3-nose ${depends} python3-pycodestyle"
+# 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 ${depends}"
 short_desc="Tool for monitoring webpages for updates"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://thp.io/2008/urlwatch/"
 distfiles="${PYPI_SITE}/u/urlwatch/urlwatch-${version}.tar.gz"
-checksum=08f51c7ffe7489c0be7a6c54855e074da65131714e4b6c622e4cfb107ef7ea78
+checksum=c259e0169cc99114b54470d08a8312473159dfdbed1d712d1a222fd8a9d7291a
 
 do_check() {
-	nosetests3
+	# skip the tests that require python modules that aren't packaged
+	# (pdftotext & pytesseract)
+	pytest -k "not (pdf or ocr)" -v
 }
 
 post_install() {

  parent reply	other threads:[~2020-08-16  1:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23087@inbox.vuxu.org>
2020-08-09 19:48 ` RunningDroid
2020-08-09 19:52 ` RunningDroid
2020-08-09 20:05 ` ericonr
2020-08-12  5:43 ` [PR PATCH] [Updated] " RunningDroid
2020-08-12  5:58 ` RunningDroid
2020-08-12 12:10 ` sgn
2020-08-16  1:13 ` RunningDroid [this message]
2020-08-16  1:21 ` RunningDroid
2020-09-02 17:12 ` [PR PATCH] [Merged]: " Chocimier

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=20200816011313.mGnGufClzBEI9JmMnXlL2TdmiJYX_hhIvklutWfG3XU@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).