From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57DFB139345 for ; Wed, 14 Jul 2021 18:23:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6425BE09BE; Wed, 14 Jul 2021 18:23:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B19FE09BE for ; Wed, 14 Jul 2021 18:23:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0342D342A76 for ; Wed, 14 Jul 2021 18:23:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65F38798 for ; Wed, 14 Jul 2021 18:23:14 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1626286966.7810ae331275b752a2ac6f81153a5b87eaab0190.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/udiskie/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/udiskie/udiskie-2.3.3-r1.ebuild X-VCS-Directories: sys-fs/udiskie/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 7810ae331275b752a2ac6f81153a5b87eaab0190 X-VCS-Branch: master Date: Wed, 14 Jul 2021 18:23:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7517f0cc-1f3f-4d48-ae15-214ceddeb3df X-Archives-Hash: 1223561d549a7005fae7c3bef4b7e23c commit: 7810ae331275b752a2ac6f81153a5b87eaab0190 Author: Ben Kohler gentoo org> AuthorDate: Wed Jul 14 18:18:53 2021 +0000 Commit: Ben Kohler gentoo org> CommitDate: Wed Jul 14 18:22:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7810ae33 sys-fs/udiskie: enable tests, bump to EAPI=8 Closes: https://bugs.gentoo.org/802063 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ben Kohler gentoo.org> sys-fs/udiskie/udiskie-2.3.3-r1.ebuild | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/sys-fs/udiskie/udiskie-2.3.3-r1.ebuild b/sys-fs/udiskie/udiskie-2.3.3-r1.ebuild new file mode 100644 index 00000000000..b03588a5d91 --- /dev/null +++ b/sys-fs/udiskie/udiskie-2.3.3-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{7..10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 xdg-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/pyyaml[${PYTHON_USEDEP}] + sys-fs/udisks:2" +DEPEND="app-text/asciidoc + dev-python/setuptools[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +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() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}