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 A9A1A1382C5 for ; Tue, 30 Jan 2018 23:21:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E47EE0AFC; Tue, 30 Jan 2018 23:21:34 +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 002A8E0AFB for ; Tue, 30 Jan 2018 23:21:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AC32D335C6A for ; Tue, 30 Jan 2018 23:21:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 416331BD for ; Tue, 30 Jan 2018 23:21:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1517354464.7fdb1976e5254305f2663a280b5508889fa0ff93.asturm@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: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7fdb1976e5254305f2663a280b5508889fa0ff93 X-VCS-Branch: master Date: Tue, 30 Jan 2018 23:21:29 +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-Archives-Salt: 09c74270-db4e-4adc-8bf3-761e74aeec04 X-Archives-Hash: dca6d097e6922fc9cf0517625448f735 commit: 7fdb1976e5254305f2663a280b5508889fa0ff93 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Jan 30 22:50:44 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Jan 30 23:21:04 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fdb1976 net-analyzer/linkchecker: Sync w/ 9.3.1 ebuild, drop USE=X Package-Manager: Portage-2.3.21, Repoman-2.3.6 net-analyzer/linkchecker/linkchecker-9999.ebuild | 51 ++++++------------------ 1 file changed, 13 insertions(+), 38 deletions(-) diff --git a/net-analyzer/linkchecker/linkchecker-9999.ebuild b/net-analyzer/linkchecker/linkchecker-9999.ebuild index 82cfea75b98..bf89b20f35c 100644 --- a/net-analyzer/linkchecker/linkchecker-9999.ebuild +++ b/net-analyzer/linkchecker/linkchecker-9999.ebuild @@ -1,48 +1,33 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite?" +EGIT_REPO_URI="https://github.com/linkcheck/linkchecker.git" inherit bash-completion-r1 distutils-r1 eutils git-r3 multilib -MY_P="${P/linkchecker/LinkChecker}" - DESCRIPTION="Check websites for broken links" -HOMEPAGE="https://wummel.github.com/linkchecker/ https://pypi.python.org/pypi/linkchecker/" +HOMEPAGE="https://github.com/linkcheck/linkchecker" SRC_URI="" -EGIT_REPO_URI="https://github.com/wummel/linkchecker.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="gnome sqlite X" +IUSE="gnome sqlite" RDEPEND=" virtual/python-dnspython[${PYTHON_USEDEP}] gnome? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) - X? ( - dev-python/PyQt4[X,help,${PYTHON_USEDEP}] - dev-python/qscintilla-python[qt4(+),${PYTHON_USEDEP}] - )" -DEPEND=" - X? ( - dev-qt/qthelp:4 - dev-python/markdown2[${PYTHON_USEDEP}] - )" +" +DEPEND="" RESTRICT="test" python_prepare_all() { - local PATCHES=( - "${FILESDIR}"/${PN}-9.2-unbundle.patch - "${FILESDIR}"/${PN}-9.3-bash-completion.patch - "${FILESDIR}"/${PN}-9.3-desktop.patch - ) - - emake -C doc/html + local PATCHES=( "${FILESDIR}"/${PN}-9.3-bash-completion.patch ) distutils-r1_python_prepare_all } @@ -52,26 +37,16 @@ python_install_all() { doc/upgrading.txt doc/python3.txt doc/changelog.txt - doc/development.txt + doc/development.mdwn ) distutils-r1_python_install_all - if ! use X; then - delete_gui() { - rm -rf \ - "${ED}"/usr/bin/linkchecker-gui* \ - "${ED}"/$(python_get_sitedir)/linkcheck/gui* || die - } - python_foreach_impl delete_gui - rm -f "${ED}"/usr/share/applications/linkchecker*.desktop || die - fi - - rm -f "${ED}"/usr/share/applications/linkchecker.desktop || die - newicon doc/html/logo64x64.png ${PN}.png + rm "${ED}"/usr/share/applications/linkchecker.desktop || die - docinto html - dodoc doc/html/* newbashcomp config/linkchecker-completion ${PN} +} + +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}]