public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/starlette/
Date: Wed, 26 May 2021 13:42:44 +0000 (UTC)	[thread overview]
Message-ID: <1621994252.85ad87ff40410b59a517ada3d1968f3d3a296010.andrewammerlaan@gentoo> (raw)

commit:     85ad87ff40410b59a517ada3d1968f3d3a296010
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed May 26 01:32:54 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed May 26 01:57:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85ad87ff

dev-python/starlette: add 0.14.2, drop 0.14.1

Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/starlette/Manifest                          |  2 +-
 ...starlette-0.14.1.ebuild => starlette-0.14.2.ebuild} | 18 ++++++++----------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest
index a42baca71..18540adc6 100644
--- a/dev-python/starlette/Manifest
+++ b/dev-python/starlette/Manifest
@@ -1 +1 @@
-DIST starlette-0.14.1.tar.gz 438036 BLAKE2B 9531459d6af3860cad7743a395360f573476bab642eb69c2dcc41c6240acff7309a3fc47676db4d106210dff81957974656fd68f03aa4e2fdc9f080afe2c4e31 SHA512 792075ec6d7b8fa16b40b12c092adfc1c95ce0f17b0dd8b34c8578fe407a863279cebf77218d1d89459d1b4161078684c6339ff48c124e67899313bae6794e01
+DIST starlette-0.14.2.tar.gz 438350 BLAKE2B 862f1f6526f194e0dfd52e14860b63fbd97507a4a6d694d71e44041edbb435608a1e3511144e6fb3e8b39405672baf81e00685ad3928aebb244e566cfcd665d0 SHA512 4321d3d1890c49dea53d7923b456772ecc9d28083d28392e0e9cd1f39f33180cc1cb28914bee443849fa8c87015dd99610ea18e03f0101b0eaf3f8df56249fab

diff --git a/dev-python/starlette/starlette-0.14.1.ebuild b/dev-python/starlette/starlette-0.14.2.ebuild
similarity index 81%
rename from dev-python/starlette/starlette-0.14.1.ebuild
rename to dev-python/starlette/starlette-0.14.2.ebuild
index deb7df9c2..ce6438b91 100644
--- a/dev-python/starlette/starlette-0.14.1.ebuild
+++ b/dev-python/starlette/starlette-0.14.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{8..9} )
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
@@ -22,14 +22,10 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-# ModuleNotFoundError: No module named 'graphql.execution.executors'
-# Now graphql is at the newest version and this still doesn't work :(
-# though there are less errors now
-RESTRICT="test"
-
-DEPEND="test? (
+BDEPEND="test? (
 	dev-python/aiofiles[${PYTHON_USEDEP}]
 	dev-python/aiosqlite[${PYTHON_USEDEP}]
+	dev-python/databases[${PYTHON_USEDEP}]
 	dev-python/graphene[${PYTHON_USEDEP}]
 	dev-python/itsdangerous[${PYTHON_USEDEP}]
 	dev-python/jinja[${PYTHON_USEDEP}]
@@ -42,8 +38,10 @@ DEPEND="test? (
 python_prepare_all() {
 	# do not install LICENSE to /usr/
 	sed -i -e '/data_files/d' setup.py || die
-	# do not depend on pytest-cov
-	sed -i -e '/--cov/d' setup.cfg || die
+	# do not depend on pytest-cov and fail on DeprecationWarning
+	rm setup.cfg || die
+	# ModuleNotFoundError: No module named 'graphql.execution.executors'
+	rm tests/test_graphql.py || die
 
 	distutils-r1_python_prepare_all
 }
@@ -54,7 +52,7 @@ pkg_postinst() {
 	optfeature "Required if you want to support form parsing, with request.form()" dev-python/python-multipart
 	optfeature "Required for SessionMiddleware support." dev-python/itsdangerous
 	optfeature "Required for SchemaGenerator support." dev-python/pyyaml
-	optfeature "Required for GraphQLApp support" media-libs/graphene
+	optfeature "Required for GraphQLApp support" dev-python/graphene
 	optfeature "Required if you want to use UJSONResponse." dev-python/ujson
 	optfeature "Server Sent Events" dev-python/sse-starlette
 }


             reply	other threads:[~2021-05-26 13:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26 13:42 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-15 10:35 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/starlette/ Andrew Ammerlaan
2021-12-15 10:35 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-12-18 19:55 Andrew Ammerlaan
2020-09-24 13:01 Andrew Ammerlaan
2020-07-05 11:51 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-07-05 11:51 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-02 10:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-02 10:00 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-16  9:59 Andrew Ammerlaan
2020-03-24 16:37 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621994252.85ad87ff40410b59a517ada3d1968f3d3a296010.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox