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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B365D159C9B for ; Wed, 7 Aug 2024 14:10:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB1E9E2EAE; Wed, 7 Aug 2024 14:10:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD15FE2EAE for ; Wed, 7 Aug 2024 14:10:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C10B43430B9 for ; Wed, 7 Aug 2024 14:10:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14DAE1ECB for ; Wed, 7 Aug 2024 14:10:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1723039828.e0c43e5a1a238702b28aa39c01f85d750ad74a44.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/transitions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/transitions/Manifest dev-python/transitions/transitions-0.9.2.ebuild X-VCS-Directories: dev-python/transitions/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e0c43e5a1a238702b28aa39c01f85d750ad74a44 X-VCS-Branch: master Date: Wed, 7 Aug 2024 14:10:39 +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: 021bb0bd-167f-4456-a787-f2a8cf1cb712 X-Archives-Hash: 691a376efff3d3d83eb1dbf1618cf0b8 commit: e0c43e5a1a238702b28aa39c01f85d750ad74a44 Author: Michał Górny gentoo org> AuthorDate: Wed Aug 7 13:26:33 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Aug 7 14:10:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c43e5a dev-python/transitions: Bump to 0.9.2 Signed-off-by: Michał Górny gentoo.org> dev-python/transitions/Manifest | 1 + dev-python/transitions/transitions-0.9.2.ebuild | 52 +++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest index 7c33d443a3df..5ed1bd757a9d 100644 --- a/dev-python/transitions/Manifest +++ b/dev-python/transitions/Manifest @@ -1 +1,2 @@ DIST transitions-0.9.1.gh.tar.gz 1124905 BLAKE2B 6d8700c9b2b2d200c8377e698f4057caa78908ee7156daa3fce1f49d86c6bc9afd45fe7af4122c2e124681c3c581e98f657e39444595f97ed7fb3c64f57d70fd SHA512 8e946ee9b8e3ed0629381514b4af4446625de0cea7cc8780326829ad987b4c0f9402484ed98ca66b12e95c8da79f77c62aba9f000dbe42779f158529cde3f279 +DIST transitions-0.9.2.gh.tar.gz 1133297 BLAKE2B 9acb83355236941d49bbdc1877e352e1f86d2b95302455fc5ea2e13d9014f8e6c9dc67e04b70c03c40e3d10b9bcae97900420bfb7549decd7c2186284d9f7389 SHA512 7fa392b185b001b0224b449d65b345f71afa27f80a88d862456f637e5876644f09ca861ce8bd2ff93f91a7846e337a996f256645140a0892b526cd6c1f58ce7f diff --git a/dev-python/transitions/transitions-0.9.2.ebuild b/dev-python/transitions/transitions-0.9.2.ebuild new file mode 100644 index 000000000000..4143ab7b275a --- /dev/null +++ b/dev-python/transitions/transitions-0.9.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{10..13} ) + +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}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="examples" + +RDEPEND=" + || ( + dev-python/pygraphviz[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + ) + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dill[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # pycodestyle, mypy, etc. + tests/test_codestyle.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +src_install() { + distutils-r1_src_install + use examples && dodoc examples/*.ipynb +}