public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
Date: Thu, 12 May 2022 13:36:31 +0000 (UTC)	[thread overview]
Message-ID: <1652362583.d08b2af5d8cd2f9d6afadeb01d9c2d57c7ef420a.mgorny@gentoo> (raw)

commit:     d08b2af5d8cd2f9d6afadeb01d9c2d57c7ef420a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 13:23:42 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 12 13:36:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08b2af5

dev-python/automat: EAPI 8, PEP517

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/automat/automat-20.2.0-r1.ebuild | 54 +++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild
new file mode 100644
index 000000000000..d7ad5e62e710
--- /dev/null
+++ b/dev-python/automat/automat-20.2.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+MY_P=${P^}
+DESCRIPTION="Self-service finite-state machines for the programmer on the go"
+HOMEPAGE="https://github.com/glyph/automat https://pypi.org/project/Automat/"
+SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="examples"
+
+RDEPEND="
+	>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+	"${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch"
+	"${FILESDIR}/test_visualize-twisted-import-errors.patch"
+)
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+	benchmark
+)
+
+python_install_all() {
+	if use examples; then
+		docinto examples
+		dodoc docs/examples/*.py
+	fi
+
+	distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+	einfo "For additional visualization functionality install both these optional dependencies"
+	einfo "    >=dev-python/twisted-16.1.1"
+	einfo "    media-gfx/graphviz[python]"
+}


             reply	other threads:[~2022-05-12 13:36 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12 13:36 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 12:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/automat/ Michał Górny
2024-09-07 10:56 Michał Górny
2024-09-07 10:38 Arthur Zamarin
2024-08-20  1:43 Michał Górny
2024-08-18  6:04 Michał Górny
2023-05-27 15:42 Sam James
2023-03-16 18:13 Michał Górny
2022-11-29  7:25 Arthur Zamarin
2022-10-30  6:39 Michał Górny
2022-06-13  9:46 Agostino Sarubbo
2022-06-03  9:12 Michał Górny
2022-05-26  9:17 Michał Górny
2022-05-26  9:17 Michał Górny
2022-05-25  4:43 Michał Górny
2022-01-27 22:56 James Le Cuirot
2021-05-18 11:40 Michał Górny
2020-11-28 11:43 Sam James
2020-08-04 12:01 Michał Górny
2020-07-08 13:08 Michał Górny
2020-07-08 13:08 Michał Górny
2020-07-08  7:18 Sergei Trofimovich
2020-07-08  7:11 Sergei Trofimovich
2020-05-27 12:45 Michał Górny
2020-05-27  8:38 Michał Górny
2020-05-06 18:45 Mikle Kolyada
2020-05-06 14:28 Mikle Kolyada
2020-04-15  5:54 Mike Gilbert
2020-04-06 17:54 Sergei Trofimovich
2020-02-24  8:20 Sergei Trofimovich
2020-02-23 12:12 Mikle Kolyada
2020-02-22 20:22 Andreas Sturmlechner
2019-12-02  2:48 Aaron Bauman
2019-05-02 22:02 Mikle Kolyada
2019-03-20 10:31 Fabian Groffen
2019-03-03 10:56 Mikle Kolyada
2019-01-17 20:45 Mikle Kolyada
2018-07-16 19:57 Michał Górny
2018-07-02  2:12 Brian Dolbec
2018-04-06  5:23 Matt Turner
2018-02-22 15:06 Michał Górny
2017-12-13 22:15 Sergei Trofimovich
2017-12-13 22:15 Sergei Trofimovich
2017-09-24 16:34 Sergei Trofimovich
2017-09-24 16:34 Sergei Trofimovich
2017-07-10 21:47 Sergei Trofimovich
2017-07-10 21:47 Sergei Trofimovich
2017-06-09 18:19 Brian Dolbec
2017-04-18 14:17 Jeroen Roovers
2017-04-05 10:44 Michael Weber
2017-04-05 10:01 Michael Weber
2017-04-05  8:44 Michael Weber
2017-03-31 21:11 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652362583.d08b2af5d8cd2f9d6afadeb01d9c2d57c7ef420a.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox