[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: a3a58e780a8b2cf93caa30f04214813aaed9261f Author: Sam James gentoo org> AuthorDate: Sat May 27 15:32:41 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 27 15:32:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a58e78 dev-python/automat: enable py3.12 Signed-off-by: Sam James gentoo.org> dev-python/automat/automat-22.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild index d5b7257c2c47..6c02cc84a1b8 100644 --- a/dev-python/automat/automat-22.10.0.ebuild +++ b/dev-python/automat/automat-22.10.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/files/
commit: aedf9819765ae28dcc80f3f81e0ef8c707be5dba Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Mar 17 12:14:45 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 17 12:34:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedf9819 dev-python/automat: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Arthur Zamarin gentoo.org> .../automat/files/automat-20.2.0-ignore-m2r.patch | 25 --- .../automat/files/automat-20.2.0-py311.patch | 23 -- .../test_visualize-twisted-import-errors.patch | 52 -- 3 files changed, 100 deletions(-) diff --git a/dev-python/automat/files/automat-20.2.0-ignore-m2r.patch b/dev-python/automat/files/automat-20.2.0-ignore-m2r.patch deleted file mode 100644 index 5e3ef39f33e1.. --- a/dev-python/automat/files/automat-20.2.0-ignore-m2r.patch +++ /dev/null @@ -1,25 +0,0 @@ -Completely ignore m2r (which is now last-rited) so we can drop the hard-blocker -which makes world upgrades a pain (installed m2r would break b/c of newer -mistune, and would break automat build). - -https://github.com/miyakogi/m2r/issues/66 -https://bugs.gentoo.org/848900 -https://bugs.gentoo.org/847532 a/setup.py -+++ b/setup.py -@@ -4,13 +4,8 @@ Setup file for automat - - from setuptools import setup, find_packages - --try: --from m2r import parse_from_file --long_description = parse_from_file('README.md') --except(IOError, ImportError): --print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n") --import io --long_description = io.open('README.md', encoding="utf-8").read() -+import io -+long_description = io.open('README.md', encoding="utf-8").read() - - setup( - name='Automat', diff --git a/dev-python/automat/files/automat-20.2.0-py311.patch b/dev-python/automat/files/automat-20.2.0-py311.patch deleted file mode 100644 index 14ca69e7235d.. --- a/dev-python/automat/files/automat-20.2.0-py311.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/glyph/automat/commit/d0c2845ead9b8f576042d42134bfb5c63086be39 - -diff --git a/automat/_introspection.py b/automat/_introspection.py -index 3f7307d..403cddb 100644 a/automat/_introspection.py -+++ b/automat/_introspection.py -@@ -6,6 +6,8 @@ - - - def copycode(template, changes): -+if hasattr(code, "replace"): -+return template.replace(**{"co_" + k : v for k, v in changes.items()}) - names = [ - "argcount", "nlocals", "stacksize", "flags", "code", "consts", - "names", "varnames", "filename", "name", "firstlineno", "lnotab", -@@ -23,7 +25,6 @@ def copycode(template, changes): - return code(*values) - - -- - def copyfunction(template, funcchanges, codechanges): - names = [ - "globals", "name", "defaults", "closure", diff --git a/dev-python/automat/files/test_visualize-twisted-import-errors.patch b/dev-python/automat/files/test_visualize-twisted-import-errors.patch deleted file mode 100644 index b3d8938cf7de.. --- a/dev-python/automat/files/test_visualize-twisted-import-errors.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 9f6312e0c2504c27b72bb228a37ed5ac58776e94 Mon Sep 17 00:00:00 2001 -From: Brian Dolbec -Date: Wed, 10 Jun 2020 07:31:45 -0700 -Subject: [PATCH] Fix _test_visualize.py twisted import errors - -When graphviz modules are installed but not twisted, this creates test failures -in _discover.py which hard depends on twisted being installed. - -Signed-off-by: Brian Dolbec - automat/_test/test_visualize.py | 4 - 1 file changed, 4 insertions(+) - -diff --git a/automat/_test/test_visualize.py b/automat/_test/test_visualize.py -index 987eb3c..142c4bf 100644 a/automat/_test/test_visualize.py -+++ b/automat/_test/test_visualize.py -@@ -62,6 +62,7 @@ def sampleMachine(): - - - @skipIf(not isGraphvizModuleInstalled(), "Graphviz module is not installed.") -+@skipIf(not isTwistedInstalled(), "Twisted is not installed.") - class ElementMakerTests(TestCase): - """ - L{elementMaker} generates HTML representing the specified element. -@@ -134,6 +135,7 @@ def isLeaf(element): - - - @skipIf(not isGraphvizModuleInstalled(), "Graphviz module is not installed.") -+@skipIf(not isTwistedInstalled(), "Twisted is not installed.") - class TableMakerTests(TestCase): - """ - Tests that ensure L{tableMaker} generates HTML tables usable as -@@ -214,6 +216,7 @@ class TableMakerTests(TestCase): - - @skipIf(not isGraphvizModuleInstalled(), "Graphviz module is not installed.") - @skipIf(not isGraphvizInstalled(), "Graphviz tools are not installed.") -+@skipIf(not isTwistedInstalled(), "Twisted is not installed.") - class IntegrationTests(TestCase): - """ - Tests which make sure Graphviz can understand the output produced by -@@ -232,6 +235,7 @@ class IntegrationTests(TestCase): - - - @skipIf(not isGraphvizModuleInstalled(),
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: b8e1470bb5183aeef254a95f7d969c4c35712777 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 16 18:09:39 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 16 18:09:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e1470b dev-python/automat: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/automat/Manifest | 1 - dev-python/automat/automat-20.2.0-r1.ebuild | 61 - 2 files changed, 62 deletions(-) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index 9420d3191849..a4cba4eb2f17 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1,2 +1 @@ -DIST Automat-20.2.0.tar.gz 61679 BLAKE2B 9dfb93a0bf0a348d8f7de0796b3e5715947eb84cc0aa507a453f438d2027ae877280ed6d7896192cee46f31c7d1c0eb6cb3dee36e1f13a315071513920c5b6d0 SHA512 715cb5dc087288492e6465a29e7d8502a84fadf451bc3d29da86335ea1c20f8efd9549f0c1eaac8800559dd8001dd73736c3bfacdc6321c83a35d2288d69632c DIST Automat-22.10.0.tar.gz 59099 BLAKE2B 509e64b1312f87f09a60243a00b832c8b3da4b09ef75151e82c8c406faabd24a56378baade87bd98685fa22922d1892ec20d81579eaf13e0315af68bb7909ac4 SHA512 5819cfe0687bf391949891562f3657f449cf9a8e8ea90c1537e89509dc618da1160856f92ab52dc450e0a7d51d0e4644bfe2db3d4108126a42ee1bea2f06bb7a diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild deleted file mode 100644 index ef3ee70bfe81.. --- a/dev-python/automat/automat-20.2.0-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} 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}/test_visualize-twisted-import-errors.patch" - "${FILESDIR}/${P}-py311.patch" - "${FILESDIR}/${PN}-20.2.0-ignore-m2r.patch" -) - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - benchmark -) - -src_prepare() { - # strip m2r dep - sed -i -e "/'m2r'/d" setup.py || die - distutils-r1_src_prepare -} - -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]" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 9c731aab422461e91b0296d2791e98feea99040f Author: Arthur Zamarin gentoo org> AuthorDate: Tue Nov 29 07:25:17 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Nov 29 07:25:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c731aab dev-python/automat: Stabilize 22.10.0 ALLARCHES, #883469 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/automat/automat-22.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild index 92b6538ddb0f..a8f8d40ac62b 100644 --- a/dev-python/automat/automat-22.10.0.ebuild +++ b/dev-python/automat/automat-22.10.0.ebuild @@ -19,7 +19,7 @@ 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" +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="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: c161be7310e96239e5e245bdfc8b0728d32ad221 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 30 06:21:04 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Oct 30 06:39:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c161be73 dev-python/automat: Bump to 22.10.0 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/Manifest | 1 + dev-python/automat/automat-22.10.0.ebuild | 52 +++ 2 files changed, 53 insertions(+) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index ea4495e7655a..9420d3191849 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1 +1,2 @@ DIST Automat-20.2.0.tar.gz 61679 BLAKE2B 9dfb93a0bf0a348d8f7de0796b3e5715947eb84cc0aa507a453f438d2027ae877280ed6d7896192cee46f31c7d1c0eb6cb3dee36e1f13a315071513920c5b6d0 SHA512 715cb5dc087288492e6465a29e7d8502a84fadf451bc3d29da86335ea1c20f8efd9549f0c1eaac8800559dd8001dd73736c3bfacdc6321c83a35d2288d69632c +DIST Automat-22.10.0.tar.gz 59099 BLAKE2B 509e64b1312f87f09a60243a00b832c8b3da4b09ef75151e82c8c406faabd24a56378baade87bd98685fa22922d1892ec20d81579eaf13e0315af68bb7909ac4 SHA512 5819cfe0687bf391949891562f3657f449cf9a8e8ea90c1537e89509dc618da1160856f92ab52dc450e0a7d51d0e4644bfe2db3d4108126a42ee1bea2f06bb7a diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild new file mode 100644 index ..92b6538ddb0f --- /dev/null +++ b/dev-python/automat/automat-22.10.0.ebuild @@ -0,0 +1,52 @@ +# 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..11} 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}] +" + +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]" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/, dev-python/automat/files/
commit: 5f2a7ebaa5c68a594443750b31d53a6764d06699 Author: Sam James gentoo org> AuthorDate: Tue Jun 14 19:20:25 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 14 19:20:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f2a7eba dev-python/automat: patch out m2r usage This avoids the hard blocker with m2r (which is now last-rited) which makes upgrades a lot smoother (no need for manual intervention). Bug: https://bugs.gentoo.org/847532 Bug: https://bugs.gentoo.org/848900 Signed-off-by: Sam James gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild| 2 +- .../automat/files/automat-20.2.0-ignore-m2r.patch | 25 ++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild index f2407e0572a0..b80987fef5ec 100644 --- a/dev-python/automat/automat-20.2.0-r1.ebuild +++ b/dev-python/automat/automat-20.2.0-r1.ebuild @@ -25,12 +25,12 @@ RDEPEND=" " BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] - !!dev-python/m2r " PATCHES=( "${FILESDIR}/test_visualize-twisted-import-errors.patch" "${FILESDIR}/${P}-py311.patch" + "${FILESDIR}/${PN}-20.2.0-ignore-m2r.patch" ) distutils_enable_tests pytest diff --git a/dev-python/automat/files/automat-20.2.0-ignore-m2r.patch b/dev-python/automat/files/automat-20.2.0-ignore-m2r.patch new file mode 100644 index ..5e3ef39f33e1 --- /dev/null +++ b/dev-python/automat/files/automat-20.2.0-ignore-m2r.patch @@ -0,0 +1,25 @@ +Completely ignore m2r (which is now last-rited) so we can drop the hard-blocker +which makes world upgrades a pain (installed m2r would break b/c of newer +mistune, and would break automat build). + +https://github.com/miyakogi/m2r/issues/66 +https://bugs.gentoo.org/848900 +https://bugs.gentoo.org/847532 +--- a/setup.py b/setup.py +@@ -4,13 +4,8 @@ Setup file for automat + + from setuptools import setup, find_packages + +-try: +-from m2r import parse_from_file +-long_description = parse_from_file('README.md') +-except(IOError, ImportError): +-print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n") +-import io +-long_description = io.open('README.md', encoding="utf-8").read() ++import io ++long_description = io.open('README.md', encoding="utf-8").read() + + setup( + name='Automat',
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/, dev-python/automat/files/
commit: 69837b616e805bf80b5917b776d2beb8637fb217 Author: Michał Górny gentoo org> AuthorDate: Mon Jun 13 11:24:08 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 13 11:24:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69837b61 dev-python/automat: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 62 -- .../automat-0.8.0-no-setup-py-m2r-import.patch | 27 -- 2 files changed, 89 deletions(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild deleted file mode 100644 index b4084934543a.. --- a/dev-python/automat/automat-20.2.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -MY_PN="A${PN:1}" -MY_P="${MY_PN}-${PV}" - -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_PN:0:1}/${MY_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}] -" - -PATCHES=( - "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" - "${FILESDIR}/test_visualize-twisted-import-errors.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - if use test ; then - # Remove since this is upstream benchmarking tests - rm -r benchmark || die "FAILED to remove benchmark tests" - fi - - # avoid a setuptools_scm dependency - sed -r -i "s:use_scm_version=True:version='${PV}': ; - s:[\"']setuptools[_-]scm[\"'](,|)::" setup.py || die - # strip m2r dep - sed -i -e "/'m2r'/d" setup.py || die - - distutils-r1_python_prepare_all -} - -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]" -} diff --git a/dev-python/automat/files/automat-0.8.0-no-setup-py-m2r-import.patch b/dev-python/automat/files/automat-0.8.0-no-setup-py-m2r-import.patch deleted file mode 100644 index 161b219626da.. --- a/dev-python/automat/files/automat-0.8.0-no-setup-py-m2r-import.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/setup.py b/setup.py -index d0dec04..7a85a6e 100644 a/setup.py -+++ b/setup.py -@@ -4,14 +4,6 @@ Setup file for automat - - from setuptools import setup, find_packages - --try: --from m2r import parse_from_file --long_description = parse_from_file('README.md') --except(IOError, ImportError): --print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n") --import io --long_description = io.open('README.md', encoding="utf-8").read() -- - setup( - name='Automat', - use_scm_version=True, -@@ -19,7 +11,6 @@ setup( - description=""" - Self-service finite-state machines for the programmer on the go. - """.strip(), --long_description=long_description, - packages=find_packages(exclude=[]), - package_dir={'automat': 'automat'}, - setup_requires=[
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 4b0872f24ad579f2596a66aa1addb9d247898d06 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Jun 13 09:46:37 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Jun 13 09:46:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b0872f2 dev-python/automat: amd64/arm64/arm/hppa/ppc64/ppc/sparc/x86 stable (ALLARCHES policy) wrt bug #851285 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild index 8bafffe501ab..f2407e0572a0 100644 --- a/dev-python/automat/automat-20.2.0-r1.ebuild +++ b/dev-python/automat/automat-20.2.0-r1.ebuild @@ -16,7 +16,7 @@ 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" +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="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 6bf81b3a4802863e27bc8c43f85a6c999ebb65c8 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 3 09:09:58 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Jun 3 09:12:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf81b3a dev-python/automat: Add a blocker on m2r Closes: https://bugs.gentoo.org/848900 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild index 690c49cb4f29..8bafffe501ab 100644 --- a/dev-python/automat/automat-20.2.0-r1.ebuild +++ b/dev-python/automat/automat-20.2.0-r1.ebuild @@ -25,6 +25,7 @@ RDEPEND=" " BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] + !!dev-python/m2r " PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: a16f167f3a2af70269fd47e9c3c1c5a6fb402c56 Author: Michał Górny gentoo org> AuthorDate: Thu May 26 09:11:39 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu May 26 09:16:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16f167f dev-python/automat: Disable unnecessary m2r patch The code handles missing dev-python/m2r gracefully, so just leave it as-is. Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild index f942d5213df9..690c49cb4f29 100644 --- a/dev-python/automat/automat-20.2.0-r1.ebuild +++ b/dev-python/automat/automat-20.2.0-r1.ebuild @@ -28,7 +28,6 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" "${FILESDIR}/test_visualize-twisted-import-errors.patch" "${FILESDIR}/${P}-py311.patch" )
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 5eedd4c1e68c264d32109a2819ebee1496604e52 Author: Michał Górny gentoo org> AuthorDate: Thu May 26 09:11:04 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu May 26 09:16:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eedd4c1 dev-python/automat: Strip m2r setup_requires Closes: https://bugs.gentoo.org/847532 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild | 6 ++ dev-python/automat/automat-20.2.0.ebuild| 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild index d56a5190718a..f942d5213df9 100644 --- a/dev-python/automat/automat-20.2.0-r1.ebuild +++ b/dev-python/automat/automat-20.2.0-r1.ebuild @@ -39,6 +39,12 @@ EPYTEST_IGNORE=( benchmark ) +src_prepare() { + # strip m2r dep + sed -i -e "/'m2r'/d" setup.py || die + distutils-r1_src_prepare +} + python_install_all() { if use examples; then docinto examples diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index 84b1f24cd72f..b4084934543a 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 MY_PN="A${PN:1}" @@ -40,6 +40,8 @@ python_prepare_all() { # avoid a setuptools_scm dependency sed -r -i "s:use_scm_version=True:version='${PV}': ; s:[\"']setuptools[_-]scm[\"'](,|)::" setup.py || die + # strip m2r dep + sed -i -e "/'m2r'/d" setup.py || die distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 215f4f361dea0374e4ac2ffa35aa908128f59db2 Author: Michał Górny gentoo org> AuthorDate: Wed May 25 04:35:35 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed May 25 04:43:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=215f4f36 dev-python/automat: Remove stale m2r dep from 20.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index 465e6cabec42..84b1f24cd72f 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -23,9 +23,6 @@ RDEPEND=" >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] " -BDEPEND=" - dev-python/m2r[${PYTHON_USEDEP}] -" PATCHES=( "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch"
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: d08b2af5d8cd2f9d6afadeb01d9c2d57c7ef420a Author: Michał Górny gentoo org> AuthorDate: Thu May 12 13:23:42 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu May 12 13:36:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08b2af5 dev-python/automat: EAPI 8, PEP517 Signed-off-by: Michał Górny 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 ..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]" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/files/, dev-python/automat/
commit: cbaa7e66a529dfe1d33f131cd1385ad6d08a2163 Author: Michał Górny gentoo org> AuthorDate: Thu May 12 13:29:57 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu May 12 13:36:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbaa7e66 dev-python/automat: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild| 3 ++- .../automat/files/automat-20.2.0-py311.patch | 23 ++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0-r1.ebuild b/dev-python/automat/automat-20.2.0-r1.ebuild index d7ad5e62e710..d56a5190718a 100644 --- a/dev-python/automat/automat-20.2.0-r1.ebuild +++ b/dev-python/automat/automat-20.2.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 @@ -30,6 +30,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" "${FILESDIR}/test_visualize-twisted-import-errors.patch" + "${FILESDIR}/${P}-py311.patch" ) distutils_enable_tests pytest diff --git a/dev-python/automat/files/automat-20.2.0-py311.patch b/dev-python/automat/files/automat-20.2.0-py311.patch new file mode 100644 index ..14ca69e7235d --- /dev/null +++ b/dev-python/automat/files/automat-20.2.0-py311.patch @@ -0,0 +1,23 @@ +https://github.com/glyph/automat/commit/d0c2845ead9b8f576042d42134bfb5c63086be39 + +diff --git a/automat/_introspection.py b/automat/_introspection.py +index 3f7307d..403cddb 100644 +--- a/automat/_introspection.py b/automat/_introspection.py +@@ -6,6 +6,8 @@ + + + def copycode(template, changes): ++if hasattr(code, "replace"): ++return template.replace(**{"co_" + k : v for k, v in changes.items()}) + names = [ + "argcount", "nlocals", "stacksize", "flags", "code", "consts", + "names", "varnames", "filename", "name", "firstlineno", "lnotab", +@@ -23,7 +25,6 @@ def copycode(template, changes): + return code(*values) + + +- + def copyfunction(template, funcchanges, codechanges): + names = [ + "globals", "name", "defaults", "closure",
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 65c31c0799c94655bbe5940a89f207cc8ee2986a Author: James Le Cuirot gentoo org> AuthorDate: Thu Jan 27 22:53:16 2022 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 27 22:56:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c31c07 dev-python/automat: Keyword 20.2.0 for ~m68k The tests pass. Signed-off-by: James Le Cuirot gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index c7b05ca97c1a..d53ae881140a 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 0df4de1dd16414c61eed86dfd0de0e064aa5a3b6 Author: Ekaterina Vaartis kotobank ch> AuthorDate: Sat May 15 20:13:55 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue May 18 11:39:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df4de1d dev-python/automat: Bump to python 3.10 Signed-off-by: Ekaterina Vaartis kotobank.ch> Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index feef8214377..c7b05ca97c1 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -2,9 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 MY_PN="A${PN:1}" @@ -13,6 +12,7 @@ MY_P="${MY_PN}-${PV}" 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_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" @@ -24,12 +24,9 @@ RDEPEND=" dev-python/six[${PYTHON_USEDEP}] " BDEPEND=" - ${RDEPEND} dev-python/m2r[${PYTHON_USEDEP}] " -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" "${FILESDIR}/test_visualize-twisted-import-errors.patch"
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: a9fd82bca383a372f963633afc0b3698736e413e Author: Sam James gentoo org> AuthorDate: Sat Nov 28 11:43:14 2020 + Commit: Sam James gentoo org> CommitDate: Sat Nov 28 11:43:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9fd82bc dev-python/automat: ~x64-macos keyworded Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index 2b8afa2515f..29d14b887bc 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 01675aa3f59104fe56bb3771a492cde980d5ffc9 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 1 21:08:30 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue Aug 4 11:59:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01675aa3 dev-python/automat: Remove py2.7 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index 594383a4b32..3ca1eac96ee 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) +PYTHON_COMPAT=( python3_{6..9} pypy3 ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 863693886877a99bff6c402dffc58e83127be369 Author: Michał Górny gentoo org> AuthorDate: Wed Jul 8 13:07:51 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Jul 8 13:08:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86369388 dev-python/automat: Stabilize 20.2.0 ALLARCHES, #731330 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index 03f63f04962..594383a4b32 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: a68471f8027107f8bddc16a960f232eedc678d8f Author: Michał Górny gentoo org> AuthorDate: Wed Jul 8 13:01:35 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed Jul 8 13:08:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a68471f8 dev-python/automat: Mark ALLARCHES Signed-off-by: Michał Górny gentoo.org> dev-python/automat/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/automat/metadata.xml b/dev-python/automat/metadata.xml index 94441be933e..ef26299dcce 100644 --- a/dev-python/automat/metadata.xml +++ b/dev-python/automat/metadata.xml @@ -5,6 +5,7 @@ pyt...@gentoo.org Python + gl...@twistedmatrix.com
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: be56662ed22c25361d2322ffb50677ff57d75dce Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Jul 8 07:15:49 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jul 8 07:15:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be56662e dev-python/automat: stable 20.2.0 for ppc64 stable wrt bug #731330 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index f0bad41b3c1..03f63f04962 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: f1ff4f1e547a9be09179fba13592fbbe3c019542 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Jul 8 07:03:20 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jul 8 07:11:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ff4f1e dev-python/automat: stable 20.2.0 for ppc stable wrt bug #731330 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/automat/automat-20.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index dc4053b4c83..f0bad41b3c1 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/files/, dev-python/automat/
commit: 9a2c9c7b209a8dbf42b2698181b2bcf5d95dbdf5 Author: Brian Dolbec gentoo org> AuthorDate: Wed Jun 10 15:57:52 2020 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jun 10 15:59:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2c9c7b dev-python/automat: Fix test failures for bug 665554 automat _visualize.py code depends on both twisted and graphiz modules. This patch fixes the condition where some tests were not skipped due to twisted not being installed, but graphviz was. Gentoo-bug: https://bugs.gentoo.org/665554 Upstream-PR: https://github.com/glyph/automat/pull/125 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Brian Dolbec gentoo.org> dev-python/automat/automat-0.8.0-r1.ebuild | 3 +- dev-python/automat/automat-20.2.0.ebuild | 3 +- .../test_visualize-twisted-import-errors.patch | 52 ++ 3 files changed, 56 insertions(+), 2 deletions(-) diff --git a/dev-python/automat/automat-0.8.0-r1.ebuild b/dev-python/automat/automat-0.8.0-r1.ebuild index d31a2e5ccc3..35f0f151aaf 100644 --- a/dev-python/automat/automat-0.8.0-r1.ebuild +++ b/dev-python/automat/automat-0.8.0-r1.ebuild @@ -32,6 +32,7 @@ S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" + "${FILESDIR}/test_visualize-twisted-import-errors.patch" ) distutils_enable_tests pytest @@ -59,7 +60,7 @@ python_install_all() { } pkg_postinst() { - einfo "For additional visualization functionality install these optional dependencies" + einfo "For additional visualization functionality install both these optional dependencies" einfo ">=dev-python/twisted-16.1.1" einfo "media-gfx/graphviz[python]" } diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild index d07dff71307..dc4053b4c83 100644 --- a/dev-python/automat/automat-20.2.0.ebuild +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -32,6 +32,7 @@ S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" + "${FILESDIR}/test_visualize-twisted-import-errors.patch" ) distutils_enable_tests pytest @@ -59,7 +60,7 @@ python_install_all() { } pkg_postinst() { - einfo "For additional visualization functionality install these optional dependencies" + einfo "For additional visualization functionality install both these optional dependencies" einfo ">=dev-python/twisted-16.1.1" einfo "media-gfx/graphviz[python]" } diff --git a/dev-python/automat/files/test_visualize-twisted-import-errors.patch b/dev-python/automat/files/test_visualize-twisted-import-errors.patch new file mode 100644 index 000..b3d8938cf7d --- /dev/null +++ b/dev-python/automat/files/test_visualize-twisted-import-errors.patch @@ -0,0 +1,52 @@ +From 9f6312e0c2504c27b72bb228a37ed5ac58776e94 Mon Sep 17 00:00:00 2001 +From: Brian Dolbec +Date: Wed, 10 Jun 2020 07:31:45 -0700 +Subject: [PATCH] Fix _test_visualize.py twisted import errors + +When graphviz modules are installed but not twisted, this creates test failures +in _discover.py which hard depends on twisted being installed. + +Signed-off-by: Brian Dolbec +--- + automat/_test/test_visualize.py | 4 + 1 file changed, 4 insertions(+) + +diff --git a/automat/_test/test_visualize.py b/automat/_test/test_visualize.py +index 987eb3c..142c4bf 100644 +--- a/automat/_test/test_visualize.py b/automat/_test/test_visualize.py +@@ -62,6 +62,7 @@ def sampleMachine(): + + + @skipIf(not isGraphvizModuleInstalled(), "Graphviz module is not installed.") ++@skipIf(not isTwistedInstalled(), "Twisted is not installed.") + class ElementMakerTests(TestCase): + """ + L{elementMaker} generates HTML representing the specified element. +@@ -134,6 +135,7 @@ def isLeaf(element): + + + @skipIf(not isGraphvizModuleInstalled(), "Graphviz module is not installed.") ++@skipIf(not isTwistedInstalled(), "Twisted is not installed.") + class TableMakerTests(TestCase): + """ + Tests that ensure L{tableMaker} generates HTML tables usable as +@@ -214,6 +216,7 @@ class TableMakerTests(TestCase): + + @skipIf(not isGraphvizModuleInstalled(), "Graphviz module is not installed.") + @skipIf(not isGraphvizInstalled(), "Graphviz tools are not installed.") ++@skipIf(not isTwistedInstalled(), "Twisted is not installed.") + class IntegrationTests(TestCase): + """ + Tests which make sure Graphviz can understand the output produced by +@@ -232,6 +235,7 @@ class IntegrationTests(TestCase): + + + @skipIf(not isGraphvizModuleInstalled(), "Graphviz module is not installed.") ++@skipIf(not isTwistedInstalled(), "Twisted is not installed.") + class SpotChecks(TestCase): + """ + Tests to make sure that the output contains salient features of the machine +-- +libgit2 0.99.0 +
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: bb862d51bf17ee89111604f8fd45a454c14f6199 Author: Michał Górny gentoo org> AuthorDate: Wed May 27 12:45:09 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed May 27 12:45:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb862d51 dev-python/automat: Bump to 20.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/Manifest | 1 + dev-python/automat/automat-20.2.0.ebuild | 65 2 files changed, 66 insertions(+) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index 1cb5e1e7e87..5ed71454031 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1 +1,2 @@ DIST Automat-0.8.0.tar.gz 59687 BLAKE2B 56e4ec76564d321ca9a709c484077a4003eea2842160e2267284ec6ebc2486482f79cd919bef7bbec8baeee7a34ca2a11d48665bb36c79c5a45a3c97e992 SHA512 2dbd4e784f65b02a8c93fc5f15236df3649d667a9792f6cac929dbac5d971495bdab4825df0fcd6817b9a9f79b7a5d8cfbdf8e4d18605f0761546b31b3091ad7 +DIST Automat-20.2.0.tar.gz 61679 BLAKE2B 9dfb93a0bf0a348d8f7de0796b3e5715947eb84cc0aa507a453f438d2027ae877280ed6d7896192cee46f31c7d1c0eb6cb3dee36e1f13a315071513920c5b6d0 SHA512 715cb5dc087288492e6465a29e7d8502a84fadf451bc3d29da86335ea1c20f8efd9549f0c1eaac8800559dd8001dd73736c3bfacdc6321c83a35d2288d69632c diff --git a/dev-python/automat/automat-20.2.0.ebuild b/dev-python/automat/automat-20.2.0.ebuild new file mode 100644 index 000..d07dff71307 --- /dev/null +++ b/dev-python/automat/automat-20.2.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_PN="A${PN:1}" +MY_P="${MY_PN}-${PV}" + +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_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + dev-python/m2r[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + if use test ; then + # Remove since this is upstream benchmarking tests + rm -r benchmark || die "FAILED to remove benchmark tests" + fi + + # avoid a setuptools_scm dependency + sed -r -i "s:use_scm_version=True:version='${PV}': ; + s:[\"']setuptools[_-]scm[\"'](,|)::" setup.py || die + + distutils-r1_python_prepare_all +} + +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 these optional dependencies" + einfo ">=dev-python/twisted-16.1.1" + einfo "media-gfx/graphviz[python]" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 28b446ba5862df1370720b47fac5116458a6cf98 Author: Michał Górny gentoo org> AuthorDate: Wed May 27 08:34:11 2020 + Commit: Michał Górny gentoo org> CommitDate: Wed May 27 08:37:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b446ba dev-python/automat: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/automat/automat-0.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.8.0-r1.ebuild b/dev-python/automat/automat-0.8.0-r1.ebuild index 27f988b68f4..d31a2e5ccc3 100644 --- a/dev-python/automat/automat-0.8.0-r1.ebuild +++ b/dev-python/automat/automat-0.8.0-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 539572d1c92398c697988aa3000a37b24bf44fbf Author: Mikle Kolyada gentoo org> AuthorDate: Wed May 6 18:44:32 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed May 6 18:44:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539572d1 dev-python/automat: ppc stable wrt bug #710566 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc" Signed-off-by: Mikle Kolyada gentoo.org> dev-python/automat/automat-0.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.8.0-r1.ebuild b/dev-python/automat/automat-0.8.0-r1.ebuild index 8f8b9d469ba..27f988b68f4 100644 --- a/dev-python/automat/automat-0.8.0-r1.ebuild +++ b/dev-python/automat/automat-0.8.0-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 0a3f29cdd0f7a619fac484e6fe919fe4b347986c Author: Mikle Kolyada gentoo org> AuthorDate: Wed May 6 14:27:43 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed May 6 14:27:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a3f29cd dev-python/automat: s390 stable wrt bug #710566 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="s390" Signed-off-by: Mikle Kolyada gentoo.org> dev-python/automat/automat-0.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.8.0-r1.ebuild b/dev-python/automat/automat-0.8.0-r1.ebuild index 5a8f302ca5f..8f8b9d469ba 100644 --- a/dev-python/automat/automat-0.8.0-r1.ebuild +++ b/dev-python/automat/automat-0.8.0-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: d5cfb85726a8bdc267b8ad095066b2a56fd57953 Author: Mike Gilbert gentoo org> AuthorDate: Wed Apr 15 05:51:57 2020 + Commit: Mike Gilbert gentoo org> CommitDate: Wed Apr 15 05:51:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5cfb857 dev-python/automat: DISTUTILS_USE_SETUPTOOLS=rdepend Signed-off-by: Mike Gilbert gentoo.org> dev-python/automat/{automat-0.8.0.ebuild => automat-0.8.0-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/automat/automat-0.8.0.ebuild b/dev-python/automat/automat-0.8.0-r1.ebuild similarity index 97% rename from dev-python/automat/automat-0.8.0.ebuild rename to dev-python/automat/automat-0.8.0-r1.ebuild index b7e01672970..5a8f302ca5f 100644 --- a/dev-python/automat/automat-0.8.0.ebuild +++ b/dev-python/automat/automat-0.8.0-r1.ebuild @@ -3,6 +3,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 2d1715951d7b6a7af81e4dd0f93e10d896accbc5 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Apr 6 17:01:56 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Apr 6 17:54:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d171595 dev-python/automat: stable 0.8.0 for hppa, bug #710566 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/automat/automat-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.8.0.ebuild b/dev-python/automat/automat-0.8.0.ebuild index 2b2b46a851c..b7e01672970 100644 --- a/dev-python/automat/automat-0.8.0.ebuild +++ b/dev-python/automat/automat-0.8.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 087a440c5fb04fc490d196d18f0ad1ddb92abbbf Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Feb 24 06:43:28 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Feb 24 08:20:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087a440c dev-python/automat: stable 0.8.0 for sparc, bug #710566 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/automat/automat-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.8.0.ebuild b/dev-python/automat/automat-0.8.0.ebuild index 597bef0827a..570fbb8132d 100644 --- a/dev-python/automat/automat-0.8.0.ebuild +++ b/dev-python/automat/automat-0.8.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 14bad5f4d1ec3470648396a51c42c9f7ba59876c Author: Mikle Kolyada gentoo org> AuthorDate: Sun Feb 23 12:12:02 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Feb 23 12:12:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14bad5f4 dev-python/automat: arm stable wrt bug #710566 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> dev-python/automat/automat-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.8.0.ebuild b/dev-python/automat/automat-0.8.0.ebuild index 81c36630d9a..597bef0827a 100644 --- a/dev-python/automat/automat-0.8.0.ebuild +++ b/dev-python/automat/automat-0.8.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: a9ce06b52aca508ebf7259b570d6824a7b2a1107 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Feb 22 15:49:21 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Feb 22 20:22:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ce06b5 dev-python/automat: Drop 0.5.0, 0.6.0, 0.7.0 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/automat/Manifest | 3 -- dev-python/automat/automat-0.5.0.ebuild | 51 dev-python/automat/automat-0.6.0.ebuild | 51 dev-python/automat/automat-0.7.0.ebuild | 59 - 4 files changed, 164 deletions(-) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index a278fa8c8a9..1cb5e1e7e87 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1,4 +1 @@ -DIST Automat-0.5.0.tar.gz 32599 BLAKE2B 951da8840c2334fe3cd86804b39beedaad0d344d66742e8bb72e2d2ace2029b037acac8ffccc5643fd37f81020a567374a25ed42f7bc386770a30956464f52eb SHA512 7b4fc64e1b3cc514e3513c4be7387309a9e0c6d59ef091131404642b517a324b4a0eb677bee99da038664bd6713f2d2078c621f056e98b35966caf324741eeeb -DIST Automat-0.6.0.tar.gz 31767 BLAKE2B 28baa9d6cc7497f9c0a4b7f4050b197d3dff871b91f5f3e29bdc47ace443af8de0fbeacf1657dc6565b3ab824365362a42204d6d89a8dfc82eaa6cd92d4e2308 SHA512 94f2fa06b0e0e1c0538bcf4bd9046ea40600a018bdd1da2d5bed479877807ad56e448c4f1d7ec87341f80013ae6c35b01201cbe3c4ecae1105419038ed43024d -DIST Automat-0.7.0.tar.gz 61461 BLAKE2B dd09ce090c7333ee17b701bde2c78e01dacf40cefee847061a2019bb27f0982091e7628737211421ada351937caf9c6734cb445ee6462ce84b381030b013bd05 SHA512 a6f307d312a3ceb721071b5212297c73d2306894b5fafd39265578041a2859bd6f041ac43a654bdda4175a70a4e90e0db1ee35cd43fa620cd5c594b5d1988a74 DIST Automat-0.8.0.tar.gz 59687 BLAKE2B 56e4ec76564d321ca9a709c484077a4003eea2842160e2267284ec6ebc2486482f79cd919bef7bbec8baeee7a34ca2a11d48665bb36c79c5a45a3c97e992 SHA512 2dbd4e784f65b02a8c93fc5f15236df3649d667a9792f6cac929dbac5d971495bdab4825df0fcd6817b9a9f79b7a5d8cfbdf8e4d18605f0761546b31b3091ad7 diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild deleted file mode 100644 index da69ebd7e7f..000 --- a/dev-python/automat/automat-0.5.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6) - -inherit distutils-r1 - -MYPN="Automat" -MYP="${MYPN}-${PV}" - -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/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/m2r[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -S=${WORKDIR}/${MYP} - -python_test() { - PYTHONPATH="${S}/test:${BUILD_DIR}/lib" py.test -v || die "Tests failed under ${EPYTHON}" -} - -src_install() { - if use examples; then - docinto examples - dodoc docs/examples/*.py - fi - distutils-r1_src_install -} - -pkg_postinst() { - einfo "For additional visualization functionality install these optional dependencies" - einfo ">=dev-python/twisted-16.1.1" - einfo "media-gfx/graphviz[python]" -} diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild deleted file mode 100644 index 9e702ebbb8f..000 --- a/dev-python/automat/automat-0.6.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6) - -inherit distutils-r1 - -MYPN="Automat" -MYP="${MYPN}-${PV}" - -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/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/m2r[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" - -S=${WORKDIR}/${MYP} - -python_test() { -
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: b59c2983881739ec1eabe3f959a58f471540726d Author: Aaron Bauman gentoo org> AuthorDate: Mon Dec 2 02:43:26 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Mon Dec 2 02:43:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59c2983 dev-python/automat: amd64 stable Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.80, Repoman-2.3.19 dev-python/automat/automat-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.8.0.ebuild b/dev-python/automat/automat-0.8.0.ebuild index 075a0b131e2..b9dabf72bb0 100644 --- a/dev-python/automat/automat-0.8.0.ebuild +++ b/dev-python/automat/automat-0.8.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/files/, dev-python/automat/
commit: d77d2d0183c01f91ebbade3bae3adc673da99240 Author: Patrick McLean sony com> AuthorDate: Wed Nov 27 22:45:04 2019 + Commit: Patrick McLean gentoo org> CommitDate: Wed Nov 27 22:50:13 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d77d2d01 dev-python/automat-0.8.0: bump, add py38 and pypy3 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean gentoo.org> dev-python/automat/Manifest| 1 + dev-python/automat/automat-0.8.0.ebuild| 64 ++ .../automat-0.8.0-no-setup-py-m2r-import.patch | 27 + 3 files changed, 92 insertions(+) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index af99aefb7a7..a278fa8c8a9 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1,3 +1,4 @@ DIST Automat-0.5.0.tar.gz 32599 BLAKE2B 951da8840c2334fe3cd86804b39beedaad0d344d66742e8bb72e2d2ace2029b037acac8ffccc5643fd37f81020a567374a25ed42f7bc386770a30956464f52eb SHA512 7b4fc64e1b3cc514e3513c4be7387309a9e0c6d59ef091131404642b517a324b4a0eb677bee99da038664bd6713f2d2078c621f056e98b35966caf324741eeeb DIST Automat-0.6.0.tar.gz 31767 BLAKE2B 28baa9d6cc7497f9c0a4b7f4050b197d3dff871b91f5f3e29bdc47ace443af8de0fbeacf1657dc6565b3ab824365362a42204d6d89a8dfc82eaa6cd92d4e2308 SHA512 94f2fa06b0e0e1c0538bcf4bd9046ea40600a018bdd1da2d5bed479877807ad56e448c4f1d7ec87341f80013ae6c35b01201cbe3c4ecae1105419038ed43024d DIST Automat-0.7.0.tar.gz 61461 BLAKE2B dd09ce090c7333ee17b701bde2c78e01dacf40cefee847061a2019bb27f0982091e7628737211421ada351937caf9c6734cb445ee6462ce84b381030b013bd05 SHA512 a6f307d312a3ceb721071b5212297c73d2306894b5fafd39265578041a2859bd6f041ac43a654bdda4175a70a4e90e0db1ee35cd43fa620cd5c594b5d1988a74 +DIST Automat-0.8.0.tar.gz 59687 BLAKE2B 56e4ec76564d321ca9a709c484077a4003eea2842160e2267284ec6ebc2486482f79cd919bef7bbec8baeee7a34ca2a11d48665bb36c79c5a45a3c97e992 SHA512 2dbd4e784f65b02a8c93fc5f15236df3649d667a9792f6cac929dbac5d971495bdab4825df0fcd6817b9a9f79b7a5d8cfbdf8e4d18605f0761546b31b3091ad7 diff --git a/dev-python/automat/automat-0.8.0.ebuild b/dev-python/automat/automat-0.8.0.ebuild new file mode 100644 index 000..075a0b131e2 --- /dev/null +++ b/dev-python/automat/automat-0.8.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) + +inherit distutils-r1 + +MY_PN="A${PN:1}" +MY_P="${MY_PN}-${PV}" + +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_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + dev-python/m2r[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/automat-0.8.0-no-setup-py-m2r-import.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + if use test ; then + # Remove since this is upstream benchmarking tests + rm -r benchmark || die "FAILED to remove benchmark tests" + fi + + # avoid a setuptools_scm dependency + sed -r -i "s:use_scm_version=True:version='${PV}': ; + s:[\"']setuptools[_-]scm[\"'](,|)::" setup.py || die + + distutils-r1_python_prepare_all +} + +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 these optional dependencies" + einfo ">=dev-python/twisted-16.1.1" + einfo "media-gfx/graphviz[python]" +} diff --git a/dev-python/automat/files/automat-0.8.0-no-setup-py-m2r-import.patch b/dev-python/automat/files/automat-0.8.0-no-setup-py-m2r-import.patch new file mode 100644 index 000..161b219626d --- /dev/null +++ b/dev-python/automat/files/automat-0.8.0-no-setup-py-m2r-import.patch @@ -0,0 +1,27 @@ +diff --git a/setup.py b/setup.py +index d0dec04..7a85a6e 100644 +--- a/setup.py b/setup.py +@@ -4,14 +4,6 @@ Setup file for automat + + from setuptools import setup, find_packages + +-try: +-from m2r import parse_from_file +-long_description = parse_from_file('README.md') +-except(IOError, ImportError): +-print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n") +-import io +-long_description = io.open('README.md', encoding="utf-8").read() +- + setup( + name='Automat', +
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: c42e622ae9014e9a065fd9345491f1741c94d1f9 Author: Mikle Kolyada gentoo org> AuthorDate: Thu May 2 22:01:30 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu May 2 22:01:30 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42e622a dev-python/automat: Add ~alpha keyword wrt bug #661320 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --include-arches="~alpha" dev-python/automat/automat-0.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.7.0.ebuild b/dev-python/automat/automat-0.7.0.ebuild index 7f06d65b96e..948692f5b3b 100644 --- a/dev-python/automat/automat-0.7.0.ebuild +++ b/dev-python/automat/automat-0.7.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 7bb6da4d308214d247d4a7c57f8566bc9224274c Author: Fabian Groffen gentoo org> AuthorDate: Wed Mar 20 10:22:53 2019 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Mar 20 10:22:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb6da4d dev-python/automat: marked ~amd64-linux Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-python/automat/automat-0.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.7.0.ebuild b/dev-python/automat/automat-0.7.0.ebuild index 31c408a3704..96fbe84f14f 100644 --- a/dev-python/automat/automat-0.7.0.ebuild +++ b/dev-python/automat/automat-0.7.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: b404ed5f6b7388329d7eebef803faf5d706a3f0b Author: Mikle Kolyada gentoo org> AuthorDate: Sun Mar 3 10:55:54 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Mar 3 10:55:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b404ed5f dev-python/automat: mark ~s390 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/automat/automat-0.5.0.ebuild | 4 ++-- dev-python/automat/automat-0.6.0.ebuild | 4 ++-- dev-python/automat/automat-0.7.0.ebuild | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild index cb55da3ea12..1b620cdd086 100644 --- a/dev-python/automat/automat-0.5.0.ebuild +++ b/dev-python/automat/automat-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="examples test" RDEPEND=" diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild index f7b1b84730d..16bac9898e6 100644 --- a/dev-python/automat/automat-0.6.0.ebuild +++ b/dev-python/automat/automat-0.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd" IUSE="examples test" RDEPEND=" diff --git a/dev-python/automat/automat-0.7.0.ebuild b/dev-python/automat/automat-0.7.0.ebuild index 9136e18be1c..31c408a3704 100644 --- a/dev-python/automat/automat-0.7.0.ebuild +++ b/dev-python/automat/automat-0.7.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 78562a094c1b49e64795078d0f7bc3e8dbc64289 Author: Mikle Kolyada gentoo org> AuthorDate: Thu Jan 17 20:44:17 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu Jan 17 20:44:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78562a09 dev-python/automat: Add ~sh keyword wrt bug #661320 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/automat/automat-0.7.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/automat/automat-0.7.0.ebuild b/dev-python/automat/automat-0.7.0.ebuild index 3da75c199ec..9136e18be1c 100644 --- a/dev-python/automat/automat-0.7.0.ebuild +++ b/dev-python/automat/automat-0.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: c31bd209bc74dc1876f1a0c16d5fd8aa1c8693b6 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 14 20:15:28 2018 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 16 19:57:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31bd209 dev-python/automat: Enable py3.7 dev-python/automat/automat-0.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.7.0.ebuild b/dev-python/automat/automat-0.7.0.ebuild index 9671b0f1117..3da75c199ec 100644 --- a/dev-python/automat/automat-0.7.0.ebuild +++ b/dev-python/automat/automat-0.7.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 51e5d56a7aa25ee9e0065006c25788f705851f16 Author: Brian Dolbec gentoo org> AuthorDate: Wed Jun 27 15:37:31 2018 + Commit: Brian Dolbec gentoo org> CommitDate: Mon Jul 2 02:12:24 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e5d56a dev-python/automat: Version bump Package-Manager: Portage-2.3.40, Repoman-2.3.9 Signed-off-by: Brian Dolbec gentoo.org> dev-python/automat/Manifest | 1 + dev-python/automat/automat-0.7.0.ebuild | 58 + 2 files changed, 59 insertions(+) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index 055496074c2..af99aefb7a7 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1,2 +1,3 @@ DIST Automat-0.5.0.tar.gz 32599 BLAKE2B 951da8840c2334fe3cd86804b39beedaad0d344d66742e8bb72e2d2ace2029b037acac8ffccc5643fd37f81020a567374a25ed42f7bc386770a30956464f52eb SHA512 7b4fc64e1b3cc514e3513c4be7387309a9e0c6d59ef091131404642b517a324b4a0eb677bee99da038664bd6713f2d2078c621f056e98b35966caf324741eeeb DIST Automat-0.6.0.tar.gz 31767 BLAKE2B 28baa9d6cc7497f9c0a4b7f4050b197d3dff871b91f5f3e29bdc47ace443af8de0fbeacf1657dc6565b3ab824365362a42204d6d89a8dfc82eaa6cd92d4e2308 SHA512 94f2fa06b0e0e1c0538bcf4bd9046ea40600a018bdd1da2d5bed479877807ad56e448c4f1d7ec87341f80013ae6c35b01201cbe3c4ecae1105419038ed43024d +DIST Automat-0.7.0.tar.gz 61461 BLAKE2B dd09ce090c7333ee17b701bde2c78e01dacf40cefee847061a2019bb27f0982091e7628737211421ada351937caf9c6734cb445ee6462ce84b381030b013bd05 SHA512 a6f307d312a3ceb721071b5212297c73d2306894b5fafd39265578041a2859bd6f041ac43a654bdda4175a70a4e90e0db1ee35cd43fa620cd5c594b5d1988a74 diff --git a/dev-python/automat/automat-0.7.0.ebuild b/dev-python/automat/automat-0.7.0.ebuild new file mode 100644 index 000..9671b0f1117 --- /dev/null +++ b/dev-python/automat/automat-0.7.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) + +inherit distutils-r1 + +MYPN="Automat" +MYP="${MYPN}-${PV}" + +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/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +IUSE="examples test" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/m2r[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +S=${WORKDIR}/${MYP} + +python_prepare_all() { + if use test ; then + # Remove since this is upstream benchmarking tests + rm -r benchmark || die "FAILED to remove benchmark tests" + fi + distutils-r1_python_prepare_all +} + +python_test() { + PYTHONPATH="${S}/test:${BUILD_DIR}/lib" py.test -v || die "Tests failed under ${EPYTHON}" +} + +src_install() { + if use examples; then + docinto examples + dodoc docs/examples/*.py + fi + distutils-r1_src_install +} + +pkg_postinst() { + einfo "For additional visualization functionality install these optional dependencies" + einfo ">=dev-python/twisted-16.1.1" + einfo "media-gfx/graphviz[python]" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 30f8e769fb6eb405016f045d46a2cd37fd2129cc Author: Matt Turner gentoo org> AuthorDate: Fri Apr 6 05:22:31 2018 + Commit: Matt Turner gentoo org> CommitDate: Fri Apr 6 05:22:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f8e769 dev-python/automat-0.6.0: added ~mips, bug 614386 dev-python/automat/automat-0.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild index 54285ae3dda..f9c1a027599 100644 --- a/dev-python/automat/automat-0.6.0.ebuild +++ b/dev-python/automat/automat-0.6.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: d0bdf487a19cbeb2ca2eb3190eed1af385ab6ee5 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 22 15:02:57 2018 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 22 15:02:57 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bdf487 dev-python/automat: Tested on ~amd64-fbsd dev-python/automat/automat-0.6.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild index baaf55c92d3..54285ae3dda 100644 --- a/dev-python/automat/automat-0.6.0.ebuild +++ b/dev-python/automat/automat-0.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: e2a4bf3d7e6e057ae0ed4b96b638e3f263a46289 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Dec 13 22:07:39 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Dec 13 22:15:35 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2a4bf3d dev-python/automat: keyworded 0.6.0 for sparc, bug #614386 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" dev-python/automat/automat-0.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild index 71866e63ede..baaf55c92d3 100644 --- a/dev-python/automat/automat-0.6.0.ebuild +++ b/dev-python/automat/automat-0.6.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 994a7fcc13d40f87d548d6cd7d6098b7263ebb83 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Dec 13 22:07:34 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Dec 13 22:15:34 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=994a7fcc dev-python/automat: keyworded 0.5.0 for sparc, bug #614386 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" dev-python/automat/automat-0.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild index 71866e63ede..baaf55c92d3 100644 --- a/dev-python/automat/automat-0.5.0.ebuild +++ b/dev-python/automat/automat-0.5.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 4ecbaf67a1c73c1347e5b2b80eb0765cbcce2232 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 24 16:30:53 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 24 16:34:21 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ecbaf67 dev-python/automat: keyworded 0.5.0 for ppc, bug #614386 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" dev-python/automat/automat-0.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild index 30dd1c19a4b..71866e63ede 100644 --- a/dev-python/automat/automat-0.5.0.ebuild +++ b/dev-python/automat/automat-0.5.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 7c5e0c081b3b9a66d530f353006a6b3c8b8319a4 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 24 16:32:41 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 24 16:34:22 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5e0c08 dev-python/automat: keyworded 0.6.0 for ppc, bug #614386 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" dev-python/automat/automat-0.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild index 30dd1c19a4b..71866e63ede 100644 --- a/dev-python/automat/automat-0.6.0.ebuild +++ b/dev-python/automat/automat-0.6.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 2e6f08782e4c9f1f5fe7f41a887de6c15f0c702a Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jul 10 21:42:03 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jul 10 21:47:42 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6f0878 dev-python/automat: ia64 keyworded, bug #614386 Package-Manager: Portage-2.3.6, Repoman-2.3.2 RepoMan-Options: --include-arches="ia64" dev-python/automat/automat-0.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild index f297b1b7594..30dd1c19a4b 100644 --- a/dev-python/automat/automat-0.5.0.ebuild +++ b/dev-python/automat/automat-0.5.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 57c629207da2ab5e8be92149c1f2457349db2b6f Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jul 10 21:44:03 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jul 10 21:47:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57c62920 dev-python/automat: ia64 keyworded, bug #614386 Package-Manager: Portage-2.3.6, Repoman-2.3.2 RepoMan-Options: --include-arches="ia64" dev-python/automat/automat-0.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild index f297b1b7594..30dd1c19a4b 100644 --- a/dev-python/automat/automat-0.6.0.ebuild +++ b/dev-python/automat/automat-0.6.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: eb65cd3c8c8044ffa7ba8bbe8a25626c3cadb5ff Author: Brian Dolbec gentoo org> AuthorDate: Fri Jun 9 17:03:00 2017 + Commit: Brian Dolbec gentoo org> CommitDate: Fri Jun 9 18:18:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb65cd3c dev-python/automat: Version bump Package-Manager: Portage-2.3.6_p2, Repoman-2.3.2_p70 dev-python/automat/Manifest | 1 + dev-python/automat/automat-0.6.0.ebuild | 50 + 2 files changed, 51 insertions(+) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index 6edae925f26..76e70f4ad69 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1 +1,2 @@ DIST Automat-0.5.0.tar.gz 32599 SHA256 4889ec6763377432ec4db265ad552bbe956768ea3fff39014855308ba79dd7c2 SHA512 7b4fc64e1b3cc514e3513c4be7387309a9e0c6d59ef091131404642b517a324b4a0eb677bee99da038664bd6713f2d2078c621f056e98b35966caf324741eeeb WHIRLPOOL 5d3d258cb0eae2393edd4b12860b4312522c4a0eff7c17724ecf13032b633e1803b3817bd095f5e24a680d6d006ea4a389bd038022ac21376ba4e969e3bc4200 +DIST Automat-0.6.0.tar.gz 31767 SHA256 3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8 SHA512 94f2fa06b0e0e1c0538bcf4bd9046ea40600a018bdd1da2d5bed479877807ad56e448c4f1d7ec87341f80013ae6c35b01201cbe3c4ecae1105419038ed43024d WHIRLPOOL 2e394600dcecd31a362fcd6e8c88a1d228567a85df6c6312eadf00d854f0f5c4a89adaabb319ba57c2aa8fdda110eb3c36f20bca6509585cc14d60670db7c193 diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild new file mode 100644 index 000..f297b1b7594 --- /dev/null +++ b/dev-python/automat/automat-0.6.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) + +inherit distutils-r1 + +MYPN="Automat" +MYP="${MYPN}-${PV}" + +DESCRIPTION="Self-service finite-state machines for the programmer on the go" +HOMEPAGE="https://github.com/glyph/automat https://pypi.python.org/pypi/Automat; +SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +IUSE="examples test" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/m2r[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +S=${WORKDIR}/${MYP} + +python_test() { + PYTHONPATH="${S}/test:${BUILD_DIR}/lib" py.test -v || die "Tests failed under ${EPYTHON}" +} + +src_install() { + if use examples; then + docinto examples + dodoc docs/examples/*.py + fi + distutils-r1_src_install +} + +pkg_postinst() { + einfo "For additional visualization functionality install these optional dependencies" + einfo ">=dev-python/twisted-16.1.1" + einfo "media-gfx/graphviz[python]" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 58935bb36c9b52397b291291205355a3ec57e89f Author: Jeroen Roovers gentoo org> AuthorDate: Tue Apr 18 14:16:17 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Apr 18 14:17:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58935bb3 dev-python/automat: Mark ~hppa (bug #614386). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --ignore-arches dev-python/automat/automat-0.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild index 91b21113f6c..f297b1b7594 100644 --- a/dev-python/automat/automat-0.5.0.ebuild +++ b/dev-python/automat/automat-0.5.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 1561ab48dd20d3913d83b5431bcd20b92d15b923 Author: Michael Weber gentoo org> AuthorDate: Wed Apr 5 10:43:20 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Apr 5 10:43:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1561ab48 dev-python/automat: add ~ppc64 (bug 614386). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --include-arches="ppc64" dev-python/automat/automat-0.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild index fbb2f584459..91b21113f6c 100644 --- a/dev-python/automat/automat-0.5.0.ebuild +++ b/dev-python/automat/automat-0.5.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="examples test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/automat/
commit: 2dfa752bdc2b360e3ca5f1b575dd7cb8403f9717 Author: Brian Dolbec gentoo org> AuthorDate: Fri Mar 31 13:52:51 2017 + Commit: Brian Dolbec gentoo org> CommitDate: Fri Mar 31 21:08:51 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dfa752b dev-python/automat: New package, new dep of dev-python/twisted Package-Manager: Portage-2.3.5, Repoman-2.3.2_p30 dev-python/automat/Manifest | 1 + dev-python/automat/automat-0.5.0.ebuild | 50 + dev-python/automat/metadata.xml | 20 + 3 files changed, 71 insertions(+) diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest new file mode 100644 index 000..6edae925f26 --- /dev/null +++ b/dev-python/automat/Manifest @@ -0,0 +1 @@ +DIST Automat-0.5.0.tar.gz 32599 SHA256 4889ec6763377432ec4db265ad552bbe956768ea3fff39014855308ba79dd7c2 SHA512 7b4fc64e1b3cc514e3513c4be7387309a9e0c6d59ef091131404642b517a324b4a0eb677bee99da038664bd6713f2d2078c621f056e98b35966caf324741eeeb WHIRLPOOL 5d3d258cb0eae2393edd4b12860b4312522c4a0eff7c17724ecf13032b633e1803b3817bd095f5e24a680d6d006ea4a389bd038022ac21376ba4e969e3bc4200 diff --git a/dev-python/automat/automat-0.5.0.ebuild b/dev-python/automat/automat-0.5.0.ebuild new file mode 100644 index 000..667cc866282 --- /dev/null +++ b/dev-python/automat/automat-0.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) + +inherit distutils-r1 + +MYPN="Automat" +MYP="${MYPN}-${PV}" + +DESCRIPTION="Self-service finite-state machines for the programmer on the go" +HOMEPAGE="https://github.com/glyph/automat https://pypi.python.org/pypi/Automat; +SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/m2r[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +S=${WORKDIR}/${MYP} + +python_test() { + PYTHONPATH="${S}/test:${BUILD_DIR}/lib" py.test -v || die "Tests failed under ${EPYTHON}" +} + +src_install() { + if use examples; then + docinto examples + dodoc docs/examples/*.py + fi + distutils-r1_src_install +} + +pkg_postinst() { + einfo "For additional visualization functionality install these optional dependencies" + einfo ">=dev-python/twisted-16.1.1" + einfo "media-gfx/graphviz[python]" +} diff --git a/dev-python/automat/metadata.xml b/dev-python/automat/metadata.xml new file mode 100644 index 000..1b291a9ad5b --- /dev/null +++ b/dev-python/automat/metadata.xml @@ -0,0 +1,20 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + dol...@gentoo.org + Primary maintainer + + + + gl...@twistedmatrix.com + Glyph + + Automat + + + Automat is a library for concise, idiomatic Python expression of + finite-state automata (particularly deterministic finite-state + transducers). + +