diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-02-07 10:55:00 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-02-07 10:55:18 -0600 |
commit | 80f71f2e8c3300a1d30db4cda1089041b160bccb (patch) | |
tree | b3f4c725e1e49317eef792e5a852155b0ffab5e6 /sys-fs/udiskie | |
parent | sys-apps/coreutils: define python_check_deps (diff) | |
download | gentoo-80f71f2e8c3300a1d30db4cda1089041b160bccb.tar.gz gentoo-80f71f2e8c3300a1d30db4cda1089041b160bccb.tar.bz2 gentoo-80f71f2e8c3300a1d30db4cda1089041b160bccb.zip |
sys-fs/udiskie: bump to 2.1.0
Package-Manager: Portage-2.3.87, Repoman-2.3.20
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.1.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-fs/udiskie/Manifest b/sys-fs/udiskie/Manifest index 359afec1c15d..5fc1df906f34 100644 --- a/sys-fs/udiskie/Manifest +++ b/sys-fs/udiskie/Manifest @@ -1,2 +1,3 @@ DIST udiskie-1.7.7.tar.gz 91858 BLAKE2B 7d9729f8c66e0d9afdf2b89f5cc2a941ce6726c809af1069146f13466eccdfa54ed45f43535d84592f1b09ccf6454814d7ff62d453781c547ebfb989fcab7767 SHA512 ea192cc8a50c742e96d5163bb1378a7cd110599cfe731d676343766a1ce3ee1102ab43322c5f9666d6c6a232e310fd494e0f76ad33aeab1fd8225a3267f3193a DIST udiskie-2.0.4.tar.gz 85944 BLAKE2B f7281ea04e6a5d76d490fa7f126e6214d4a9cf77d055e8d19d30395ae710e4298026cf50c58629634b6d81c095baff731b315fe175ec2fc94eff2ea518d18a0b SHA512 67dc6d27edaf956cd2b7d5de2625b15029723573a3f7bcabd56d397fb1493010c50194cd178f0c4071a0bebaed4672a19f39d902946c7bfb0891000fdf3f43cc +DIST udiskie-2.1.0.tar.gz 86339 BLAKE2B e92c61ac61aaab81bb91874ed1ed0c8bab60524fe79c9432053968418767b6ebc5c15c33abc74f37471fcc5a799152a50d88528a4b7bbd91e015d448fb36d0cb SHA512 704bdf8226dd2eeb6b13c5a4facca76d9f5fa7119cef7b5af08d0d399f9e65318ed5a921638cd9b7db3acbadcff1029f2e7698a942350f31b8f94f5032c25663 diff --git a/sys-fs/udiskie/udiskie-2.1.0.ebuild b/sys-fs/udiskie/udiskie-2.1.0.ebuild new file mode 100644 index 000000000000..342a8f0494a3 --- /dev/null +++ b/sys-fs/udiskie/udiskie-2.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 gnome2-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/pyxdg[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + sys-fs/udisks:2 + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' 'python3_6')" +DEPEND="app-text/asciidoc + dev-python/setuptools[${PYTHON_USEDEP}]" + +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() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |