Skip to content

Commit

Permalink
app-misc/hachoir-metadata: Drop USE qt4
Browse files Browse the repository at this point in the history
Qt4 is dead.

Package-Manager: Portage-2.3.20, Repoman-2.3.6
  • Loading branch information
a17r committed Jan 24, 2018
1 parent 1222416 commit 5525701
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions app-misc/hachoir-metadata/hachoir-metadata-1.3.3-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
Expand All @@ -14,14 +14,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="gnome gtk qt4"
IUSE="gnome gtk"

RDEPEND="
>=dev-python/hachoir-core-1.3[${PYTHON_USEDEP}]
>=dev-python/hachoir-parser-1.3[${PYTHON_USEDEP}]
gtk? ( >=dev-python/pygtk-2.0[${PYTHON_USEDEP}] )
gnome? ( gnome-base/nautilus gnome-extra/zenity )
qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] )"
gnome? ( gnome-base/nautilus gnome-extra/zenity )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

Expand All @@ -34,9 +33,7 @@ python_prepare_all() {
}

python_configure_all() {
mydistutilsargs=( --setuptools )

use qt4 || mydistutilsargs+=( --disable-qt )
mydistutilsargs=( --setuptools --disable-qt )
}

python_test() {
Expand Down

0 comments on commit 5525701

Please sign in to comment.