From c8278add01546ea9d31d53381cf4e822fef4c8e3 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Tue, 31 Dec 2019 07:18:05 -0600 Subject: sys-fs/udiskie: revbump for missing dep for py36 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ben Kohler --- sys-fs/udiskie/udiskie-2.0.2-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++ sys-fs/udiskie/udiskie-2.0.2.ebuild | 48 --------------------------------- 2 files changed, 49 insertions(+), 48 deletions(-) create mode 100644 sys-fs/udiskie/udiskie-2.0.2-r1.ebuild delete mode 100644 sys-fs/udiskie/udiskie-2.0.2.ebuild (limited to 'sys-fs') diff --git a/sys-fs/udiskie/udiskie-2.0.2-r1.ebuild b/sys-fs/udiskie/udiskie-2.0.2-r1.ebuild new file mode 100644 index 000000000000..9275471212ea --- /dev/null +++ b/sys-fs/udiskie/udiskie-2.0.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6,7} ) +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 +} diff --git a/sys-fs/udiskie/udiskie-2.0.2.ebuild b/sys-fs/udiskie/udiskie-2.0.2.ebuild deleted file mode 100644 index 4848fbb873ab..000000000000 --- a/sys-fs/udiskie/udiskie-2.0.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_{6,7} ) -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" -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 -} -- cgit v1.2.3-65-gdbad