sys-fs/udiskie - 2.7.0 (gentoo)

Search

Install

Install this version:

emerge -a =sys-fs/udiskie-2.7.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-fs/udiskie-2.7.0

Or alternatively:

emerge --autounmask-write -a =sys-fs/udiskie-2.7.0

Package Information

Description:
An automatic disk mounting service using udisks
Homepage:
https://pypi.org/project/udiskie/ https://github.com/coldfix/udiskie
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.7.0 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYPI_VERIFY_REPO=https://github.com/coldfix/udiskie
PYTHON_COMPAT=( python3_{11..14} )
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="autostart libnotify"

RDEPEND="dev-python/docopt[${PYTHON_USEDEP}]
	dev-python/pygobject:3[${PYTHON_USEDEP}]
	dev-python/pyyaml[${PYTHON_USEDEP}]
	sys-fs/udisks:2[daemon]
	libnotify? ( x11-libs/libnotify[introspection] )"
DEPEND="app-text/asciidoc
	test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"

EPYTEST_IGNORE=(
	# bug #972714
	test/test_cache.py
)
EPYTEST_PLUGINS=()
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

	if use autostart; then
		insinto /etc/xdg/autostart
		newins "${FILESDIR}/udiskie.desktop" udiskie.desktop
	fi
}

pkg_postinst() {
	xdg_icon_cache_update
}

pkg_postrm() {
	xdg_icon_cache_update
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-fs/udiskie | euse -E <flag> -p sys-fs/udiskie | euse -D <flag> -p sys-fs/udiskie

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

app-text/asciidoc
	test? ( dev-python/pyyaml[] )

RDEPEND

dev-python/docopt[]
	dev-python/pygobject:3[]
	dev-python/pyyaml[]
	sys-fs/udisks:2[daemon]
	libnotify? ( x11-libs/libnotify[introspection] )