summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-31 00:13:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-31 00:21:04 +0100
commit83a236efa0f92cd887c47c27fb17cd73ab04f090 (patch)
treea51bc259bc57ca67325fe5309f57b73a486c22e7 /net-analyzer
parentnet-analyzer/linkchecker: Sync w/ 9.3.1 ebuild, drop USE=X (diff)
downloadgentoo-83a236efa0f92cd887c47c27fb17cd73ab04f090.tar.gz
gentoo-83a236efa0f92cd887c47c27fb17cd73ab04f090.tar.bz2
gentoo-83a236efa0f92cd887c47c27fb17cd73ab04f090.zip
net-analyzer/linkchecker: Drop USE=X
Bug: https://bugs.gentoo.org/634972 Package-Manager: Portage-2.3.21, Repoman-2.3.6
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild32
1 files changed, 11 insertions, 21 deletions
diff --git a/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild b/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild
index 109499f785b..2587e19ebf2 100644
--- a/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild
+++ b/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild
@@ -15,21 +15,14 @@ SRC_URI="https://github.com/linkcheck/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-solaris"
-IUSE="gnome sqlite X"
+IUSE="gnome sqlite"
RDEPEND="
virtual/python-dnspython[${PYTHON_USEDEP}]
dev-python/requests[${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"
@@ -37,7 +30,6 @@ python_prepare_all() {
local PATCHES=(
"${FILESDIR}/${PN}-9.2-unbundle.patch"
"${FILESDIR}/${PN}-9.3-bash-completion.patch"
- "${FILESDIR}/${PN}-9.3-desktop.patch"
"${FILESDIR}/${PN}-9.3.1-build-fix.patch"
"${FILESDIR}/${PN}-9.3.1-requests.patch"
)
@@ -46,6 +38,12 @@ python_prepare_all() {
}
python_install_all() {
+ delete_gui() {
+ rm -rf \
+ "${ED}"/usr/bin/linkchecker-gui* \
+ "${ED}"/$(python_get_sitedir)/linkcheck/gui* || die
+ }
+
DOCS=(
doc/upgrading.txt
doc/python3.txt
@@ -53,17 +51,9 @@ python_install_all() {
doc/development.txt
)
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
+ python_foreach_impl delete_gui
+ rm -f "${ED}"/usr/share/applications/linkchecker*.desktop || die
newicon doc/html/logo64x64.png ${PN}.png