Skip to content

Commit

Permalink
app-editors/bluefish: Eradicate python2 support
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/735208
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Aug 22, 2020
1 parent f700734 commit 3bc08ce
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions app-editors/bluefish/bluefish-2.2.10.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

EAPI=6

PYTHON_COMPAT=( python2_7 )

inherit autotools gnome2-utils python-single-r1 xdg-utils
inherit autotools gnome2-utils xdg-utils

MY_P=${P/_/-}

Expand All @@ -16,8 +14,7 @@ HOMEPAGE="http://bluefish.openoffice.nl/"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
SLOT="0"
IUSE="+gtk3 gucharmap nls python spell"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
IUSE="+gtk3 gucharmap nls spell"

RDEPEND="
sys-libs/zlib
Expand All @@ -26,7 +23,6 @@ RDEPEND="
x11-libs/gtk+:3
gucharmap? ( gnome-extra/gucharmap:2.90 )
)
python? ( ${PYTHON_DEPS} )
spell? ( >=app-text/enchant-1.4:0 )"
DEPEND="${RDEPEND}
dev-libs/libxml2:2
Expand All @@ -48,8 +44,6 @@ pkg_setup() {
ewarn "gucharmap USE flag requires the gtk3 USE flag being enabled."
ewarn "Disabling charmap plugin."
fi

use python && python-single-r1_pkg_setup
}

PATCHES=(
Expand All @@ -71,7 +65,7 @@ src_configure() {
$(usex gtk3 "$(use_with gucharmap charmap)" '--without-charmap') \
$(use_enable nls) \
$(use_enable spell spell-check) \
$(use_enable python)
--disable-python
}

src_install() {
Expand Down

0 comments on commit 3bc08ce

Please sign in to comment.