Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/starlette/
Date: Wed, 26 May 2021 13:42:48
Message-Id: 1621994252.85ad87ff40410b59a517ada3d1968f3d3a296010.andrewammerlaan@gentoo
1 commit: 85ad87ff40410b59a517ada3d1968f3d3a296010
2 Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Wed May 26 01:32:54 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed May 26 01:57:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85ad87ff
7
8 dev-python/starlette: add 0.14.2, drop 0.14.1
9
10 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-python/starlette/Manifest | 2 +-
13 ...starlette-0.14.1.ebuild => starlette-0.14.2.ebuild} | 18 ++++++++----------
14 2 files changed, 9 insertions(+), 11 deletions(-)
15
16 diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest
17 index a42baca71..18540adc6 100644
18 --- a/dev-python/starlette/Manifest
19 +++ b/dev-python/starlette/Manifest
20 @@ -1 +1 @@
21 -DIST starlette-0.14.1.tar.gz 438036 BLAKE2B 9531459d6af3860cad7743a395360f573476bab642eb69c2dcc41c6240acff7309a3fc47676db4d106210dff81957974656fd68f03aa4e2fdc9f080afe2c4e31 SHA512 792075ec6d7b8fa16b40b12c092adfc1c95ce0f17b0dd8b34c8578fe407a863279cebf77218d1d89459d1b4161078684c6339ff48c124e67899313bae6794e01
22 +DIST starlette-0.14.2.tar.gz 438350 BLAKE2B 862f1f6526f194e0dfd52e14860b63fbd97507a4a6d694d71e44041edbb435608a1e3511144e6fb3e8b39405672baf81e00685ad3928aebb244e566cfcd665d0 SHA512 4321d3d1890c49dea53d7923b456772ecc9d28083d28392e0e9cd1f39f33180cc1cb28914bee443849fa8c87015dd99610ea18e03f0101b0eaf3f8df56249fab
23
24 diff --git a/dev-python/starlette/starlette-0.14.1.ebuild b/dev-python/starlette/starlette-0.14.2.ebuild
25 similarity index 81%
26 rename from dev-python/starlette/starlette-0.14.1.ebuild
27 rename to dev-python/starlette/starlette-0.14.2.ebuild
28 index deb7df9c2..ce6438b91 100644
29 --- a/dev-python/starlette/starlette-0.14.1.ebuild
30 +++ b/dev-python/starlette/starlette-0.14.2.ebuild
31 @@ -3,7 +3,7 @@
32
33 EAPI=7
34
35 -PYTHON_COMPAT=( python3_{7,8} )
36 +PYTHON_COMPAT=( python3_{8..9} )
37
38 DOCS_BUILDER="mkdocs"
39 DOCS_DEPEND="dev-python/mkdocs-material"
40 @@ -22,14 +22,10 @@ LICENSE="BSD"
41 SLOT="0"
42 KEYWORDS="~amd64 ~x86"
43
44 -# ModuleNotFoundError: No module named 'graphql.execution.executors'
45 -# Now graphql is at the newest version and this still doesn't work :(
46 -# though there are less errors now
47 -RESTRICT="test"
48 -
49 -DEPEND="test? (
50 +BDEPEND="test? (
51 dev-python/aiofiles[${PYTHON_USEDEP}]
52 dev-python/aiosqlite[${PYTHON_USEDEP}]
53 + dev-python/databases[${PYTHON_USEDEP}]
54 dev-python/graphene[${PYTHON_USEDEP}]
55 dev-python/itsdangerous[${PYTHON_USEDEP}]
56 dev-python/jinja[${PYTHON_USEDEP}]
57 @@ -42,8 +38,10 @@ DEPEND="test? (
58 python_prepare_all() {
59 # do not install LICENSE to /usr/
60 sed -i -e '/data_files/d' setup.py || die
61 - # do not depend on pytest-cov
62 - sed -i -e '/--cov/d' setup.cfg || die
63 + # do not depend on pytest-cov and fail on DeprecationWarning
64 + rm setup.cfg || die
65 + # ModuleNotFoundError: No module named 'graphql.execution.executors'
66 + rm tests/test_graphql.py || die
67
68 distutils-r1_python_prepare_all
69 }
70 @@ -54,7 +52,7 @@ pkg_postinst() {
71 optfeature "Required if you want to support form parsing, with request.form()" dev-python/python-multipart
72 optfeature "Required for SessionMiddleware support." dev-python/itsdangerous
73 optfeature "Required for SchemaGenerator support." dev-python/pyyaml
74 - optfeature "Required for GraphQLApp support" media-libs/graphene
75 + optfeature "Required for GraphQLApp support" dev-python/graphene
76 optfeature "Required if you want to use UJSONResponse." dev-python/ujson
77 optfeature "Server Sent Events" dev-python/sse-starlette
78 }