diff options
Diffstat (limited to 'dev-python/python-caja')
| -rw-r--r-- | dev-python/python-caja/python-caja-1.24.0-r3.ebuild (renamed from dev-python/python-caja/python-caja-1.24.0.ebuild) | 15 | ||||
| -rw-r--r-- | dev-python/python-caja/python-caja-1.26.0-r1.ebuild | 60 | ||||
| -rw-r--r-- | dev-python/python-caja/python-caja-9999.ebuild | 15 |
3 files changed, 78 insertions, 12 deletions
diff --git a/dev-python/python-caja/python-caja-1.24.0.ebuild b/dev-python/python-caja/python-caja-1.24.0-r3.ebuild index b715d940a33b..3c81ccf3b1b6 100644 --- a/dev-python/python-caja/python-caja-1.24.0.ebuild +++ b/dev-python/python-caja/python-caja-1.24.0-r3.ebuild @@ -1,33 +1,36 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 MATE_LA_PUNT="yes" + PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit mate python-single-r1 -if [[ ${PV} != 9999 ]]; then - KEYWORDS="~amd64 ~arm ~x86" +if [[ "${PV}" != *9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~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_MULTI_USEDEP}]' ) + $( 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}" -DEPEND="${COMMON_DEPEND} +BDEPEND="${COMMON_DEPEND} dev-util/gtk-doc dev-util/gtk-doc-am >=sys-devel/gettext-0.19.8 diff --git a/dev-python/python-caja/python-caja-1.26.0-r1.ebuild b/dev-python/python-caja/python-caja-1.26.0-r1.ebuild new file mode 100644 index 000000000000..3c81ccf3b1b6 --- /dev/null +++ b/dev-python/python-caja/python-caja-1.26.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MATE_LA_PUNT="yes" + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit mate python-single-r1 + +if [[ "${PV}" != *9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~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-util/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 +} diff --git a/dev-python/python-caja/python-caja-9999.ebuild b/dev-python/python-caja/python-caja-9999.ebuild index 88110a67927e..3c81ccf3b1b6 100644 --- a/dev-python/python-caja/python-caja-9999.ebuild +++ b/dev-python/python-caja/python-caja-9999.ebuild @@ -1,33 +1,36 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 MATE_LA_PUNT="yes" + PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit mate python-single-r1 -if [[ ${PV} != 9999 ]]; then - KEYWORDS="~amd64 ~arm ~x86" +if [[ "${PV}" != *9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~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_MULTI_USEDEP}]' ) + $( 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}" -DEPEND="${COMMON_DEPEND} +BDEPEND="${COMMON_DEPEND} dev-util/gtk-doc dev-util/gtk-doc-am >=sys-devel/gettext-0.19.8 |
