-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
+# Copyright © 2021 Nick Bowler
+#
+# License GPLv2+: GNU General Public License version 2 or any later version.
+# This is free software: you are free to change and redistribute it.
+# There is NO WARRANTY, to the extent permitted by law.
+#
+# This is a modified version of the original ebuild from Gentoo GNU/Linux,
+# covered by the following copyright and permission notice:
+#
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
GNOME_TARBALL_SUFFIX="bz2"
+_PYTHON_ALLOW_PY27=1
PYTHON_COMPAT=( python2_7 )
inherit autotools flag-o-matic gnome2 python-r1 virtualx
>=x11-libs/gtk+-2.24:2
>=dev-python/pycairo-1.0.2:2[$PYTHON_USEDEP]
>=dev-python/pygobject-2.26.8-r53:2[$PYTHON_USEDEP]
- >=gnome-base/libglade-2.5:2.0
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? (
- dev-libs/libxslt
- >=app-text/docbook-xsl-stylesheets-1.70.1 )
-"
+ >=gnome-base/libglade-2.5:2.0"
+DEPEND=$RDEPEND
+BDEPEND="virtual/pkgconfig
+ doc? ( dev-libs/libxslt
+ >=app-text/docbook-xsl-stylesheets-1.70.1 )"
PATCHES=(
# Fix declaration of codegen in .pc