Diff urlwatch-2.25 with a urlwatch-2.26

/usr/portage/www-misc/urlwatch/urlwatch-2.26.ebuild 2023-10-09 14:52:35.896368512 +0300
17 17

  
18 18
LICENSE="BSD"
19 19
SLOT="0"
20
KEYWORDS="amd64 x86"
20
KEYWORDS="~amd64 ~x86"
21 21

  
22 22
RDEPEND="
23 23
	dev-python/appdirs[${PYTHON_USEDEP}]
......
30 30
"
31 31
BDEPEND="
32 32
	test? (
33
		app-text/tesseract[png]
33 34
		dev-python/docutils[${PYTHON_USEDEP}]
34 35
		dev-python/jq[${PYTHON_USEDEP}]
36
		dev-python/pytesseract[${PYTHON_USEDEP}]
35 37
	)
36 38
"
37 39

  
......
44 46
	# Require the pdftotext module
45 47
	"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf]"
46 48
	"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf]"
47
	# Requires the pytesseract module
48
	"lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/ocr-test.png]"
49
	# Fail because of argv parsing: https://github.com/thp/urlwatch/issues/677
50
	"lib/urlwatch/tests/test_handler.py::test_run_watcher"
51
	"lib/urlwatch/tests/test_handler.py::test_number_of_tries_in_cache_is_increased"
52
	"lib/urlwatch/tests/test_handler.py::test_report_error_when_out_of_tries"
53
	"lib/urlwatch/tests/test_handler.py::test_reset_tries_to_zero_when_successful"
54 49
	# Skip code quality check
55 50
	"lib/urlwatch/tests/test_handler.py::test_pep8_conformance"
56 51
)
......
68 63
			elog "Install 'dev-python/pushbullet-py' to enable" \
69 64
				"Pushbullet notifications support"
70 65
		fi
66
		if ! has_version dev-python/pytesseract; then
67
			elog "Install 'dev-python/pytesseract' to enable OCR support"
68
		fi
71 69
		elog "HTML parsing can be improved by installing one of the following packages"
72 70
		elog "and changing the html2text subfilter parameter:"
73 71
		elog "dev-python/beautifulsoup4"
Thank you!