diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-27 07:59:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-27 07:59:40 +0100 |
commit | d2ed973482fdd800013658e83a61709b29e0a80f (patch) | |
tree | 57ea7666a57b5a05a4c8866e4915e90b4a6e7c94 /dev-python/a2wsgi | |
parent | 9f6a82a85d400d6ae7de04c43cee88dbc6bc4da0 (diff) |
gentoo auto-resync : 27:06:2024 - 07:59:39
Diffstat (limited to 'dev-python/a2wsgi')
-rw-r--r-- | dev-python/a2wsgi/Manifest | 2 | ||||
-rw-r--r-- | dev-python/a2wsgi/a2wsgi-1.10.6.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/a2wsgi/Manifest b/dev-python/a2wsgi/Manifest index f4dd1d5ae91c..be4071ee3da3 100644 --- a/dev-python/a2wsgi/Manifest +++ b/dev-python/a2wsgi/Manifest @@ -1,3 +1,5 @@ DIST a2wsgi-1.10.4.tar.gz 18186 BLAKE2B 7f184c1621dd28e75c12e85b85ca4ed0b1b55d59c79797429bc188feec0ee0105e77c3613b1c2f94e1561f71fdcbabae99218e2c007ab095dd68b0502d112444 SHA512 6c050dcaca4dab0793afb267d7cbcb4faca362495c46ab9f0b52c9f2f5a1ab7dfd6fa0c543b5eaa18ddca6a789093591653f023ac9c127602138db390ae1c975 +DIST a2wsgi-1.10.6.tar.gz 18660 BLAKE2B 3f512bb37b03d7716559734e0653cdd7c7d77653495f15e8d172717016a3940e8e52a875321d675b3bfc4ebc41596d839a445ccb45c551d717e3f317b59aa955 SHA512 7b648865c759746520cf81502aabdcd9e19ddc1f270341d080d2422002f9e633be9ad837e06aef073a1d47ed4253b7e65eadbb1a76de89e571c498a5939c41a7 EBUILD a2wsgi-1.10.4.ebuild 844 BLAKE2B 3ae0cf613017227b86527b68796b860d60ff65e1e83493606b1c2507f9d9a65dcd928d5e5843decd0ec6c8f831a95f0e02ee5a53e600b367eb2bacfafebbf59f SHA512 e04c6668f0726883f6ef18fe007a91a7bfe3addb59c1477ace8c6b0e50d1aff8adee44bdd840b33a5d4d74689eeb02709703a11f954cd37dce103ff3fcf2849a +EBUILD a2wsgi-1.10.6.ebuild 1045 BLAKE2B 347609d0863fbdbcae5e53c1680f7416544b71a5875ec7d573de24cabf7a35c08f80ab3b8beb3ac3c9510f821a1085357794ba30f6af8fff65473ba30e841b87 SHA512 5bbf49c536b710fcc17d406e7ad130cdffe5cbaa844f1883c2a58f7dcc9f6412f59dfd2d4e2a0c3a3f934c786051d5ea2c61d86832260fa2853e36872da5261e MISC metadata.xml 392 BLAKE2B 17f9cfa46eeac0752f6e27d004a04173528f5033dee30ba31bb9b0d86231b3311937e0765cba3cae0fcc8b9653654c9b53bbc009f15140db0b38496856b9c27e SHA512 828436206a1e9b01df9da1546ffc8e6bc614e71708ad8a806dda9ab2dad80c86e539c37496a0c2525f0370e9ead3131bbde69f235da83331cd5097985981006e diff --git a/dev-python/a2wsgi/a2wsgi-1.10.6.ebuild b/dev-python/a2wsgi/a2wsgi-1.10.6.ebuild new file mode 100644 index 000000000000..cb62c73b79f4 --- /dev/null +++ b/dev-python/a2wsgi/a2wsgi-1.10.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Convert WSGI app to ASGI app or ASGI app to WSGI app" +HOMEPAGE=" + https://github.com/abersheeran/a2wsgi/ + https://pypi.org/project/a2wsgi/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + <dev-python/asgiref-4[${PYTHON_USEDEP}] + >=dev-python/asgiref-3.2.7[${PYTHON_USEDEP}] + <dev-python/httpx-1[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires baize + tests/test_asgi.py::test_baize_stream_response + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} |