summaryrefslogtreecommitdiff
path: root/dev-python/python-caja/python-caja-1.26.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-04-11 16:35:35 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-04-11 16:35:35 +0000
commit731189a4cf6319fbdc3e7f8beb7235bacde8c69b (patch)
tree428ffdbb6f16c710cd9ffc6672d1e5ca73f838fc /dev-python/python-caja/python-caja-1.26.0.ebuild
parent95a3feca3fe1a4e5ec431386c1d35802e9ef12db (diff)
downloadbaldeagleos-repo-731189a4cf6319fbdc3e7f8beb7235bacde8c69b.tar.gz
baldeagleos-repo-731189a4cf6319fbdc3e7f8beb7235bacde8c69b.tar.xz
baldeagleos-repo-731189a4cf6319fbdc3e7f8beb7235bacde8c69b.zip
Adding metadata
Diffstat (limited to 'dev-python/python-caja/python-caja-1.26.0.ebuild')
-rw-r--r--dev-python/python-caja/python-caja-1.26.0.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/python-caja/python-caja-1.26.0.ebuild b/dev-python/python-caja/python-caja-1.26.0.ebuild
new file mode 100644
index 000000000000..680cc0fdbe1a
--- /dev/null
+++ b/dev-python/python-caja/python-caja-1.26.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MATE_LA_PUNT="yes"
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
+inherit mate python-single-r1
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="amd64 ~arm x86"
+fi
+
+DESCRIPTION="Python bindings for the Caja file manager"
+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_USEDEP}]' )
+ >=mate-base/caja-1.17.1[introspection]
+ >=x11-libs/gtk+-3.22:3
+"
+
+RDEPEND="${COMMON_DEPEND}"
+
+BDEPEND="${COMMON_DEPEND}
+ dev-util/gtk-doc
+ dev-build/gtk-doc-am
+ >=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
+
+ # Keep the directory for systemwide extensions.
+ keepdir /usr/share/caja-python/extensions/
+
+ # The HTML documentation generation is broken and commented out by upstream.
+ #
+ #if use doc ; then
+ # insinto /usr/share/gtk-doc/html/nautilus-python # for dev-util/devhelp
+ # doins -r docs/html/*
+ #fi
+}