From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/
Date: Sat, 13 Nov 2021 01:58:47 +0000 (UTC) [thread overview]
Message-ID: <1636768481.f0cfbeaf60ffdbd11d58746c6d9d29318fb5ff5d.sbraz@gentoo> (raw)
commit: f0cfbeaf60ffdbd11d58746c6d9d29318fb5ff5d
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 13 01:37:54 2021 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sat Nov 13 01:54:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0cfbeaf
www-misc/urlwatch: add 2.24, drop x86 keyword until it supports jq
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
www-misc/urlwatch/Manifest | 1 +
www-misc/urlwatch/urlwatch-2.24.ebuild | 74 ++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest
index d9e15d90ae2..544bd35fcf0 100644
--- a/www-misc/urlwatch/Manifest
+++ b/www-misc/urlwatch/Manifest
@@ -1,2 +1,3 @@
DIST urlwatch-2.22.tar.gz 136306 BLAKE2B e7f10872e5d7f42ec0ac1073783431c4b0e4fcdcf40884a9f7f52aee36705fbdbaaf5f9e671223715040c6f68cc580f531ba753c9326a2b1380d2fb707f66f1c SHA512 f2c1e0d279689d1e5761203ba139614b972c6266c30877262d59759b0ce63342a820a063f001039848427ea4af4325505c636762cdedb3dc60ebd09e859914f4
DIST urlwatch-2.23.tar.gz 137917 BLAKE2B 330c52cad62985d24b2cc4c7345156abe9d5d369f8b3f4402856eb96a98f75422de49045bc10910e5cc81306744aad2dce7c05667a6f4eeb22b2bba47869f260 SHA512 e54f8fe2d8307ca9f2f222e6a2082d517a330db60e410b7c991283a2bf88aa861306965b23ca644811aa69425ec2281f7f48d5e34047b808c0897f45ffc7fcbc
+DIST urlwatch-2.24.tar.gz 141175 BLAKE2B 7868ba757493c97ef65136d3da67ef3bb6b0d62e52ab150e169d66adea420872990527a622d305bd14923ff367041d615dcea1495871258040ec2cbb73ee7613 SHA512 ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52
diff --git a/www-misc/urlwatch/urlwatch-2.24.ebuild b/www-misc/urlwatch/urlwatch-2.24.ebuild
new file mode 100644
index 00000000000..ceff0e2189e
--- /dev/null
+++ b/www-misc/urlwatch/urlwatch-2.24.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool for monitoring webpages for updates"
+HOMEPAGE="https://thp.io/2008/urlwatch/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/appdirs[${PYTHON_USEDEP}]
+ dev-python/cssselect[${PYTHON_USEDEP}]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/minidb[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/jq[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( CHANGELOG.md README.md )
+
+distutils_enable_sphinx docs/source dev-python/alabaster
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Require the pdftotext module
+ "lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf-job12]"
+ "lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf-job13]"
+ # Requires the pytesseract module
+ "lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/ocr-test.png-job28]"
+ # Fail because of argv parsing: https://github.com/thp/urlwatch/issues/677
+ "lib/urlwatch/tests/test_handler.py::test_run_watcher"
+ "lib/urlwatch/tests/test_handler.py::test_number_of_tries_in_cache_is_increased"
+ "lib/urlwatch/tests/test_handler.py::test_report_error_when_out_of_tries"
+ "lib/urlwatch/tests/test_handler.py::test_reset_tries_to_zero_when_successful"
+ # Skip code quality check
+ "lib/urlwatch/tests/test_handler.py::test_pep8_conformance"
+)
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ if ! has_version dev-python/chump; then
+ elog "Install 'dev-python/chump' to enable Pushover" \
+ "notifications support"
+ fi
+ if ! has_version dev-python/jq; then
+ elog "Install 'dev-python/jq' to enable jq filtering support"
+ fi
+ if ! has_version dev-python/pushbullet-py; then
+ elog "Install 'dev-python/pushbullet-py' to enable" \
+ "Pushbullet notifications support"
+ fi
+ elog "HTML parsing can be improved by installing one of the following packages"
+ elog "and changing the html2text subfilter parameter:"
+ elog "dev-python/beautifulsoup4"
+ elog "app-text/html2text"
+ elog "dev-python/html2text"
+ elog "www-client/lynx"
+ fi
+}
next reply other threads:[~2021-11-13 1:58 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-13 1:58 Louis Sautier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-03 21:20 [gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/ Louis Sautier
2024-06-03 21:20 Louis Sautier
2024-03-15 1:48 Sam James
2024-03-15 1:48 Sam James
2024-03-11 21:29 Louis Sautier
2023-11-07 12:43 Louis Sautier
2023-11-07 12:43 Louis Sautier
2023-05-03 11:10 Louis Sautier
2023-05-03 11:10 Louis Sautier
2023-04-19 9:43 Sam James
2023-04-19 9:43 Sam James
2023-04-12 19:28 Louis Sautier
2023-04-12 11:47 Louis Sautier
2023-04-11 20:59 Louis Sautier
2023-02-26 20:09 Louis Sautier
2023-02-26 19:53 Louis Sautier
2023-02-26 19:53 Louis Sautier
2022-03-21 9:15 Jakov Smolić
2022-03-21 9:12 Jakov Smolić
2022-03-17 12:33 Louis Sautier
2022-03-17 12:33 Louis Sautier
2021-11-13 15:38 Louis Sautier
2021-07-15 22:37 Louis Sautier
2021-06-01 7:17 Patrice Clement
2021-06-01 6:59 Agostino Sarubbo
2021-06-01 6:32 Agostino Sarubbo
2021-04-15 19:34 Louis Sautier
2021-04-15 19:34 Louis Sautier
2020-12-19 21:34 Louis Sautier
2020-09-21 15:30 Michał Górny
2020-09-16 22:07 Louis Sautier
2020-09-15 11:47 Louis Sautier
2020-09-15 9:41 Louis Sautier
2020-08-24 14:01 Louis Sautier
2020-05-03 21:14 Louis Sautier
2020-04-23 9:32 Louis Sautier
2020-03-19 6:28 Michał Górny
2019-06-05 6:48 Agostino Sarubbo
2019-06-04 14:45 Thomas Deutschmann
2019-04-14 13:25 Louis Sautier
2019-04-14 13:25 Louis Sautier
2019-01-28 0:15 Louis Sautier
2019-01-28 0:15 Louis Sautier
2018-10-23 20:13 Louis Sautier
2018-10-23 20:13 Louis Sautier
2018-09-05 22:46 Louis Sautier
2018-08-30 12:01 Louis Sautier
2018-06-24 13:57 Louis Sautier
2018-06-07 21:30 Patrice Clement
2018-06-07 21:30 Patrice Clement
2018-05-20 21:18 Patrice Clement
2018-05-20 21:18 Patrice Clement
2018-05-20 21:18 Patrice Clement
2018-04-23 14:22 Patrice Clement
2017-11-25 23:14 Patrice Clement
2017-01-12 14:06 Patrice Clement
2016-09-03 22:00 Patrice Clement
2016-07-17 14:06 Patrice Clement
2016-07-17 14:06 Patrice Clement
2016-07-07 7:47 Patrice Clement
2016-02-06 10:16 Patrice Clement
2016-01-22 13:02 Ian Delaney
2016-01-20 14:45 Patrice Clement
2016-01-19 11:09 Patrice Clement
2016-01-19 11:09 Patrice Clement
2016-01-19 11:09 Patrice Clement
2015-09-15 0:41 Tim Harder
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=1636768481.f0cfbeaf60ffdbd11d58746c6d9d29318fb5ff5d.sbraz@gentoo \
--to=sbraz@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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