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
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')
-rw-r--r--mate-extra/caja-admin/Manifest1
-rw-r--r--mate-extra/caja-admin/caja-admin-0.0.4.ebuild41
-rw-r--r--mate-extra/caja-admin/caja-admin-9999.ebuild5
3 files changed, 42 insertions, 5 deletions
diff --git a/mate-extra/caja-admin/Manifest b/mate-extra/caja-admin/Manifest
index 84613c375263..5569651b0b37 100644
--- a/mate-extra/caja-admin/Manifest
+++ b/mate-extra/caja-admin/Manifest
@@ -1 +1,2 @@
DIST caja-admin-0.0.2_p20200328.tar.gz 27087 BLAKE2B 1d8ce82026249cff4dc3360cedffb79079e6608414a7718f265a19fce1a579d7f1fc4dadf3b05dd5ef19dbd12a92a61f90c04736cc9196d2dd5d4230c8c31784 SHA512 6a134e1d53bbdbf1a617582de67f7ddba7c7e0193a714246993092dd1c96c2ccc05afdb2da5cd2dfd974f7ab95e0aeedab244f2fa1335fd157ce45b4404a1f90
+DIST caja-admin-0.0.4.tar.gz 28095 BLAKE2B 1f3d89e2c7f9815eb088694105eb6eba2b3da2f2ceabde8e468b5baec4a351cc7602ecb85b241c664bee9ff394aa9155a8dcfd569f9ec888cf5cacf4ae167f85 SHA512 2aaa9c745e0532e2d1727382c89bfd679d5ae61e1aba78a41694f3c5c804d9f88424b60a2c412bb940b4df9a056bb73b195fc59dfc48827763dc7fb3678a0ac1
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"
+}
diff --git a/mate-extra/caja-admin/caja-admin-9999.ebuild b/mate-extra/caja-admin/caja-admin-9999.ebuild
index 0cf5f05de0d0..b4284dbdb57c 100644
--- a/mate-extra/caja-admin/caja-admin-9999.ebuild
+++ b/mate-extra/caja-admin/caja-admin-9999.ebuild
@@ -6,11 +6,6 @@ EAPI=7
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/infirit/caja-admin"
-elif [[ ${PV} =~ _p[0-9]{8,} ]]; then
- SHA="b20de2dd2e1ef74db66705965fd7480e2bf98153"
- SRC_URI="https://github.com/infirit/${PN}/archive/${SHA}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}/${PN}-${SHA}"
else
SRC_URI="https://github.com/infirit/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"