commit: 5ef0ba07b13151186bac9a2e2996767c0e067c55 Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> AuthorDate: Wed Mar 4 19:25:45 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 7 01:19:16 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef0ba07
net-analyzer/linkchecker: add 10.6.0 Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43218 Closes: https://github.com/gentoo/gentoo/pull/43218 Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/linkchecker/Manifest | 1 + net-analyzer/linkchecker/linkchecker-10.6.0.ebuild | 66 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest index 98e17beea0eb..cb022ae33356 100644 --- a/net-analyzer/linkchecker/Manifest +++ b/net-analyzer/linkchecker/Manifest @@ -1 +1,2 @@ DIST LinkChecker-10.5.0.tar.gz 546451 BLAKE2B caf2b4ad18b3fdd2efa8f55e5bf8914685cc9c1bc8c0d83673e06f2eb7d5effa5db6bb028dd094bac2ff3b2c39f7b68e2d5a81bccf40b280e1e0e79be9cefa19 SHA512 4bd39965430ce478db803776790ef382064ccda2096a6a3b358673821b941a064a20fb67a0b25a353859d60e3624cde33fe2b6797657c76882d3b84c443e4a84 +DIST LinkChecker-10.6.0.tar.gz 547746 BLAKE2B 3fa628eefb917f04a53274618c617ded03eea46fabfe6e186962aa0e7deea9555db51a1a57110c9dc2f48131f1385439b23d2eb4a3fe83005463cb117577862b SHA512 a96c362a48862914b83a78af27d967b1225c5f55fde4f2ee533b5996eda7b4b0f7b8a73ea75cbeb246ec6f65fc320f4095644f4113e0fcd6d0b1e78ffe788b8d diff --git a/net-analyzer/linkchecker/linkchecker-10.6.0.ebuild b/net-analyzer/linkchecker/linkchecker-10.6.0.ebuild new file mode 100644 index 000000000000..c50dfebfe9eb --- /dev/null +++ b/net-analyzer/linkchecker/linkchecker-10.6.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="sqlite?" +DISTUTILS_USE_PEP517=hatchling +DISTUTILS_SINGLE_IMPL=1 +PYPI_NO_NORMALIZE=1 +PYPI_PN=LinkChecker + +inherit bash-completion-r1 distutils-r1 multiprocessing optfeature pypi + +DESCRIPTION="Check websites for broken links" +HOMEPAGE="https://github.com/linkchecker/linkchecker" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sqlite" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + app-text/pdfminer[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyftpdlib[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + ') + sys-devel/gettext + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}/${PN}-9.3-bash-completion.patch" ) + +DOCS=( + doc/changelog.txt + doc/upgrading.txt +) + +python_test() { + # epytest overrides bs4 ignores from pytest.ini + # and also outputs multiple warnings about unclosed test sockets + pytest -vra -n "$(makeopts_jobs)" || die +} + +python_install_all() { + distutils-r1_python_install_all + newbashcomp config/linkchecker-completion ${PN} +} + +pkg_postinst() { + optfeature "Check links in PDF files" app-text/pdfminer + optfeature "bash-completion support" dev-python/argcomplete +}
