From 82e0f43ed720d1598d3597937d798939186dcd84 Mon Sep 17 00:00:00 2001 From: Daniele Rondina Date: Wed, 3 Sep 2025 19:55:45 +0000 Subject: [PATCH] Bump dev-python/multidict-6.4.4 --- dev-python/multidict/Manifest | 1 + dev-python/multidict/multidict-6.4.4.ebuild | 43 +++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 dev-python/multidict/multidict-6.4.4.ebuild diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index 33b281a804..f4fd5b443d 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1 +1,2 @@ DIST multidict-6.1.0.tar.gz 64002 BLAKE2B dae74500696fccc2f49db661f9ef0c2d8322125e67dfa952e1d7dddb5ea484957e5fd9f4ce373b5e0eb12d37dbd086b95a467410832f1db7ae9bc5459c4621cf SHA512 2e35c1450879ecfc856e5355cc515f57ce6100a1cd8854704dc6afc1bbdce0d46ab3eb9e23e35ea9956aacfb33bec351e8b878c11fa1cf3c03282fa40a4959d3 +DIST multidict-6.4.4.tar.gz 90183 BLAKE2B 7764b552f8b9e2b2d738d7aa7a92f4388bb4ee90596a5a854c0969a5e92fef9aaf0d40f39691fcfe08492637f59bb0c0482a4821c1e20d3d0d1ed3463bc0b5c0 SHA512 93b4975ff310c78526c116f6ccc800d310e3df4e8981120975642476d6354653451c4cfa6034f627a58736bb683978ef3e1c8ddb4df3308293011a0c1c1f2557 diff --git a/dev-python/multidict/multidict-6.4.4.ebuild b/dev-python/multidict/multidict-6.4.4.ebuild new file mode 100644 index 0000000000..21c8ce430a --- /dev/null +++ b/dev-python/multidict/multidict-6.4.4.ebuild @@ -0,0 +1,43 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3+ pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="multidict implementation" +HOMEPAGE="https://github.com/aio-libs/multidict/" +SRC_URI="https://files.pythonhosted.org/packages/91/2f/a3470242707058fe856fe59241eee5635d79087100b7042a867368863a27/multidict-6.4.4.tar.gz -> multidict-6.4.4.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="*" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/cython-0.28.4[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" +RDEPEND="" + +python_prepare_all() { + # don't use pytest-runner for tests + sed -i "s|'pytest-runner'||" setup.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + py.test -v tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} \ No newline at end of file