diff options
Diffstat (limited to 'sys-fs/udiskie')
-rw-r--r-- | sys-fs/udiskie/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/udiskie/udiskie-2.4.2-r1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/sys-fs/udiskie/Manifest b/sys-fs/udiskie/Manifest index 865e4f2d9d4a..478d12b25e2c 100644 --- a/sys-fs/udiskie/Manifest +++ b/sys-fs/udiskie/Manifest @@ -1,3 +1,4 @@ DIST udiskie-2.4.2.tar.gz 95178 BLAKE2B eec6f4d2aed9ad86400ee8f3924a8b748cbb1e7ccc1aa2b681858065c18d172def5cc32763a7c2af0899fd719b53bf08d6fddbeb2611cfa74d5b968da0a756b9 SHA512 0881872c614f73b034835f6157eae7f944b6f4ea08a5dabaeb1e6a476a620720dfe950e538a03a3cbdd2a54e95f64a5349650decd554930d02086fdac2e45f23 +EBUILD udiskie-2.4.2-r1.ebuild 1054 BLAKE2B 190e136ec6b34be9d8faea0d4eb8099d24d667f4594858da3179f9c11079dc140b456aeae5b809f9e1e51487cc4ce6edc5267ea166afb9f2dc6031a653cea5a3 SHA512 3784b0a5b7d2942a0cb54f74f1c6ade4cea4adce8ed976569eb84acf5771f00f493864ba8c4cc6e6cec4c4ac4835f63f30bda5ee6b18972547544da6a4099e62 EBUILD udiskie-2.4.2.ebuild 995 BLAKE2B f916f8354d9622865058c400733fa5a14fb37d4a1caa62143a5b2a9438f4160bffb7f8eccf5aeeca92d668d9ff093d043f10c5d8eaa6287e67b742dc9be7775b SHA512 ecdc20dcb840a80856ee1d3049de0b0bf582b65ae2114204c7ac23fbc07d51731557754d060babf1d09ad7c3a197c1a54e6ed547137fde46f4de5d24c8e61cb2 MISC metadata.xml 370 BLAKE2B d5b749c5ab2cf4ddd7c4df39045f109acaba44b50e8babeae6e3ad31e730a52e52bdce7922780a1f358e1a9e1f11d32882eef0f2ceb20ef04011301b7fd3ff83 SHA512 9fd25405737377b4fe0a38672bb3ec871d6d099dcd8b7cfb0bac631a7407133f5974b4d43751dcc186e48dc27997388da30350608139166351a390bc8d02de39 diff --git a/sys-fs/udiskie/udiskie-2.4.2-r1.ebuild b/sys-fs/udiskie/udiskie-2.4.2-r1.ebuild new file mode 100644 index 000000000000..3cbcb7c7ed2b --- /dev/null +++ b/sys-fs/udiskie/udiskie-2.4.2-r1.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 +} |