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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3AC6138359 for ; Thu, 27 Aug 2020 09:20:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A75EE0C8A; Thu, 27 Aug 2020 09:20:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50C38E0C89 for ; Thu, 27 Aug 2020 09:20:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE57C340871 for ; Thu, 27 Aug 2020 09:20:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 432462EE for ; Thu, 27 Aug 2020 09:20:21 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1598520014.e327358f85ed6359cedb374b8b14d9af544ad447.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/linkchecker/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/linkchecker/linkchecker-9999.ebuild X-VCS-Directories: net-analyzer/linkchecker/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e327358f85ed6359cedb374b8b14d9af544ad447 X-VCS-Branch: master Date: Thu, 27 Aug 2020 09:20:21 +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: 65814222-2c63-46ec-88cc-fabb7566563b X-Archives-Hash: 1428a37886a9a1a844c884400ec198c2 commit: e327358f85ed6359cedb374b8b14d9af544ad447 Author: Tomáš Mózes gmail com> AuthorDate: Wed Jul 29 18:48:56 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 27 09:20:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e327358f net-analyzer/linkchecker: sync live ebuild Bug: https://bugs.gentoo.org/712958 Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Michał Górny gentoo.org> net-analyzer/linkchecker/linkchecker-9999.ebuild | 32 +++++++++++++----------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/net-analyzer/linkchecker/linkchecker-9999.ebuild b/net-analyzer/linkchecker/linkchecker-9999.ebuild index 32272ea2e2c..96c44d5d7cb 100644 --- a/net-analyzer/linkchecker/linkchecker-9999.ebuild +++ b/net-analyzer/linkchecker/linkchecker-9999.ebuild @@ -1,31 +1,36 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python3_{6..8} ) PYTHON_REQ_USE="sqlite?" -EGIT_REPO_URI="https://github.com/linkcheck/linkchecker.git" -inherit bash-completion-r1 distutils-r1 eutils git-r3 +inherit bash-completion-r1 distutils-r1 eutils DESCRIPTION="Check websites for broken links" HOMEPAGE="https://github.com/linkcheck/linkchecker" -SRC_URI="" + +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" -KEYWORDS="" IUSE="sqlite" +# requires py2 only libs +RESTRICT="test" RDEPEND=" + dev-python/beautifulsoup[${PYTHON_USEDEP}] dev-python/dnspython[${PYTHON_USEDEP}] dev-python/pyxdg[${PYTHON_USEDEP}] - >=dev-python/requests-2.4[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] " -DEPEND="" - -RESTRICT="test" python_prepare_all() { local PATCHES=( @@ -36,16 +41,12 @@ python_prepare_all() { } python_install_all() { - DOCS=( + local DOCS=( doc/changelog.txt - doc/development.mdwn - doc/python3.txt doc/upgrading.txt ) distutils-r1_python_install_all - rm "${ED}"/usr/share/applications/linkchecker.desktop || die - newbashcomp config/linkchecker-completion ${PN} } @@ -53,4 +54,5 @@ pkg_postinst() { optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}] optfeature "Virus scanning" app-antivirus/clamav optfeature "Geo IP support" dev-python/geoip-python[${PYTHON_USEDEP}] + optfeature "GNOME proxy settings support" dev-python/pygobject[${PYTHON_USEDEP}] }