[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/, dev-python/pytest-trio/, ...
commit: b7524220f5cc44d0d0c690b2bcb1f93872ab6188 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Jun 27 15:37:59 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Jun 27 15:38:20 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7524220 dev-python/trio-asyncio: move to ::gentoo Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pytest-trio/Manifest| 1 - dev-python/pytest-trio/metadata.xml| 13 - dev-python/pytest-trio/pytest-trio-0.7.0.ebuild| 55 -- dev-python/trio-asyncio/Manifest | 1 - .../trio-asyncio/files/no-pytest-runner.patch | 10 dev-python/trio-asyncio/metadata.xml | 27 --- dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild | 36 -- 7 files changed, 143 deletions(-) diff --git a/dev-python/pytest-trio/Manifest b/dev-python/pytest-trio/Manifest deleted file mode 100644 index e39be86a7..0 --- a/dev-python/pytest-trio/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pytest-trio-0.7.0.tar.gz 47784 BLAKE2B 59b28df45e87804e0b6eb557a0cf259fdc3636cc7a03d78248fb814d55904ed01d00a530b194b2bfe93ccfb9de528d70a372faf1f6db24531c230319122db2e5 SHA512 547036c94f33cf8e755c88d608c5fddfa5c583fdaa7e604598d470e250a006c571702a81bac4f273b74450a8c10e4be404bad74d4104403fe1c9c70e872dff53 diff --git a/dev-python/pytest-trio/metadata.xml b/dev-python/pytest-trio/metadata.xml deleted file mode 100644 index 0cc4d7f61..0 --- a/dev-python/pytest-trio/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - -co-maintainers welcome -lssndrbarbi...@gmail.com -Alessandro Barbieri - - -python-trio/pytest-trio -pytest-trio - - diff --git a/dev-python/pytest-trio/pytest-trio-0.7.0.ebuild b/dev-python/pytest-trio/pytest-trio-0.7.0.ebuild deleted file mode 100644 index a56157c2f..0 --- a/dev-python/pytest-trio/pytest-trio-0.7.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=bdepend -DOCS_BUILDER="sphinx" -DOCS_DIR="${S}/docs/source" -DOCS_DEPEND=" - >=dev-python/attrs-17.4.0 - >=dev-python/sphinx-1.6.1 - dev-python/sphinx_rtd_theme - dev-python/sphinxcontrib-trio -" - -inherit distutils-r1 docs - -DESCRIPTION="This is a pytest plugin to help you test projects that use Trio" -HOMEPAGE=" - https://github.com/python-trio/pytest-trio - https://pypi.org/project/pytest-trio -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="|| ( MIT Apache-2.0 )" -SLOT="0" -KEYWORDS="~amd64" -#too many errors -RESTRICT="test" - -RDEPEND=" - >=dev-python/async_generator-1.9[${PYTHON_USEDEP}] - dev-python/outcome[${PYTHON_USEDEP}] - >=dev-python/trio-0.15[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] - https://github.com/python-trio/pytest-trio/issues/84 - #"Our CI is still passing AFAIK" - PYTHONPATH="${S}" - cd "${S}" || die - pytest -vv --pyargs pytest_trio || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest deleted file mode 100644 index a4fd46342..0 --- a/dev-python/trio-asyncio/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST trio-asyncio-0.12.0.tar.gz 72508 BLAKE2B f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04 SHA512 da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c diff --git a/dev-python/trio-asyncio/files/no-pytest-runner.patch b/dev-python/trio-asyncio/files/no-pytest-runner.patch deleted file mode 100644 index 6eec59da4..0 --- a/dev-python/trio-asyncio/files/no-pytest-runner.patch +++ /dev/null @@ -1,10 +0,0 @@ a/setup.py 2021-03-27 18:54:07.104800689 +0100 -+++ b/setup.py 2021-03-27 18:54:23.197091635 +0100 -@@ -77,7 +77,6 @@ - include_package_data=True, - python_requires=">=3.6", # temporary, for RTD - keywords=["async", "io", "trio", "asyncio", "trio-asyncio"], --setup_requires=['pytest-runner'], - tests_require=['pytest >= 5.4', 'pytest-trio >= 0.6', 'outcome'], - classifiers=[ - "Development Status :: 4 - Beta", diff --git a/dev-python/trio-asyncio/metadata.xml b/dev-python/trio-asyncio/metadata.xml deleted file mode 100644 index f34dda2d3..0 --- a/dev-python/trio-asyncio/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - - -lssndrbarbi...@gmail.com -Alessandro Barbieri - - -Rationale - -Trio has native concepts of tasks and task cancellation. Asyncio is
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: e90f46595b2a1068b09051083798c7c98a09a424 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Jun 14 22:46:58 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Jun 14 23:09:42 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e90f4659 dev-python/trio-asyncio: drop 0.11.0 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio-asyncio/Manifest | 1 - dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 43 -- 2 files changed, 44 deletions(-) diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest index d7fbc9f78..a4fd46342 100644 --- a/dev-python/trio-asyncio/Manifest +++ b/dev-python/trio-asyncio/Manifest @@ -1,2 +1 @@ -DIST trio-asyncio-0.11.0.tar.gz 67424 BLAKE2B 2d38b621eb5698521ba58c06295f6e2337821c64a35c4938ed9ffd4a01285c95df9c512d9922e88afbdff7c6fc0ef028784a1f189fbc9255ea46ee346b2f892c SHA512 718098f7ab18b168dd6a926d9bb64b636e06e6a1ea8e557ba4bf7782db16bb7fcccf226412284bfbc5183ff6df7624fc1a7ac73dd20bc841d5e766e84d0a DIST trio-asyncio-0.12.0.tar.gz 72508 BLAKE2B f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04 SHA512 da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild deleted file mode 100644 index c496354dc..0 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit distutils-r1 - -DESCRIPTION="a re-implementation of the asyncio mainloop on top of Trio" -HOMEPAGE=" - https://github.com/python-trio/trio-asyncio - https://pypi.org/project/trio-asyncio -" -SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE=" || ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/async_generator-1.6[${PYTHON_USEDEP}] - dev-python/outcome[${PYTHON_USEDEP}] - >=dev-python/trio-0.12.0[${PYTHON_USEDEP}] -" - -DEPEND="test? ( - dev-python/pytest-trio[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest -distutils_enable_sphinx docs/source - -python_prepare_all() { - # do not depend on deprecated dep - sed -i -e '/pytest-runner/d' setup.py || die - - #remove tests from installed packages - #TODO: remove hardcoded - sed -i 's|packages=find_packages()|packages=["trio_asyncio"]|' setup.py || die - - distutils-r1_python_prepare_all -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 0b8259a44785eeb8e45b4335f26d1e883dc2efc8 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon May 24 09:42:40 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon May 24 09:59:40 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b8259a4 dev-python/trio: Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/trio/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml index d086a391f..dcb4e4c82 100644 --- a/dev-python/trio/metadata.xml +++ b/dev-python/trio/metadata.xml @@ -2,10 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - -andrewammerl...@gentoo.org -Andrew Ammerlaan - + The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right.
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 1c5a7d415b4be6b168b5e0232783401d2f5b5945 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Apr 19 14:50:02 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Apr 19 14:50:02 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c5a7d41 dev-python/trio: add missing dep Closes: https://bugs.gentoo.org/784158 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/trio-0.18.0.ebuild | 1 + dev-python/trio/trio-0.18.0_p20210212.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/dev-python/trio/trio-0.18.0.ebuild b/dev-python/trio/trio-0.18.0.ebuild index f13f182ea..afde57578 100644 --- a/dev-python/trio/trio-0.18.0.ebuild +++ b/dev-python/trio/trio-0.18.0.ebuild @@ -33,6 +33,7 @@ DEPEND="${RDEPEND} dev-python/ipython[${PYTHON_USEDEP}] >=dev-python/jedi-0.17.0[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] dev-python/yapf[${PYTHON_USEDEP}] ) diff --git a/dev-python/trio/trio-0.18.0_p20210212.ebuild b/dev-python/trio/trio-0.18.0_p20210212.ebuild index e1b8df5ff..51b71e7bb 100644 --- a/dev-python/trio/trio-0.18.0_p20210212.ebuild +++ b/dev-python/trio/trio-0.18.0_p20210212.ebuild @@ -35,6 +35,7 @@ DEPEND="${RDEPEND} dev-python/ipython[${PYTHON_USEDEP}] >=dev-python/jedi-0.17.0[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] dev-python/yapf[${PYTHON_USEDEP}] )
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: f2e9ef5e556b39bf482a2506dbadf5d3a99fa144 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Apr 19 01:54:37 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Apr 19 01:55:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f2e9ef5e dev-python/trio-asyncio: added missing dependency Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild index 36fbf1587..ac86ace5e 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild @@ -33,4 +33,4 @@ DEPEND=" PATCHES=( "${FILESDIR}/no-pytest-runner.patch" ) distutils_enable_tests pytest -distutils_enable_sphinx docs/source +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 3c39b273869e34f752528004b23056c96404e963 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 13 12:25:38 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 13 12:25:38 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c39b273 dev-python/trio: drop x86, dep immutables doesn't support it anymore Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/trio-0.18.0.ebuild | 2 +- dev-python/trio/trio-0.18.0_p20210212.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/trio/trio-0.18.0.ebuild b/dev-python/trio/trio-0.18.0.ebuild index 8785c5ae5..f13f182ea 100644 --- a/dev-python/trio/trio-0.18.0.ebuild +++ b/dev-python/trio/trio-0.18.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" dev-python/async_generator[${PYTHON_USEDEP}] diff --git a/dev-python/trio/trio-0.18.0_p20210212.ebuild b/dev-python/trio/trio-0.18.0_p20210212.ebuild index 7d0d590f1..e1b8df5ff 100644 --- a/dev-python/trio/trio-0.18.0_p20210212.ebuild +++ b/dev-python/trio/trio-0.18.0_p20210212.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/python-trio/${PN}/archive/${COMMIT}.tar.gz -> ${P}.t LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" dev-python/async_generator[${PYTHON_USEDEP}]
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: a154a226b67f629b2c9912094f8ab4adaf50a134 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 13 12:26:44 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 13 12:26:44 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a154a226 dev-python/trio-asyncio: drop x86 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 4 ++-- dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild index 70c541e1a..c496354dc 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE=" || ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" >=dev-python/async_generator-1.6[${PYTHON_USEDEP}] diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild index 21d6778cd..36fbf1587 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar. LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" dev-python/outcome[${PYTHON_USEDEP}]
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/, dev-python/trio-asyncio/files/
commit: e578524f6255bd11f57370163927b71e77be8059 Author: Alessandro Barbieri gmail com> AuthorDate: Sat Mar 27 18:01:52 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Mar 27 18:01:52 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e578524f dev-python/trio-asyncio: bump Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio-asyncio/Manifest | 1 + dev-python/trio-asyncio/files/no-pytest-runner.py | 10 ++ dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild | 36 ++ 3 files changed, 47 insertions(+) diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest index 7d22a1234..d7fbc9f78 100644 --- a/dev-python/trio-asyncio/Manifest +++ b/dev-python/trio-asyncio/Manifest @@ -1 +1,2 @@ DIST trio-asyncio-0.11.0.tar.gz 67424 BLAKE2B 2d38b621eb5698521ba58c06295f6e2337821c64a35c4938ed9ffd4a01285c95df9c512d9922e88afbdff7c6fc0ef028784a1f189fbc9255ea46ee346b2f892c SHA512 718098f7ab18b168dd6a926d9bb64b636e06e6a1ea8e557ba4bf7782db16bb7fcccf226412284bfbc5183ff6df7624fc1a7ac73dd20bc841d5e766e84d0a +DIST trio-asyncio-0.12.0.tar.gz 72508 BLAKE2B f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04 SHA512 da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c diff --git a/dev-python/trio-asyncio/files/no-pytest-runner.py b/dev-python/trio-asyncio/files/no-pytest-runner.py new file mode 100644 index 0..6eec59da4 --- /dev/null +++ b/dev-python/trio-asyncio/files/no-pytest-runner.py @@ -0,0 +1,10 @@ +--- a/setup.py 2021-03-27 18:54:07.104800689 +0100 b/setup.py 2021-03-27 18:54:23.197091635 +0100 +@@ -77,7 +77,6 @@ + include_package_data=True, + python_requires=">=3.6", # temporary, for RTD + keywords=["async", "io", "trio", "asyncio", "trio-asyncio"], +-setup_requires=['pytest-runner'], + tests_require=['pytest >= 5.4', 'pytest-trio >= 0.6', 'outcome'], + classifiers=[ + "Development Status :: 4 - Beta", diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild new file mode 100644 index 0..21d6778cd --- /dev/null +++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="a re-implementation of the asyncio mainloop on top of Trio" +HOMEPAGE=" + https://github.com/python-trio/trio-asyncio + https://pypi.org/project/trio-asyncio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + >=dev-python/trio-0.15.0[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + >=dev-python/pytest-5.4[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.6[${PYTHON_USEDEP}] + ) +" +PATCHES=( "${FILESDIR}/no-pytest-runner.patch" ) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/files/
commit: b5f6876cda6603dbbea6450d66486aab378e284e Author: Alessandro Barbieri gmail com> AuthorDate: Sat Mar 27 18:29:44 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Mar 27 18:29:44 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b5f6876c dev-python/trio-asyncio: wrong extension Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> .../trio-asyncio/files/{no-pytest-runner.py => no-pytest-runner.patch}| 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dev-python/trio-asyncio/files/no-pytest-runner.py b/dev-python/trio-asyncio/files/no-pytest-runner.patch similarity index 100% rename from dev-python/trio-asyncio/files/no-pytest-runner.py rename to dev-python/trio-asyncio/files/no-pytest-runner.patch
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: e0de0f6442004f3aa0d6339d162f5b0aad299535 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Feb 17 17:53:50 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Feb 17 17:59:25 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0de0f64 dev-python/trio: add snapshot release for py3.9 support pylint checks fail because pylint does not have py3.9, but all other checks are fine. And pylint is non-essential anyway Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/Manifest | 1 + dev-python/trio/trio-0.18.0_p20210212.ebuild | 72 2 files changed, 73 insertions(+) diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 9a5d6f88..a148b093 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1 +1,2 @@ DIST trio-0.18.0.tar.gz 484421 BLAKE2B 239cf63076f8ae2c3ea0b4c5d1b88b88e27f8d43ff85c65a6c25785d797e48746df0acffbae741ce8f5e71301b12b7fb7ce4900248db3bec375f651b8379b22b SHA512 ebed3ebee93d2dde03a5c1063b0053a885b7aef29269c0459d470c14dd5c917800a91c38304dfc505c92a32c197eb802310fee7b224beb130b920d0201f4a33e +DIST trio-0.18.0_p20210212.tar.gz 485725 BLAKE2B b9ba391cb98062073db3605ce16d4a6dea515678e9e3d7994addc06220c730ef86648346178fd28205ad820eee0ea596c0d799d3d4bcd530ff35ef65722457dd SHA512 ca87e6dd7ab2b1757e67520e0a3921cb609703f05ebce974af2faf789dfd9416c4ff9d56b09cd6a4c9325a0d4051491f18ba24b4b3aa65285cf9de1f0f256010 diff --git a/dev-python/trio/trio-0.18.0_p20210212.ebuild b/dev-python/trio/trio-0.18.0_p20210212.ebuild new file mode 100644 index ..7d0d590f --- /dev/null +++ b/dev-python/trio/trio-0.18.0_p20210212.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +COMMIT="ff86c6023758590a54fca9f48f5c16d2263ba31d" + +inherit distutils-r1 linux-info + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio + https://pypi.org/project/trio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/async_generator[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/jedi-0.17.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${PN}-${COMMIT}" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + ">=dev-python/immutables-0.6" \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +python_prepare_all() { + # Disable tests require IPv6 + if ! linux_config_exists || ! linux_chkconfig_present IPV6; then + sed -i -e "/for family in/s/, AF_INET6//" \ + -e "/test_getaddrinfo/i...@pytest.mark.skip(reason='no IPv6')" \ + trio/tests/test_socket.py || die "sed failed for test_socket.py" + fi + + # these tests require internet access + rm trio/tests/test_ssl.py || die + rm trio/tests/test_highlevel_ssl_helpers.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # tests fail if package is already installed without this + PYTHONPATH="${S}" + cd "${S}" || die + pytest -vv || die "Tests fail with ${EPYTHON}" +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: ef1590ca1b0ff375ad2f1c146ff525b745f39420 Author: Andrew Ammerlaan riseup net> AuthorDate: Sun Jan 24 10:21:36 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Jan 24 10:21:36 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef1590ca dev-python/trio: version bump 0.18.0 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/Manifest | 2 +- dev-python/trio/{trio-0.17.0.ebuild => trio-0.18.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 9a5ee651..9a5d6f88 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1 +1 @@ -DIST trio-0.17.0.tar.gz 488878 BLAKE2B bf24f5a80e7fed19a3efea833bd3336ebe3b164f495026913ec933e2b9f3150cdfc732bb029fb5d07b71523d811003cd8fa9fb487023c604b28c963d335adc55 SHA512 511c281aeefdd2197586aa1b3609836b06ac208cfac68b5e47af98ba9289e127899f45adc002c5750a9c868c214f04410e0077d34e20adbac5a9d0bf82b442fd +DIST trio-0.18.0.tar.gz 484421 BLAKE2B 239cf63076f8ae2c3ea0b4c5d1b88b88e27f8d43ff85c65a6c25785d797e48746df0acffbae741ce8f5e71301b12b7fb7ce4900248db3bec375f651b8379b22b SHA512 ebed3ebee93d2dde03a5c1063b0053a885b7aef29269c0459d470c14dd5c917800a91c38304dfc505c92a32c197eb802310fee7b224beb130b920d0201f4a33e diff --git a/dev-python/trio/trio-0.17.0.ebuild b/dev-python/trio/trio-0.18.0.ebuild similarity index 98% rename from dev-python/trio/trio-0.17.0.ebuild rename to dev-python/trio/trio-0.18.0.ebuild index 93402be6..8785c5ae 100644 --- a/dev-python/trio/trio-0.17.0.ebuild +++ b/dev-python/trio/trio-0.18.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: bbb208dab9c7ac9f918be85193c2621af35d9ce2 Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Nov 28 13:42:36 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Nov 28 13:42:36 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbb208da dev-python/trio: clean up old Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/Manifest | 2 -- dev-python/trio/trio-0.14.0-r1.ebuild | 67 --- dev-python/trio/trio-0.14.0.ebuild| 62 dev-python/trio/trio-0.15.1.ebuild| 62 4 files changed, 193 deletions(-) diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 30d17868..9a5ee651 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1,3 +1 @@ -DIST trio-0.14.0.tar.gz 451593 BLAKE2B 05b19fb17fb046c17c196d6fec003b731a0beb2c976e0d289665fbdf28c1ab8556404c21a9b3c72623b7d293a74438d4d43a368367838247d9e17e0f6d4ec47e SHA512 dcc640315c5f9a558c00be97ffc011bbb6d2a2137f4f07845698bdec5e2c0949ffb23f6ec49410e618d49156b42a5423b82f5c1f271c1cced7886d3f94c2cd9e -DIST trio-0.15.1.tar.gz 457493 BLAKE2B 9123510032f8e59b67bde778c1270d0fd18771806120866741f4e03f6e3f354ad34d06d75b23f38d53fa43e0832cc51060049b81a35be14b4ce043e32672b77d SHA512 48ff7e00e67ad11d09faf643275982e893ee7d533396dd9fe2558d38390693acf9e023fddbc8b00b7d12090154c0610fa71e65d003e110cfbb47b3f0eb3e8469 DIST trio-0.17.0.tar.gz 488878 BLAKE2B bf24f5a80e7fed19a3efea833bd3336ebe3b164f495026913ec933e2b9f3150cdfc732bb029fb5d07b71523d811003cd8fa9fb487023c604b28c963d335adc55 SHA512 511c281aeefdd2197586aa1b3609836b06ac208cfac68b5e47af98ba9289e127899f45adc002c5750a9c868c214f04410e0077d34e20adbac5a9d0bf82b442fd diff --git a/dev-python/trio/trio-0.14.0-r1.ebuild b/dev-python/trio/trio-0.14.0-r1.ebuild deleted file mode 100644 index 2da46257.. --- a/dev-python/trio/trio-0.14.0-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) - -inherit distutils-r1 linux-info - -DESCRIPTION="Python library for async concurrency and I/O" -HOMEPAGE=" - https://github.com/python-trio/trio - https://pypi.org/project/trio -" -SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/async_generator[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/outcome[${PYTHON_USEDEP}] - dev-python/sniffio[${PYTHON_USEDEP}] - dev-python/sortedcontainers[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) -" -DEPEND="${RDEPEND} - test? ( - >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] - >=dev-python/immutables-0.6[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/jedi[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs/source \ - ">=dev-python/immutables-0.6" \ - dev-python/sphinxcontrib-trio \ - dev-python/sphinx_rtd_theme \ - dev-python/towncrier - -python_prepare_all() { - # Disable tests require IPv6 - if ! linux_config_exists || ! linux_chkconfig_present IPV6; then - sed -i -e "/for family in/s/, AF_INET6//" \ - -e "/test_getaddrinfo/i...@pytest.mark.skip(reason='no IPv6')" \ - trio/tests/test_socket.py || die "sed failed for test_socket.py" - fi - - # these tests require internet access - rm trio/tests/test_ssl.py || die - rm trio/tests/test_highlevel_ssl_helpers.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - pytest -vv --deselect "trio/tests/test_exports.py::test_static_tool_sees_all_symbols[jedi-trio.socket]" || die -} diff --git a/dev-python/trio/trio-0.14.0.ebuild b/dev-python/trio/trio-0.14.0.ebuild deleted file mode 100644 index 7a30e037.. --- a/dev-python/trio/trio-0.14.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_7 ) - -inherit distutils-r1 linux-info - -DESCRIPTION="Python library for async concurrency and I/O" -HOMEPAGE=" -
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 842067df269c24d850775b44bd88c123d9595bc5 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 20 02:30:16 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Nov 27 00:00:22 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=842067df dev-python/trio: remove one more test Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio/trio-0.14.0-r1.ebuild | 67 +++ 1 file changed, 67 insertions(+) diff --git a/dev-python/trio/trio-0.14.0-r1.ebuild b/dev-python/trio/trio-0.14.0-r1.ebuild new file mode 100644 index ..2da46257 --- /dev/null +++ b/dev-python/trio/trio-0.14.0-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 linux-info + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio + https://pypi.org/project/trio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/async_generator[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + ">=dev-python/immutables-0.6" \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +python_prepare_all() { + # Disable tests require IPv6 + if ! linux_config_exists || ! linux_chkconfig_present IPV6; then + sed -i -e "/for family in/s/, AF_INET6//" \ + -e "/test_getaddrinfo/i...@pytest.mark.skip(reason='no IPv6')" \ + trio/tests/test_socket.py || die "sed failed for test_socket.py" + fi + + # these tests require internet access + rm trio/tests/test_ssl.py || die + rm trio/tests/test_highlevel_ssl_helpers.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pytest -vv --deselect "trio/tests/test_exports.py::test_static_tool_sees_all_symbols[jedi-trio.socket]" || die +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: cc93f17c8cb2976c35ed46a5c880229c1be3b70c Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Sep 24 12:47:04 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Sep 24 12:47:04 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc93f17c dev-python/trio-asyncio: drop conditional dep Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild index 6d3c3b6e..70c541e1 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -22,7 +22,6 @@ RDEPEND=" >=dev-python/async_generator-1.6[${PYTHON_USEDEP}] dev-python/outcome[${PYTHON_USEDEP}] >=dev-python/trio-0.12.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep '>=dev-python/contextvars-2.1[${PYTHON_USEDEP}]' python3_6) " DEPEND="test? (
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 8fd8f63cf9ccde6c13a435b8654924c32449ed46 Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Aug 29 13:18:04 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Aug 29 13:18:04 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fd8f63c dev-python/trio: drop py3.6 only dependency Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/trio-0.14.0.ebuild | 1 - dev-python/trio/trio-0.15.1.ebuild | 1 - 2 files changed, 2 deletions(-) diff --git a/dev-python/trio/trio-0.14.0.ebuild b/dev-python/trio/trio-0.14.0.ebuild index 9373dbe..7a30e03 100644 --- a/dev-python/trio/trio-0.14.0.ebuild +++ b/dev-python/trio/trio-0.14.0.ebuild @@ -25,7 +25,6 @@ RDEPEND=" dev-python/outcome[${PYTHON_USEDEP}] dev-python/sniffio[${PYTHON_USEDEP}] dev-python/sortedcontainers[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) " DEPEND="${RDEPEND} test? ( diff --git a/dev-python/trio/trio-0.15.1.ebuild b/dev-python/trio/trio-0.15.1.ebuild index 9373dbe..7a30e03 100644 --- a/dev-python/trio/trio-0.15.1.ebuild +++ b/dev-python/trio/trio-0.15.1.ebuild @@ -25,7 +25,6 @@ RDEPEND=" dev-python/outcome[${PYTHON_USEDEP}] dev-python/sniffio[${PYTHON_USEDEP}] dev-python/sortedcontainers[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) " DEPEND="${RDEPEND} test? (
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: 5a1f755196b7211706f1f09c8a10c535d443c38f Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Jun 15 11:28:16 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Jun 15 11:28:16 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a1f7551 dev-python/trio-asyncio: add py3_8 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild index 20d6e40..74b2e8f 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -27,7 +27,6 @@ RDEPEND=" DEPEND="test? ( dev-python/pytest-trio[${PYTHON_USEDEP}] -
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: aafa58b5cded6aedd0ce468feeefa7fed6c3492e Author: Andrew Ammerlaan riseup net> AuthorDate: Sun May 24 08:34:07 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun May 24 08:34:54 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aafa58b5 dev-python/trio: version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/Manifest | 1 + dev-python/trio/trio-0.15.1.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 7d8d72d..9df 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1 +1,2 @@ DIST trio-0.14.0.tar.gz 451593 BLAKE2B 05b19fb17fb046c17c196d6fec003b731a0beb2c976e0d289665fbdf28c1ab8556404c21a9b3c72623b7d293a74438d4d43a368367838247d9e17e0f6d4ec47e SHA512 dcc640315c5f9a558c00be97ffc011bbb6d2a2137f4f07845698bdec5e2c0949ffb23f6ec49410e618d49156b42a5423b82f5c1f271c1cced7886d3f94c2cd9e +DIST trio-0.15.1.tar.gz 457493 BLAKE2B 9123510032f8e59b67bde778c1270d0fd18771806120866741f4e03f6e3f354ad34d06d75b23f38d53fa43e0832cc51060049b81a35be14b4ce043e32672b77d SHA512 48ff7e00e67ad11d09faf643275982e893ee7d533396dd9fe2558d38390693acf9e023fddbc8b00b7d12090154c0610fa71e65d003e110cfbb47b3f0eb3e8469 diff --git a/dev-python/trio/trio-0.15.1.ebuild b/dev-python/trio/trio-0.15.1.ebuild new file mode 100644 index 000..b83b175 --- /dev/null +++ b/dev-python/trio/trio-0.15.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 linux-info + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio + https://pypi.org/project/trio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/async_generator[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + ">=dev-python/immutables-0.6" \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier + +python_prepare_all() { + # Disable tests require IPv6 + if ! linux_config_exists || ! linux_chkconfig_present IPV6; then + sed -i -e "/for family in/s/, AF_INET6//" \ + -e "/test_getaddrinfo/i...@pytest.mark.skip(reason='no IPv6')" \ + trio/tests/test_socket.py || die "sed failed for test_socket.py" + fi + + # these tests require internet access + rm trio/tests/test_ssl.py || die + rm trio/tests/test_highlevel_ssl_helpers.py || die + + distutils-r1_python_prepare_all +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: ea3cc2f21b580ae89ef10cc71ab44398c936c649 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed May 6 17:14:00 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed May 6 17:14:00 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea3cc2f2 dev-python/trio: version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/Manifest | 2 +- dev-python/trio/{trio-0.13.0.ebuild => trio-0.14.0.ebuild} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index cf28569..7d8d72d 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1 +1 @@ -DIST trio-0.13.0.tar.gz 441925 BLAKE2B c452a0d91d44c651d33399cf5cb64ae05283466732df5332a3319b02fdf9ed73e88fc105b65aeeea39f923c0eecafe842a9e328cbea88424304a7708f8ec703d SHA512 c2f64e71aa59ed0ba5878fda56e5be2c7c434324fa0ace33caf1487fd990dfc63ffda8a20f1586e2175b6b41db51e9b9023e44c367337526263c9a32d98f7ce6 +DIST trio-0.14.0.tar.gz 451593 BLAKE2B 05b19fb17fb046c17c196d6fec003b731a0beb2c976e0d289665fbdf28c1ab8556404c21a9b3c72623b7d293a74438d4d43a368367838247d9e17e0f6d4ec47e SHA512 dcc640315c5f9a558c00be97ffc011bbb6d2a2137f4f07845698bdec5e2c0949ffb23f6ec49410e618d49156b42a5423b82f5c1f271c1cced7886d3f94c2cd9e diff --git a/dev-python/trio/trio-0.13.0.ebuild b/dev-python/trio/trio-0.14.0.ebuild similarity index 95% rename from dev-python/trio/trio-0.13.0.ebuild rename to dev-python/trio/trio-0.14.0.ebuild index 66266e5..b83b175 100644 --- a/dev-python/trio/trio-0.13.0.ebuild +++ b/dev-python/trio/trio-0.14.0.ebuild @@ -31,8 +31,10 @@ DEPEND="${RDEPEND} test? ( >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] dev-python/jedi[${PYTHON_USEDEP}] dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] dev-python/yapf[${PYTHON_USEDEP}] )
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: e0b47879cad9396b70e8ece256831398dfdd538f Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Apr 1 16:16:40 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Apr 1 16:17:16 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0b47879 dev-python/trio-asyncio: depend on pytest-trio for tests Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild index ced6ad6..20d6e40 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -26,6 +26,7 @@ RDEPEND=" " DEPEND="test? ( + dev-python/pytest-trio[${PYTHON_USEDEP}]
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: 1ad3d301cc52f99874ab3b504cb514faccbe256e Author: Alessandro Barbieri gmail com> AuthorDate: Wed Apr 1 15:30:28 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed Apr 1 15:30:28 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ad3d301 dev-python/trio-asyncio: tests working for me Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 4 1 file changed, 4 deletions(-) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild index 2a881fb..ced6ad6 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -18,10 +18,6 @@ LICENSE=" || ( Apache-2.0 MIT )" SLOT="0" KEYWORDS="~amd64 ~x86" -# ImportError: cannot import name 'MarkInfo' -# MarkInfo removed in pytest-4.1 -RESTRICT="test" - RDEPEND=" >=dev-python/async_generator-1.6[${PYTHON_USEDEP}] dev-python/outcome[${PYTHON_USEDEP}]
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: 73809d4765611198b50663ec7cd8a680adc98e25 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Apr 1 14:57:25 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed Apr 1 14:57:25 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=73809d47 dev-python/trio-asyncio: updated dependency Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild index ccf267c..2a881fb 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" # ImportError: cannot import name 'MarkInfo' -# might be an issue in pytest-marks +# MarkInfo removed in pytest-4.1 RESTRICT="test" RDEPEND=" @@ -30,7 +30,7 @@ RDEPEND=" " DEPEND="test? ( - dev-python/pytest-marks[${PYTHON_USEDEP}] +
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 66d7444142931ebbab59cbe3e3f7e2a213a4e97c Author: Alessandro Barbieri gmail com> AuthorDate: Tue Mar 31 15:26:25 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Mar 31 15:26:25 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66d74441 dev-python/trio: missing dependency Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio/trio-0.13.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/trio/trio-0.13.0.ebuild b/dev-python/trio/trio-0.13.0.ebuild index ce3ef2e..66266e5 100644 --- a/dev-python/trio/trio-0.13.0.ebuild +++ b/dev-python/trio/trio-0.13.0.ebuild @@ -32,6 +32,7 @@ DEPEND="${RDEPEND} >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] >=dev-python/immutables-0.6[${PYTHON_USEDEP}] dev-python/jedi[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] dev-python/yapf[${PYTHON_USEDEP}] )
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: 5809afe66f9d0a59bcb35f6f894e3874b62bf78c Author: Andrew Ammerlaan riseup net> AuthorDate: Sun Mar 29 12:25:29 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Mar 29 12:25:29 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5809afe6 dev-python/trio-asyncio: do not depend on pytest-runner it is deprecated also tired to fix tests should probably depend on pytest-marks Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild index eac1549..ccf267c 100644 --- a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 @@ -18,24 +18,31 @@ LICENSE=" || ( Apache-2.0 MIT )" SLOT="0" KEYWORDS="~amd64 ~x86" +# ImportError: cannot import name 'MarkInfo' +# might be an issue in pytest-marks +RESTRICT="test" + RDEPEND=" >=dev-python/async_generator-1.6[${PYTHON_USEDEP}] dev-python/outcome[${PYTHON_USEDEP}] >=dev-python/trio-0.12.0[${PYTHON_USEDEP}] $(python_gen_cond_dep '>=dev-python/contextvars-2.1[${PYTHON_USEDEP}]' python3_6) " -DEPEND=" - ${RDEPEND} - dev-python/pytest-runner[${PYTHON_USEDEP}] -" + +DEPEND="test? ( + dev-python/pytest-marks[${PYTHON_USEDEP}] +)" distutils_enable_tests pytest distutils_enable_sphinx docs/source -src_prepare() { +python_prepare_all() { + # do not depend on deprecated dep + sed -i -e '/pytest-runner/d' setup.py || die + #remove tests from installed packages #TODO: remove hardcoded sed -i 's|packages=find_packages()|packages=["trio_asyncio"]|' setup.py || die - default + distutils-r1_python_prepare_all }
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio-asyncio/
commit: 7395f995d7a506f91b79614047067cf60642dc5c Author: Alessandro Barbieri gmail com> AuthorDate: Sun Mar 29 09:23:26 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Mar 29 09:29:03 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7395f995 dev-python/trio-asyncio: new package Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio-asyncio/Manifest | 1 + dev-python/trio-asyncio/metadata.xml | 27 ++ dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild | 41 ++ 3 files changed, 69 insertions(+) diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest new file mode 100644 index 000..7d22a12 --- /dev/null +++ b/dev-python/trio-asyncio/Manifest @@ -0,0 +1 @@ +DIST trio-asyncio-0.11.0.tar.gz 67424 BLAKE2B 2d38b621eb5698521ba58c06295f6e2337821c64a35c4938ed9ffd4a01285c95df9c512d9922e88afbdff7c6fc0ef028784a1f189fbc9255ea46ee346b2f892c SHA512 718098f7ab18b168dd6a926d9bb64b636e06e6a1ea8e557ba4bf7782db16bb7fcccf226412284bfbc5183ff6df7624fc1a7ac73dd20bc841d5e766e84d0a diff --git a/dev-python/trio-asyncio/metadata.xml b/dev-python/trio-asyncio/metadata.xml new file mode 100644 index 000..cc48483 --- /dev/null +++ b/dev-python/trio-asyncio/metadata.xml @@ -0,0 +1,27 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + +lssndrbarbi...@gmail.com +Alessandro Barbieri + + +Rationale + +Trio has native concepts of tasks and task cancellation. Asyncio is based on callbacks and chaining Futures, albeit with nicer syntax, which make handling of failures and timeouts fundamentally less reliable, especially in larger programs. Thus, you really want to base your async project on Trio. + +On the other hand, there are quite a few asyncio-enhanced libraries. You really don't want to re-invent any wheels in your project. + +Thus, being able to use asyncio libraries from Trio is useful. trio-asyncio enables you to do that, and more. +Transparent vs. explicit translation + +trio_asyncio does not try to magically allow calling await trio_code() from asyncio or vice versa. There are multiple reasons for this; the executive summary is that cross-domain calls can't be made to work correctly, and any such call is likely to result in an irrecoverable error. You need to keep your code's asyncio and trio domains rigidly separate. + +Fortunately, this is not difficult. + + +python-trio/trio-asyncio +trio-asyncio + + diff --git a/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild new file mode 100644 index 000..eac1549 --- /dev/null +++ b/dev-python/trio-asyncio/trio-asyncio-0.11.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="a re-implementation of the asyncio mainloop on top of Trio" +HOMEPAGE=" + https://github.com/python-trio/trio-asyncio + https://pypi.org/project/trio-asyncio +" +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE=" || ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/async_generator-1.6[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + >=dev-python/trio-0.12.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/contextvars-2.1[${PYTHON_USEDEP}]' python3_6) +" +DEPEND=" + ${RDEPEND} + dev-python/pytest-runner[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source + +src_prepare() { + #remove tests from installed packages + #TODO: remove hardcoded + sed -i 's|packages=find_packages()|packages=["trio_asyncio"]|' setup.py || die + + default +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 0e7cc637130a335fe234bdacb0898a516d7b2072 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Mar 27 17:30:52 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Mar 27 17:30:52 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e7cc637 dev-python/trio: longdescription, dependency changes Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/trio/metadata.xml | 19 +++ dev-python/trio/trio-0.13.0.ebuild | 33 ++--- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml index 628ab20..d8d9353 100644 --- a/dev-python/trio/metadata.xml +++ b/dev-python/trio/metadata.xml @@ -2,8 +2,19 @@ http://www.gentoo.org/dtd/metadata.dtd;> - -andrewammerl...@riseup.net -Andrew Ammerlaan - + +andrewammerl...@riseup.net +Andrew Ammerlaan + + +The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right. + +Trio was built from the ground up to take advantage of the latest Python features, and draws inspiration from many sources, in particular Dave Beazley's Curio. The resulting design is radically simpler than older competitors like asyncio and Twisted, yet just as capable. Trio is the Python I/O library I always wanted; I find it makes building I/O-oriented programs easier, less error-prone, and just plain more fun. Perhaps you'll find the same. + +This project is young and still somewhat experimental: the overall design is solid and the existing features are fully tested and documented, but you may encounter missing functionality or rough edges. We do encourage you to use it, but you should read and subscribe to issue #1 to get warning and a chance to give feedback about any compatibility-breaking changes. + + +python-trio/trio +trio + diff --git a/dev-python/trio/trio-0.13.0.ebuild b/dev-python/trio/trio-0.13.0.ebuild index 1f0862d..092b394 100644 --- a/dev-python/trio/trio-0.13.0.ebuild +++ b/dev-python/trio/trio-0.13.0.ebuild @@ -8,30 +8,41 @@ PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 linux-info DESCRIPTION="Python library for async concurrency and I/O" -HOMEPAGE="https://github.com/python-trio/trio; +HOMEPAGE=" + https://github.com/python-trio/trio + https://pypi.org/project/trio +" SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0 MIT" +LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="dev-python/async_generator[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/async_generator[${PYTHON_USEDEP}] >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] dev-python/idna[${PYTHON_USEDEP}] dev-python/outcome[${PYTHON_USEDEP}] dev-python/sniffio[${PYTHON_USEDEP}] - dev-python/sortedcontainers[${PYTHON_USEDEP}]" - -RDEPEND="${DEPEND} - $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6)" - -BDEPEND="test? ( >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6) +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] dev-python/jedi[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] )" + dev-python/yapf[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest -distutils_enable_sphinx docs/source +distutils_enable_sphinx docs/source \ + ">=dev-python/immutables-0.6" \ + dev-python/sphinxcontrib-trio \ + dev-python/sphinx_rtd_theme \ + dev-python/towncrier python_prepare_all() { # Disable tests require IPv6
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/trio/
commit: 4d1d9f1a2bcdc17249ca507abdbdad4c67fa00fe Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 15:35:04 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 15:35:04 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d1d9f1a dev-python/trio: Python library for async concurrency and I/O Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/trio/Manifest | 1 + dev-python/trio/metadata.xml | 9 dev-python/trio/trio-0.13.0.ebuild | 44 ++ 3 files changed, 54 insertions(+) diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest new file mode 100644 index 000..cf28569 --- /dev/null +++ b/dev-python/trio/Manifest @@ -0,0 +1 @@ +DIST trio-0.13.0.tar.gz 441925 BLAKE2B c452a0d91d44c651d33399cf5cb64ae05283466732df5332a3319b02fdf9ed73e88fc105b65aeeea39f923c0eecafe842a9e328cbea88424304a7708f8ec703d SHA512 c2f64e71aa59ed0ba5878fda56e5be2c7c434324fa0ace33caf1487fd990dfc63ffda8a20f1586e2175b6b41db51e9b9023e44c367337526263c9a32d98f7ce6 diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml new file mode 100644 index 000..628ab20 --- /dev/null +++ b/dev-python/trio/metadata.xml @@ -0,0 +1,9 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + +andrewammerl...@riseup.net +Andrew Ammerlaan + + diff --git a/dev-python/trio/trio-0.13.0.ebuild b/dev-python/trio/trio-0.13.0.ebuild new file mode 100644 index 000..1f0862d --- /dev/null +++ b/dev-python/trio/trio-0.13.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 linux-info + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE="https://github.com/python-trio/trio; +SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-python/async_generator[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}]" + +RDEPEND="${DEPEND} + $(python_gen_cond_dep 'dev-python/contextvars[${PYTHON_USEDEP}]' python3_6)" + +BDEPEND="test? ( >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source + +python_prepare_all() { + # Disable tests require IPv6 + if ! linux_config_exists || ! linux_chkconfig_present IPV6; then + sed -i -e "/for family in/s/, AF_INET6//" \ + -e "/test_getaddrinfo/i...@pytest.mark.skip(reason='no IPv6')" \ + trio/tests/test_socket.py || die "sed failed for test_socket.py" + fi + distutils-r1_python_prepare_all +}