diff options
author | Ben Kohler <bkohler@gentoo.org> | 2023-11-27 07:31:50 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2023-11-27 07:35:24 -0600 |
commit | 69a7d167dbb3cbf6f347599d40bac868c6934d84 (patch) | |
tree | 13caf89eb0a4be60ebe46a4470b66fb0191cba87 /sys-fs/udiskie | |
parent | dev-libs/ell: add 0.61 (diff) | |
download | gentoo-69a7d167dbb3cbf6f347599d40bac868c6934d84.tar.gz gentoo-69a7d167dbb3cbf6f347599d40bac868c6934d84.tar.bz2 gentoo-69a7d167dbb3cbf6f347599d40bac868c6934d84.zip |
sys-fs/udiskie: add 2.5.1
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-fs/udiskie')
-rw-r--r-- | sys-fs/udiskie/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/udiskie/udiskie-2.5.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-fs/udiskie/Manifest b/sys-fs/udiskie/Manifest index cd04823b17c7..e6da8a3ae941 100644 --- a/sys-fs/udiskie/Manifest +++ b/sys-fs/udiskie/Manifest @@ -1,2 +1,3 @@ DIST udiskie-2.4.2.tar.gz 95178 BLAKE2B eec6f4d2aed9ad86400ee8f3924a8b748cbb1e7ccc1aa2b681858065c18d172def5cc32763a7c2af0899fd719b53bf08d6fddbeb2611cfa74d5b968da0a756b9 SHA512 0881872c614f73b034835f6157eae7f944b6f4ea08a5dabaeb1e6a476a620720dfe950e538a03a3cbdd2a54e95f64a5349650decd554930d02086fdac2e45f23 DIST udiskie-2.5.0.tar.gz 98570 BLAKE2B 0b07c4135a5ef199f6e84c7d341a355148926c27145e0dcc98baeb891415bb6a18f9395b3feff476b19593bb70951d07fd53ac0ea175dee2c8bdcd861b783613 SHA512 e9c367449f7b3e1b1d4fcdb98e5fb29a198010e6219bcd094e57c17aa063fc8e53ab56738f7b55fb039880c4bc2e42d846be63201c6c25936fb0715443382f26 +DIST udiskie-2.5.1.tar.gz 100289 BLAKE2B 4e1b3a2b6733cf0586039c362a3f2345b1b0563760267651ea9a1c888aaf252e3eb5ef5abffbdaa4ea03ccce5134a6b888709a0382715dad1cc91ec86f08d0b1 SHA512 f5f38de01ac02e92edc06f37a2c97bc0029fa439d0bd4b1a45584de62634fa9fde7ccdede06284230d6b5c8aa9ecfad20d029ebb432d07b6d23a5a887ba5de02 diff --git a/sys-fs/udiskie/udiskie-2.5.1.ebuild b/sys-fs/udiskie/udiskie-2.5.1.ebuild new file mode 100644 index 000000000000..127a7ed4850d --- /dev/null +++ b/sys-fs/udiskie/udiskie-2.5.1.ebuild @@ -0,0 +1,51 @@ +# 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="libnotify" + +RDEPEND="dev-python/docopt[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + sys-fs/udisks:2 + libnotify? ( x11-libs/libnotify[introspection] )" +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 +} |