1 |
commit: c161be7310e96239e5e245bdfc8b0728d32ad221 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 06:21:04 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 06:39:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c161be73 |
7 |
|
8 |
dev-python/automat: Bump to 22.10.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/automat/Manifest | 1 + |
13 |
dev-python/automat/automat-22.10.0.ebuild | 52 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest |
17 |
index ea4495e7655a..9420d3191849 100644 |
18 |
--- a/dev-python/automat/Manifest |
19 |
+++ b/dev-python/automat/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Automat-20.2.0.tar.gz 61679 BLAKE2B 9dfb93a0bf0a348d8f7de0796b3e5715947eb84cc0aa507a453f438d2027ae877280ed6d7896192cee46f31c7d1c0eb6cb3dee36e1f13a315071513920c5b6d0 SHA512 715cb5dc087288492e6465a29e7d8502a84fadf451bc3d29da86335ea1c20f8efd9549f0c1eaac8800559dd8001dd73736c3bfacdc6321c83a35d2288d69632c |
22 |
+DIST Automat-22.10.0.tar.gz 59099 BLAKE2B 509e64b1312f87f09a60243a00b832c8b3da4b09ef75151e82c8c406faabd24a56378baade87bd98685fa22922d1892ec20d81579eaf13e0315af68bb7909ac4 SHA512 5819cfe0687bf391949891562f3657f449cf9a8e8ea90c1537e89509dc618da1160856f92ab52dc450e0a7d51d0e4644bfe2db3d4108126a42ee1bea2f06bb7a |
23 |
|
24 |
diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..92b6538ddb0f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/automat/automat-22.10.0.ebuild |
29 |
@@ -0,0 +1,52 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P=${P^} |
41 |
+DESCRIPTION="Self-service finite-state machines for the programmer on the go" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/glyph/automat/ |
44 |
+ https://pypi.org/project/Automat/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
52 |
+IUSE="examples" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
56 |
+ dev-python/six[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+EPYTEST_IGNORE=( |
65 |
+ benchmark |
66 |
+) |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ if use examples; then |
70 |
+ docinto examples |
71 |
+ dodoc docs/examples/*.py |
72 |
+ fi |
73 |
+ |
74 |
+ distutils-r1_python_install_all |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ einfo "For additional visualization functionality install both these optional dependencies" |
79 |
+ einfo " >=dev-python/twisted-16.1.1" |
80 |
+ einfo " media-gfx/graphviz[python]" |
81 |
+} |