diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /net-analyzer/linkchecker | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'net-analyzer/linkchecker')
| -rw-r--r-- | net-analyzer/linkchecker/Manifest | 2 | ||||
| -rw-r--r-- | net-analyzer/linkchecker/files/linkchecker-9.3-bash-completion.patch | 21 | ||||
| -rw-r--r-- | net-analyzer/linkchecker/linkchecker-10.5.0.ebuild | 67 | ||||
| -rw-r--r-- | net-analyzer/linkchecker/linkchecker-10.6.0.ebuild | 66 | ||||
| -rw-r--r-- | net-analyzer/linkchecker/metadata.xml | 19 |
5 files changed, 175 insertions, 0 deletions
diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest new file mode 100644 index 000000000000..cb022ae33356 --- /dev/null +++ b/net-analyzer/linkchecker/Manifest @@ -0,0 +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/files/linkchecker-9.3-bash-completion.patch b/net-analyzer/linkchecker/files/linkchecker-9.3-bash-completion.patch new file mode 100644 index 000000000000..5c7540f0bc85 --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-9.3-bash-completion.patch @@ -0,0 +1,21 @@ + config/linkchecker-completion | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/config/linkchecker-completion b/config/linkchecker-completion +index 5252b3b..0ea3b21 100644 +--- a/config/linkchecker-completion ++++ b/config/linkchecker-completion +@@ -2,7 +2,6 @@ + # Debian Linux system. For other system read the documentation that + # comes with the bash-completion package. + +-have linkchecker && + _linkcheck() { + local cur prev + +@@ -17,4 +16,4 @@ _linkcheck() { + fi + return 0 + } +-[ "$have" ] && complete $filenames -F _linkcheck linkchecker ++complete $filenames -F _linkcheck linkchecker 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..04e8c8de45c9 --- /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_{13..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 "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-10.6.0.ebuild b/net-analyzer/linkchecker/linkchecker-10.6.0.ebuild new file mode 100644 index 000000000000..f623153d74d7 --- /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_{13..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 +} diff --git a/net-analyzer/linkchecker/metadata.xml b/net-analyzer/linkchecker/metadata.xml new file mode 100644 index 000000000000..6306297ad887 --- /dev/null +++ b/net-analyzer/linkchecker/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>hydrapolic@gmail.com</email> + <name>Tomáš Mózes</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="sqlite">Mozilla Bookmark parsing</flag> + </use> + <upstream> + <remote-id type="github">linkchecker/linkchecker</remote-id> + <remote-id type="pypi">LinkChecker</remote-id> + </upstream> +</pkgmetadata> |
