diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-14 20:44:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-14 20:44:04 +0000 |
commit | 46227d4bea72a4d588141f40667699df3aeef2b0 (patch) | |
tree | fe9f107ad101a24dfb24866d1ae2a933f9f8bbe8 /dev-python/trio | |
parent | 349911d45bc38140a6a32c0971e0ab5cdc4de9ac (diff) |
gentoo auto-resync : 14:12:2023 - 20:44:04
Diffstat (limited to 'dev-python/trio')
-rw-r--r-- | dev-python/trio/Manifest | 2 | ||||
-rw-r--r-- | dev-python/trio/trio-0.23.2.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 60ca029872ed..44b8490b6b77 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1,3 +1,5 @@ DIST trio-0.23.1.gh.tar.gz 585734 BLAKE2B 07a03f9ddd26f4e69bda651bc0821bb02895a244400cc5ec829b82e027304722248f7cf608bad8afb928e54736034349d736ca1aaa40b470cbbc3c1a74e3c77c SHA512 e7348cefb364689060c32987120c50081c677531fb4082a68956c431112b9966af6db09ebdca036980af660e48c2bc8addd05b58d62678d45ed7ffa1ce862dcc +DIST trio-0.23.2.gh.tar.gz 592068 BLAKE2B 4f985c03528343f6091988984b081399f4a661f73896af13b4face0c7eab242d763d4ae964d36f8c9d0fcce797518283a492edd556a83af10502c8fc617cdb91 SHA512 a77b2a20459eb4989e9db6d21b06472b3cce51f4cb28cc6f3ab2f3e1684b3ccb37775e0d60af1f121c63a54fb92d62955f76109c922879234f0a21ce8c9f20c1 EBUILD trio-0.23.1.ebuild 2076 BLAKE2B 86720082e94637ec9dea976d9ed88b2478cbb04c12b23f378466d17eaa0294bb0e4eed7439905b99bb071d6e4247c78d093026d004516505658204f48979ac21 SHA512 ace3900f3fbd3473fcb52d703b5ff452472f2055a884cfccffc387a013076ea6488e40679ed4a25147d1cd47ebfb92e9b8f752dc35acb76a2982c6b6d22eece3 +EBUILD trio-0.23.2.ebuild 1749 BLAKE2B ebd828e3c557fa7fc3b4855869717aea1499dc1120c3badc07719ac3ea6b9e747d3db4b68e2f437dd3b5a074b41886455bcbe375adb586eae8012583f2c33b71 SHA512 937d0ec3862b1313ef38ed54bfb58a4727bf1f47779c84ce6a89827c907a39bda4312ed46699579569b436564616c50045fc0b22ec377c1d370a288f78b96e01 MISC metadata.xml 2060 BLAKE2B bb6ddfddfb3c19038e5982227a8c5f9999b93868c343a9a5bf7af5963006b5b719ef960f65b91747dfddf19544134db9e1a2d65e94192c079c64c303cdc8997a SHA512 4b86e7cccddc200d5616550e309ad46587f900ed13c38196e874e5110974b856d65e18745b8b7b42858cb672940ba280b0c2ea54d33f9b5bf32a375fa1232088 diff --git a/dev-python/trio/trio-0.23.2.ebuild b/dev-python/trio/trio-0.23.2.ebuild new file mode 100644 index 000000000000..3e69d96168ca --- /dev/null +++ b/dev-python/trio/trio-0.23.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 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 +} |