From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A0549158042 for ; Sat, 19 Oct 2024 07:30:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 978E1E0869; Sat, 19 Oct 2024 07:30:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81D7CE0869 for ; Sat, 19 Oct 2024 07:30:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A4643430B1 for ; Sat, 19 Oct 2024 07:30:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 096131F0F for ; Sat, 19 Oct 2024 07:30:44 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1729322903.8cc37fc1a542d87b88eb51bf84b21149c6579d6e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/linkchecker/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/linkchecker/Manifest net-analyzer/linkchecker/linkchecker-10.5.0.ebuild net-analyzer/linkchecker/metadata.xml X-VCS-Directories: net-analyzer/linkchecker/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 8cc37fc1a542d87b88eb51bf84b21149c6579d6e X-VCS-Branch: master Date: Sat, 19 Oct 2024 07:30:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 119b8c41-5ee6-4a54-b892-b9892808cf75 X-Archives-Hash: 5b08100d2e24c8b9130c96f2c26e1ea0 commit: 8cc37fc1a542d87b88eb51bf84b21149c6579d6e Author: Chris Mayo gmail com> AuthorDate: Sat Sep 14 16:35:03 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Oct 19 07:28:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cc37fc1 net-analyzer/linkchecker: add 10.5.0 Signed-off-by: Chris Mayo gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38524 Signed-off-by: Joonas Niilola gentoo.org> net-analyzer/linkchecker/Manifest | 1 + net-analyzer/linkchecker/linkchecker-10.5.0.ebuild | 67 ++++++++++++++++++++++ net-analyzer/linkchecker/metadata.xml | 1 + 3 files changed, 69 insertions(+) diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest index c31ad430659a..b0b02620c8bf 100644 --- a/net-analyzer/linkchecker/Manifest +++ b/net-analyzer/linkchecker/Manifest @@ -1 +1,2 @@ DIST LinkChecker-10.3.0.tar.gz 542403 BLAKE2B 24420c7479909d3d19d8fce45cfb2f5712107705a409f7d407097002ce6c6bb534a62a388b3a8d01760db7ac4200adf1d7250868dbeb41ec8cf8489a1776266b SHA512 fbcc4d10418642d6f0c0146a50294fa3d872eb98b53c49081af5d5ac644f1280694ad1ef8f82f639526ba08f6f0ed754b316567dd12c4e5e98360ccee4634d16 +DIST LinkChecker-10.5.0.tar.gz 546451 BLAKE2B caf2b4ad18b3fdd2efa8f55e5bf8914685cc9c1bc8c0d83673e06f2eb7d5effa5db6bb028dd094bac2ff3b2c39f7b68e2d5a81bccf40b280e1e0e79be9cefa19 SHA512 4bd39965430ce478db803776790ef382064ccda2096a6a3b358673821b941a064a20fb67a0b25a353859d60e3624cde33fe2b6797657c76882d3b84c443e4a84 diff --git a/net-analyzer/linkchecker/linkchecker-10.5.0.ebuild b/net-analyzer/linkchecker/linkchecker-10.5.0.ebuild new file mode 100644 index 000000000000..bd5bcd9d4c85 --- /dev/null +++ b/net-analyzer/linkchecker/linkchecker-10.5.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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 "Virus scanning" app-antivirus/clamav + optfeature "Check links in PDF files" app-text/pdfminer + optfeature "bash-completion support" dev-python/argcomplete +} diff --git a/net-analyzer/linkchecker/metadata.xml b/net-analyzer/linkchecker/metadata.xml index 6904bacfa7cb..6306297ad887 100644 --- a/net-analyzer/linkchecker/metadata.xml +++ b/net-analyzer/linkchecker/metadata.xml @@ -14,5 +14,6 @@ linkchecker/linkchecker + LinkChecker