summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/gnome-doc-utils/gnome-doc-utils-0.20.10-r3.ebuild (renamed from app-text/gnome-doc-utils/gnome-doc-utils-0.20.10-r2.ebuild)15
-rw-r--r--app-text/gnome-doc-utils/metadata.xml3
2 files changed, 13 insertions, 5 deletions
diff --git a/app-text/gnome-doc-utils/gnome-doc-utils-0.20.10-r2.ebuild b/app-text/gnome-doc-utils/gnome-doc-utils-0.20.10-r3.ebuild
index 748e7a382e70..3c536ca4e4ca 100644
--- a/app-text/gnome-doc-utils/gnome-doc-utils-0.20.10-r2.ebuild
+++ b/app-text/gnome-doc-utils/gnome-doc-utils-0.20.10-r3.ebuild
@@ -1,20 +1,19 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-PYTHON_COMPAT=( python3_{7..10} )
+EAPI=8
+PYTHON_COMPAT=( python3_{8..11} )
-inherit gnome2 multibuild python-r1
+inherit gnome2 python-r1
DESCRIPTION="A collection of documentation utilities for the Gnome project"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeDocUtils"
-SRC_URI+=" https://dev.gentoo.org/~juippis/distfiles/tmp/gnome-doc-utils-0.20.10-python3.patch"
+SRC_URI+=" https://dev.gentoo.org/~juippis/distfiles/tmp/${P}-python3.patch"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
@@ -24,6 +23,8 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.4
app-text/scrollkeeper-dtd
+"
+BDEPEND="
>=dev-util/intltool-0.35
sys-devel/gettext
virtual/awk
@@ -39,6 +40,10 @@ src_prepare() {
eapply "${FILESDIR}"/${P}-fix-out-of-tree-build.patch
eapply "${DISTDIR}"/${P}-python3.patch
+ # Empty py-compile, so it doesn't write its own pyo/pyc files
+ echo > "${S}"/py-compile
+ chmod a+x "${S}"/py-compile || die
+
gnome2_src_prepare
# Leave shebang alone
diff --git a/app-text/gnome-doc-utils/metadata.xml b/app-text/gnome-doc-utils/metadata.xml
index c6e394b17a27..b176e403791e 100644
--- a/app-text/gnome-doc-utils/metadata.xml
+++ b/app-text/gnome-doc-utils/metadata.xml
@@ -5,4 +5,7 @@
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">Archive/gnome-doc-utils</remote-id>
+ </upstream>
</pkgmetadata>