commit: 2be43350c7039f5472a9a63d9ecf994f19d35e17
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 4 20:20:50 2022 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Feb 4 20:25:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be43350
sys-fs/udiskie: bump to 2.4.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
sys-fs/udiskie/Manifest | 1 +
sys-fs/udiskie/udiskie-2.4.1.ebuild | 50 +++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/sys-fs/udiskie/Manifest b/sys-fs/udiskie/Manifest
index a67a18927a55..cc5195e35ee0 100644
--- a/sys-fs/udiskie/Manifest
+++ b/sys-fs/udiskie/Manifest
@@ -1 +1,2 @@
DIST udiskie-2.4.0.tar.gz 94008 BLAKE2B
23c062aa79cb2ffd6377f8cdf3eea1c8398b56743054c701e878dd6070bd1ee14e3f1aab9a791d4b6d44b1ddab68cc69f92eb3dd711c9598d3d770d90a43e7d7
SHA512
3f2d3d37996442b21d8c167929eb2e6f2fcb864b313334954407b03d913c83671dd25960226bafc68e463ab0ea38cfb6947467dd8bf51bbee7f072e4bdf19d7a
+DIST udiskie-2.4.1.tar.gz 94974 BLAKE2B
f7aefecce230eb085ace5dd493ef2c24f7962138c6cae593887b7b62fc19360304442caa6454381321b287772eb517566ed4006bd4cace0f04a13bc060e31423
SHA512
0820ec5a04ede2076ac25110057bcee1bf8f69a9e7161017f23e108701b2d135c1bd62496c70727c462561612916d1eafb6cf69d1d77b8d5e0f4af3eab445eef
diff --git a/sys-fs/udiskie/udiskie-2.4.1.ebuild
b/sys-fs/udiskie/udiskie-2.4.1.ebuild
new file mode 100644
index 000000000000..43fe883fb3af
--- /dev/null
+++ b/sys-fs/udiskie/udiskie-2.4.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{7..10} )
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="An automatic disk mounting service using udisks"
+HOMEPAGE="https://pypi.org/project/udiskie/ https://github.com/coldfix/udiskie"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="dev-python/docopt[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ sys-fs/udisks:2"
+DEPEND="app-text/asciidoc
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/python-keyutils[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e 's:gtk-update-icon-cache:true:' setup.py || die
+ default
+
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+ emake -C doc
+}
+
+src_install() {
+ distutils-r1_src_install
+ doman doc/${PN}.8
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}