Skip to content

Commit 7c38f6d

Browse files
authored
Merge pull request #876 from macaroni-os/merge/mark-31/bump-dev-python_multidict-6_4_4
mark-devkit: [mark-31] Bump dev-python/multidict-6.4.4
2 parents 2ae8922 + 82e0f43 commit 7c38f6d

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

dev-python/multidict/Manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
DIST multidict-6.1.0.tar.gz 64002 BLAKE2B dae74500696fccc2f49db661f9ef0c2d8322125e67dfa952e1d7dddb5ea484957e5fd9f4ce373b5e0eb12d37dbd086b95a467410832f1db7ae9bc5459c4621cf SHA512 2e35c1450879ecfc856e5355cc515f57ce6100a1cd8854704dc6afc1bbdce0d46ab3eb9e23e35ea9956aacfb33bec351e8b878c11fa1cf3c03282fa40a4959d3
2+
DIST multidict-6.4.4.tar.gz 90183 BLAKE2B 7764b552f8b9e2b2d738d7aa7a92f4388bb4ee90596a5a854c0969a5e92fef9aaf0d40f39691fcfe08492637f59bb0c0482a4821c1e20d3d0d1ed3463bc0b5c0 SHA512 93b4975ff310c78526c116f6ccc800d310e3df4e8981120975642476d6354653451c4cfa6034f627a58736bb683978ef3e1c8ddb4df3308293011a0c1c1f2557
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Distributed under the terms of the GNU General Public License v2
2+
3+
EAPI=6
4+
PYTHON_COMPAT=( python3+ pypy3 )
5+
6+
inherit distutils-r1
7+
8+
DESCRIPTION="multidict implementation"
9+
HOMEPAGE="https://github.com/aio-libs/multidict/"
10+
SRC_URI="https://files.pythonhosted.org/packages/91/2f/a3470242707058fe856fe59241eee5635d79087100b7042a867368863a27/multidict-6.4.4.tar.gz -> multidict-6.4.4.tar.gz"
11+
12+
LICENSE="Apache-2.0"
13+
SLOT="0"
14+
KEYWORDS="*"
15+
IUSE="doc test"
16+
RESTRICT="!test? ( test )"
17+
18+
DEPEND="
19+
dev-python/setuptools[${PYTHON_USEDEP}]
20+
>=dev-python/cython-0.28.4[${PYTHON_USEDEP}]
21+
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
22+
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
23+
"
24+
RDEPEND=""
25+
26+
python_prepare_all() {
27+
# don't use pytest-runner for tests
28+
sed -i "s|'pytest-runner'||" setup.py || die
29+
distutils-r1_python_prepare_all
30+
}
31+
32+
python_compile_all() {
33+
use doc && emake -C docs html
34+
}
35+
36+
python_test() {
37+
py.test -v tests || die "Tests fail with ${EPYTHON}"
38+
}
39+
40+
python_install_all() {
41+
use doc && local HTML_DOCS=( docs/_build/html/. )
42+
distutils-r1_python_install_all
43+
}

0 commit comments

Comments
 (0)