summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-01-20 07:07:07 -0600
committerBen Kohler <bkohler@gentoo.org>2020-01-20 07:07:26 -0600
commit00fd9af6edded2983a5c71b5260acdae6cb1b9e8 (patch)
tree39e42433f210f32e8f4ead7c9c56e22ffb9b0a33 /sys-fs/udiskie
parentapp-admin/keepass: amd64 stable wrt bug #705930 (diff)
downloadgentoo-00fd9af6edded2983a5c71b5260acdae6cb1b9e8.tar.gz
gentoo-00fd9af6edded2983a5c71b5260acdae6cb1b9e8.tar.bz2
gentoo-00fd9af6edded2983a5c71b5260acdae6cb1b9e8.zip
sys-fs/udiskie: bump to 2.0.3
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-fs/udiskie')
-rw-r--r--sys-fs/udiskie/Manifest1
-rw-r--r--sys-fs/udiskie/udiskie-2.0.3.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-fs/udiskie/Manifest b/sys-fs/udiskie/Manifest
index 1191dbf8d2e7..fdc0ac7df304 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.2.tar.gz 85616 BLAKE2B 4d2ab17679610a4d3aa5eae5e6a611a5ae16e7958071c6b44f52884d945b7776d5dd84e85acda2a9b763f5c7da8846e0d2a80e7c788b739953cde04790610804 SHA512 ae3e298b11adaa50046bf521c5f3bd67cbcaa2f1e1cf18cf43f4b6b086ded2540f7db93de5c8b57048ea1bb115fb5266f9e3b69f7bb1acb9b7f429efcbe101c1
+DIST udiskie-2.0.3.tar.gz 85690 BLAKE2B 3d2fd2c666624defca4ff9a288412d184169759d8051d07c4c2b9dd8e5b7befab0193753cc714b3668b298949b8dc52324cfa273f5e7590fec3990aff3caffc7 SHA512 a6bd1c13648e9b58fe862059880c48dcf736448b44567b3551730ce959e2d33993a0e553d868f1788512004134709e44f38fca7ef476222a0739aef02d9a2473
diff --git a/sys-fs/udiskie/udiskie-2.0.3.ebuild b/sys-fs/udiskie/udiskie-2.0.3.ebuild
new file mode 100644
index 000000000000..342a8f0494a3
--- /dev/null
+++ b/sys-fs/udiskie/udiskie-2.0.3.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
+}