diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-10 07:02:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-10 07:02:28 +0000 |
commit | 47f05d092ef8c19b3e973f62648e58c0e1a18631 (patch) | |
tree | 2c129dec419224136e584e8099f4ab13dadf9500 /dev-python/trio | |
parent | a2219cb0f7891a8fa42ccd9541809c62ce695216 (diff) |
gentoo auto-resync : 10:01:2024 - 07:02:28
Diffstat (limited to 'dev-python/trio')
-rw-r--r-- | dev-python/trio/Manifest | 2 | ||||
-rw-r--r-- | dev-python/trio/trio-0.24.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 31dc3945ac4e..99f40230f33c 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1,3 +1,5 @@ DIST trio-0.23.2.gh.tar.gz 592068 BLAKE2B 4f985c03528343f6091988984b081399f4a661f73896af13b4face0c7eab242d763d4ae964d36f8c9d0fcce797518283a492edd556a83af10502c8fc617cdb91 SHA512 a77b2a20459eb4989e9db6d21b06472b3cce51f4cb28cc6f3ab2f3e1684b3ccb37775e0d60af1f121c63a54fb92d62955f76109c922879234f0a21ce8c9f20c1 +DIST trio-0.24.0.gh.tar.gz 592652 BLAKE2B c102c6b6e25b497a5823b58b926f43d06905a8aaa41434d9503c127cb1b26a3c58594edc90e48e9acea6e6ffbc36a2d02a9f1805b14ba65a77ffedcbb8cf48f8 SHA512 3f52e770a19c45b5227ffd34e7ae4664ee739dbae81c09e1e4bf2bd3eddb414ff9ab32dd2b18d59e420a18660a2f7db7ad2cda9f725729dda7e99f7a89b66bbc EBUILD trio-0.23.2.ebuild 1742 BLAKE2B d72952afc5fdbc5d03d1f0dd163a7cea9ee4575a6dc5d05d054ecb4c4bc917330ad18cc2e4058a47fce046c45590a38c25c8470e9db273dffbdee56ac91f898b SHA512 974f061fc8d78827dcbc2a81c114add17d95f5184b9f4c6e9e8e42c116d8dc8116bc9bb87bfa9b9ef04ccb15ee1e83511a06ced1d534b10d397fd508a47e7181 +EBUILD trio-0.24.0.ebuild 1749 BLAKE2B 9e0cfb9f2b0ec5a92b0961835bcf0232848762aae78172631d2780bdf6c7030f6791025e9f69f8dd75c6d8ea53b2f14c5aaa88ff9436cccf69bba5b2c6394538 SHA512 bfda8739fc891cd612378521764a1be56d850afaaaf4106fe6bcf9006f0641901e928cbbb0b3c53f48f356fe46bcdac3dff9bf36552cb31a090c8a7d1b5aa8dc MISC metadata.xml 2060 BLAKE2B bb6ddfddfb3c19038e5982227a8c5f9999b93868c343a9a5bf7af5963006b5b719ef960f65b91747dfddf19544134db9e1a2d65e94192c079c64c303cdc8997a SHA512 4b86e7cccddc200d5616550e309ad46587f900ed13c38196e874e5110974b856d65e18745b8b7b42858cb672940ba280b0c2ea54d33f9b5bf32a375fa1232088 diff --git a/dev-python/trio/trio-0.24.0.ebuild b/dev-python/trio/trio-0.24.0.ebuild new file mode 100644 index 000000000000..5d1d9d45c09b --- /dev/null +++ b/dev-python/trio/trio-0.24.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +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}.gh.tar.gz +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# Bug https://bugs.gentoo.org/916756 +# distutils_enable_sphinx docs/source \ +# dev-python/immutables \ +# dev-python/sphinxcontrib-trio \ +# dev-python/sphinx-rtd-theme \ +# dev-python/towncrier + +python_test() { + local EPYTEST_DESELECT=( + # Times out on slower arches (ia64 in this case) + # https://github.com/python-trio/trio/issues/1753 + tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all + # requires ruff + _tests/tools/test_gen_exports.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf trio || die + epytest -p trio._tests.pytest_plugin \ + -m "not redistributors_should_skip" \ + --pyargs trio \ + --skip-optional-imports +} |