summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-10-04 11:27:24 -0500
committerBen Kohler <bkohler@gentoo.org>2023-10-04 11:29:23 -0500
commit9869c3b739f3a0a138124309ad6f1aea40cffc02 (patch)
tree9bca0a923a2bee3e1171c91b84b2330b4d765959 /sys-fs/udiskie
parentnet-misc/stunnel: add 5.71 (diff)
downloadgentoo-9869c3b739f3a0a138124309ad6f1aea40cffc02.tar.gz
gentoo-9869c3b739f3a0a138124309ad6f1aea40cffc02.tar.bz2
gentoo-9869c3b739f3a0a138124309ad6f1aea40cffc02.zip
sys-fs/udiskie: add 2.5.0
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-fs/udiskie')
-rw-r--r--sys-fs/udiskie/Manifest1
-rw-r--r--sys-fs/udiskie/udiskie-2.5.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/sys-fs/udiskie/Manifest b/sys-fs/udiskie/Manifest
index cbaeb3c46ed3..cd04823b17c7 100644
--- a/sys-fs/udiskie/Manifest
+++ b/sys-fs/udiskie/Manifest
@@ -1 +1,2 @@
DIST udiskie-2.4.2.tar.gz 95178 BLAKE2B eec6f4d2aed9ad86400ee8f3924a8b748cbb1e7ccc1aa2b681858065c18d172def5cc32763a7c2af0899fd719b53bf08d6fddbeb2611cfa74d5b968da0a756b9 SHA512 0881872c614f73b034835f6157eae7f944b6f4ea08a5dabaeb1e6a476a620720dfe950e538a03a3cbdd2a54e95f64a5349650decd554930d02086fdac2e45f23
+DIST udiskie-2.5.0.tar.gz 98570 BLAKE2B 0b07c4135a5ef199f6e84c7d341a355148926c27145e0dcc98baeb891415bb6a18f9395b3feff476b19593bb70951d07fd53ac0ea175dee2c8bdcd861b783613 SHA512 e9c367449f7b3e1b1d4fcdb98e5fb29a198010e6219bcd094e57c17aa063fc8e53ab56738f7b55fb039880c4bc2e42d846be63201c6c25936fb0715443382f26
diff --git a/sys-fs/udiskie/udiskie-2.5.0.ebuild b/sys-fs/udiskie/udiskie-2.5.0.ebuild
new file mode 100644
index 000000000000..3cbcb7c7ed2b
--- /dev/null
+++ b/sys-fs/udiskie/udiskie-2.5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi xdg-utils
+
+DESCRIPTION="An automatic disk mounting service using udisks"
+HOMEPAGE="https://pypi.org/project/udiskie/ https://github.com/coldfix/udiskie"
+
+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
+ test? ( dev-python/keyutils[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e 's:gtk-update-icon-cache:true:' setup.py || die
+ sed -i -e 's: HACKING.rst, TRANSLATIONS.rst,::' setup.cfg || 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
+}