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 53A75138359 for ; Fri, 25 Sep 2020 12:56:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53B05E0823; Fri, 25 Sep 2020 12:56:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 39B82E0823 for ; Fri, 25 Sep 2020 12:56:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3363933BF54 for ; Fri, 25 Sep 2020 12:56:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBEC4353 for ; Fri, 25 Sep 2020 12:56:27 +0000 (UTC) From: "Daniel Pielmeier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Daniel Pielmeier" Message-ID: <1601038563.3d6a57aace91acaada1cf279edb1fa64efc70357.billie@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notify2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/notify2/notify2-0.3.1-r2.ebuild X-VCS-Directories: dev-python/notify2/ X-VCS-Committer: billie X-VCS-Committer-Name: Daniel Pielmeier X-VCS-Revision: 3d6a57aace91acaada1cf279edb1fa64efc70357 X-VCS-Branch: master Date: Fri, 25 Sep 2020 12:56:27 +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: a10779c4-31ea-4290-b9bb-b0bf2688cd22 X-Archives-Hash: e54fc7f69f4d4f8383cdab71e5ba91b9 commit: 3d6a57aace91acaada1cf279edb1fa64efc70357 Author: Daniel Pielmeier gentoo org> AuthorDate: Fri Sep 25 12:56:03 2020 +0000 Commit: Daniel Pielmeier gentoo org> CommitDate: Fri Sep 25 12:56:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d6a57aa dev-python/notify2: Add python 3.9 support. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Daniel Pielmeier gentoo.org> dev-python/notify2/notify2-0.3.1-r2.ebuild | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-python/notify2/notify2-0.3.1-r2.ebuild b/dev-python/notify2/notify2-0.3.1-r2.ebuild new file mode 100644 index 00000000000..9343d56739d --- /dev/null +++ b/dev-python/notify2/notify2-0.3.1-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Python interface to DBus notifications." +HOMEPAGE="https://bitbucket.org/takluyver/pynotify2" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="examples" + +RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]" +BDEPEND="test? ( sys-apps/dbus[X] )" + +python_test() { + virtx ${EPYTHON} test_notify2.py +} + +python_install_all() { + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi + distutils-r1_python_install_all +}