summaryrefslogtreecommitdiff
path: root/dev-python/python-caja/python-caja-1.24.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-caja/python-caja-1.24.0.ebuild')
-rw-r--r--dev-python/python-caja/python-caja-1.24.0.ebuild23
1 files changed, 16 insertions, 7 deletions
diff --git a/dev-python/python-caja/python-caja-1.24.0.ebuild b/dev-python/python-caja/python-caja-1.24.0.ebuild
index 95665e2e333f..9cbd273be362 100644
--- a/dev-python/python-caja/python-caja-1.24.0.ebuild
+++ b/dev-python/python-caja/python-caja-1.24.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,25 +13,34 @@ if [[ ${PV} != 9999 ]]; then
fi
DESCRIPTION="Python bindings for the Caja file manager"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
IUSE="doc"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
COMMON_DEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.50:2
- $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]')
+ $( python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]' )
>=mate-base/caja-1.17.1[introspection]
- sys-devel/gettext
- >=x11-libs/gtk+-3.22:3"
+ >=x11-libs/gtk+-3.22:3
+"
RDEPEND="${COMMON_DEPEND}"
DEPEND="${COMMON_DEPEND}
dev-util/gtk-doc
dev-util/gtk-doc-am
- virtual/pkgconfig:*
- doc? ( app-text/docbook-xml-dtd:4.1.2 )"
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ doc? ( app-text/docbook-xml-dtd:4.1.2 )
+"
+
+src_prepare() {
+ MATE_FORCE_AUTORECONF="true"
+
+ sed -i "s/\$(PACKAGE)/${PF}/g" examples/Makefile.am || die
+ mate_src_prepare
+}
src_install() {
mate_src_install