summaryrefslogtreecommitdiff
path: root/net-analyzer/linkchecker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /net-analyzer/linkchecker
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'net-analyzer/linkchecker')
-rw-r--r--net-analyzer/linkchecker/Manifest5
-rw-r--r--net-analyzer/linkchecker/linkchecker-10.0.1.ebuild53
-rw-r--r--net-analyzer/linkchecker/linkchecker-10.2.1.ebuild67
-rw-r--r--net-analyzer/linkchecker/linkchecker-9999.ebuild58
4 files changed, 69 insertions, 114 deletions
diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest
index 414e6aca84d0..653cdaca7211 100644
--- a/net-analyzer/linkchecker/Manifest
+++ b/net-analyzer/linkchecker/Manifest
@@ -1,8 +1,7 @@
AUX linkchecker-10.1.0-version.patch 947 BLAKE2B 50ba94c0247bf4045d826e138e3608d69c8a15aa87c47567354e964bb6f691f659b2343a62f46fbc7dcba93f7df65fb3bed13f2ecd89546bddf241951b57126a SHA512 e1f0f43940e0a18fe4a093218cd504acc29b3a5339923347e6593a80e741f0de215a41382abbb68a91fe8d9937c65b436fc9b5e9069c25c9d319d6587b217abc
AUX linkchecker-9.3-bash-completion.patch 621 BLAKE2B bce120caf1cddcd11e49c06b5cbd08e5651ad48e89e07c72382f0ea7da62a4070f2e4607880f4ccb44b015c953ca8b9734d10db77081d2ff027fcc30c7163e39 SHA512 736b4da75bf905845964e2a097d192fe075095656818d9e9fd118327510d8fe176c713d5e77752be99b2b13fc10dc4c07bd246cb8b77bd2a99056e6ef0fe4904
-DIST linkchecker-10.0.1.tar.gz 512649 BLAKE2B f0373da6c1b4c18394500f32936065dca8b4a92532f5da6f15a4470c2e458df147009599939a41fc36f5ae4941c0fdd97aa9bf77a7237544f3df3bf5772ed884 SHA512 2d57092591187f62f7ae685b867ab02d08108ce3a687ea7da444e57cbe5e9f74220747beee322ccfec0ce4319c95cc37ba0908ba8fae6a8d88bdb0928d099099
+DIST LinkChecker-10.2.1.tar.gz 545530 BLAKE2B ddbf22d9cdd04d89257b92d032cff24e4dde866b4be115f7b5b878bf2a42dd08159eef451b33ed621d747f06dffa445f4258975b932e5ae0eb8b79cfb8203549 SHA512 6410aff11e94cbf001979a85dd41e50daaa6a3577689d4256a0a5627a29253baef24ed7739dbafe91f58c0841923ac3094aa558e91f34629e3e6c008e461230a
DIST linkchecker-10.1.0.tar.gz 521214 BLAKE2B 767c1176751a2011e0e175eb7c9e7b3704bda0d469bad7b38ac1481db62b470fbb69a62bf11316699e15fd1ca822f801a1237c798754353aba5c559ccd9d3274 SHA512 a6ba57ef9c617ece2c53d54cf460571561bfa60831e038e31e520e7fbee789566616b6e5b0b98529376510ef4e228bebdb6e6e011fb986b74d837ebc69323085
-EBUILD linkchecker-10.0.1.ebuild 1269 BLAKE2B 7e52c913fcd4db0fccfeb6f3da2422e85b58a776a859c5ab9776a07e1f86bd8e5ea5b95722998d5585bfe7da155b7dcdeb197f79efdd568831f7830e36c9f3cd SHA512 a9063fd130a449ea494b10914bb979b5687508da8f8799684dd8ce294a1e6bb3fd928f53739fafef4f9421fec1619016ad77086fc6972e3869acacdf3455ded1
EBUILD linkchecker-10.1.0.ebuild 1445 BLAKE2B c1143e5886b7508498f680a3051335eee23ced5036becaba4ddf666ca95c74c3e6ad2f8a56f03640dc866722d9f6bf717cc1e60ef73df19f7e900b1231db0e4b SHA512 6006b5c738d4f0e057882a71b68c0b72536bbd54ce69886bdf77b97a573d587b859185dd9c89c3e715710e371cdfaa1d9765a5dc03c8a50ee56cb0622076eec6
-EBUILD linkchecker-9999.ebuild 1302 BLAKE2B b9ea70cc4b12c303aa8be941b32b76aa0a4aa75cd24a745f4ea9ef1d5301e1157223d514dee5dbae9574c76637d45d4f95cbcb4604d78165a296e287c8493766 SHA512 c63bc1301bcd606c2001b00dd8af5d989df57cb9229e2be275e6bedc08b269a52556438299d4e21bc9f38ae2020f1efd4b63c4acd6a2cd377095e9142b782347
+EBUILD linkchecker-10.2.1.ebuild 1671 BLAKE2B ea494dd8b7729a8e8ad42f140804d2dd5f6357059fc63a9ec1a61d26621dafb84960432bc8fcb0e8008fe970821ca85145ed50bd8bd472dc6ebbe3bd379d194c SHA512 93ddf886175394125b10dfc30100497554ec6c4b4fbb8588379b69fdf11ab3c92ac25c8565674dd05c6c4e292b9335485c46963a108fb2e58600a991cd3f3e8c
MISC metadata.xml 575 BLAKE2B 6996e2d330f7c0e9976cf1cc2964ce3d426f5527c491dfb0630630bddee0c932f28b0ff9fe1c9d4778ad7d73bbb69816d8740f7b3b1b5fb5545dacd073c51aaf SHA512 567a432bd5410dddf0589eaadc6ea81f516c131ce84c3ba2e1a42757d32362821f3ea1bb832d4f41381d4ee62152c019b8daa46685353cba8a6da89bb892a989
diff --git a/net-analyzer/linkchecker/linkchecker-10.0.1.ebuild b/net-analyzer/linkchecker/linkchecker-10.0.1.ebuild
deleted file mode 100644
index b1cc402ab430..000000000000
--- a/net-analyzer/linkchecker/linkchecker-10.0.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_9 )
-PYTHON_REQ_USE="sqlite?"
-
-inherit bash-completion-r1 distutils-r1 optfeature
-
-DESCRIPTION="Check websites for broken links"
-HOMEPAGE="https://github.com/linkcheck/linkchecker"
-
-if [[ "${PV}" == "9999" ]]; then
- EGIT_REPO_URI="https://github.com/linkcheck/linkchecker.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/linkchecker/linkchecker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="sqlite"
-# requires libs not present in portage yet
-RESTRICT="test"
-
-RDEPEND="
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/dnspython[${PYTHON_USEDEP}]
- dev-python/pyxdg[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-9.3-bash-completion.patch"
-)
-
-DOCS=(
- doc/changelog.txt
- doc/upgrading.txt
-)
-
-python_install_all() {
- distutils-r1_python_install_all
- newbashcomp config/linkchecker-completion ${PN}
-}
-
-pkg_postinst() {
- optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}]
- optfeature "Virus scanning" app-antivirus/clamav
- optfeature "GNOME proxy settings support" dev-python/pygobject[${PYTHON_USEDEP}]
-}
diff --git a/net-analyzer/linkchecker/linkchecker-10.2.1.ebuild b/net-analyzer/linkchecker/linkchecker-10.2.1.ebuild
new file mode 100644
index 000000000000..832366f8fa28
--- /dev/null
+++ b/net-analyzer/linkchecker/linkchecker-10.2.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="sqlite?"
+DISTUTILS_USE_PEP517=hatchling
+DISTUTILS_SINGLE_IMPL=1
+
+inherit bash-completion-r1 distutils-r1 multiprocessing optfeature
+
+DESCRIPTION="Check websites for broken links"
+HOMEPAGE="https://github.com/linkcheck/linkchecker"
+SRC_URI="https://github.com/linkchecker/linkchecker/releases/download/v${PV}/LinkChecker-${PV}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="GPL-2"
+SLOT="0"
+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/parameterized[${PYTHON_USEDEP}]
+ dev-python/pyftpdlib[${PYTHON_USEDEP}]
+ dev-python/pyopenssl[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ ')
+ sys-devel/gettext
+ )
+"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}/${PN}-9.3-bash-completion.patch" )
+
+DOCS=(
+ doc/changelog.txt
+ doc/upgrading.txt
+)
+
+python_test() {
+ # Telnet test uses miniboa which is not available in Gentoo
+ rm -f tests/checker/test_telnet.py
+ # Multiple warnings about unclosed test sockets with epytest
+ 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/linkchecker-9999.ebuild b/net-analyzer/linkchecker/linkchecker-9999.ebuild
deleted file mode 100644
index c473050a7913..000000000000
--- a/net-analyzer/linkchecker/linkchecker-9999.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-PYTHON_REQ_USE="sqlite?"
-
-inherit bash-completion-r1 distutils-r1 optfeature
-
-DESCRIPTION="Check websites for broken links"
-HOMEPAGE="https://github.com/linkcheck/linkchecker"
-
-if [[ "${PV}" == "9999" ]]; then
- EGIT_REPO_URI="https://github.com/linkcheck/linkchecker.git"
- inherit git-r3
-else
- SRC_URI=""
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="sqlite"
-# requires libs not present in portage yet
-RESTRICT="test"
-
-RDEPEND="
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/dnspython[${PYTHON_USEDEP}]
- dev-python/pyxdg[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/setuptools_scm[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-9.3-bash-completion.patch"
-)
-
-DOCS=(
- doc/changelog.txt
- doc/upgrading.txt
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-}
-
-python_install_all() {
- distutils-r1_python_install_all
- newbashcomp config/linkchecker-completion ${PN}
-}
-
-pkg_postinst() {
- optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}]
- optfeature "Virus scanning" app-antivirus/clamav
- optfeature "GNOME proxy settings support" dev-python/pygobject[${PYTHON_USEDEP}]
-}