summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Feldman <NP-Hardass@gentoo.org>2021-08-01 20:23:32 -0400
committerAdam Feldman <NP-Hardass@gentoo.org>2021-08-01 21:38:50 -0400
commit62d667f50d82c08b5a41890cdee80aaf902f7904 (patch)
treedb78f6f48756afcad243d02b7a009cad3965d1a6 /mate-extra/caja-admin/caja-admin-0.0.4.ebuild
parentmate-extra/caja-admin: Add support for python 3_9, 3_10 (diff)
downloadgentoo-62d667f50d82c08b5a41890cdee80aaf902f7904.tar.gz
gentoo-62d667f50d82c08b5a41890cdee80aaf902f7904.tar.bz2
gentoo-62d667f50d82c08b5a41890cdee80aaf902f7904.zip
mate-extra/caja-admin: Bump to 0.0.4, drop logic for snapshot
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
Diffstat (limited to 'mate-extra/caja-admin/caja-admin-0.0.4.ebuild')
-rw-r--r--mate-extra/caja-admin/caja-admin-0.0.4.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/mate-extra/caja-admin/caja-admin-0.0.4.ebuild b/mate-extra/caja-admin/caja-admin-0.0.4.ebuild
new file mode 100644
index 000000000000..b4284dbdb57c
--- /dev/null
+++ b/mate-extra/caja-admin/caja-admin-0.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/infirit/caja-admin"
+else
+ SRC_URI="https://github.com/infirit/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+PYTHON_COMPAT=( python{3_7,3_8,3_9,3_10} )
+
+inherit meson python-single-r1
+
+DESCRIPTION="Caja Admin Extension"
+HOMEPAGE="https://github.com/infirit/caja-admin"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}"
+RDEPEND="${COMMON_DEPEND}
+ app-editors/pluma
+ dev-python/python-caja[${PYTHON_SINGLE_USEDEP}]
+ sys-auth/polkit
+ x11-terms/mate-terminal
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext
+"
+BDEPEND=""
+
+src_install() {
+ meson_src_install
+ python_optimize "${D}/usr/share/caja-python/extensions"
+}