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 28EBD138359 for ; Mon, 24 Aug 2020 22:33:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A71AE084E; Mon, 24 Aug 2020 22:33:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 0551DE084E for ; Mon, 24 Aug 2020 22:33:55 +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 BFACC340D77 for ; Mon, 24 Aug 2020 22:33:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A171330 for ; Mon, 24 Aug 2020 22:33:53 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1598308366.8a6fdffaf710a7c0e4883d3b93ef099472c898ec.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/transitions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/transitions/transitions-0.8.2-r1.ebuild X-VCS-Directories: dev-python/transitions/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 8a6fdffaf710a7c0e4883d3b93ef099472c898ec X-VCS-Branch: master Date: Mon, 24 Aug 2020 22:33:53 +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: cb472921-2d8d-4e66-9abe-76d9256f5982 X-Archives-Hash: aae3013577a79d615f083e48fb29b551 commit: 8a6fdffaf710a7c0e4883d3b93ef099472c898ec Author: Conrad Kostecki gentoo org> AuthorDate: Mon Aug 24 20:39:21 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Mon Aug 24 22:32:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6fdffa dev-python/transitions: add python3.9 support Also adjusted test deps. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> dev-python/transitions/transitions-0.8.2-r1.ebuild | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-python/transitions/transitions-0.8.2-r1.ebuild b/dev-python/transitions/transitions-0.8.2-r1.ebuild new file mode 100644 index 00000000000..f97d135b41f --- /dev/null +++ b/dev-python/transitions/transitions-0.8.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS="bdepend" +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="A lightweight, object-oriented state machine implementation in Python" +HOMEPAGE="https://github.com/pytransitions/transitions" +SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-python/dill[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + use examples && dodoc examples/*.ipynb +}