From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncpg/
Date: Wed, 19 Oct 2022 12:38:34 +0000 (UTC) [thread overview]
Message-ID: <1666183092.f3134539a4055bf116464c0fe16f95f405b34cd4.cybertailor@gentoo> (raw)
commit: f3134539a4055bf116464c0fe16f95f405b34cd4
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Oct 19 12:31:45 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Oct 19 12:38:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3134539
dev-python/asyncpg: fix tests
Closes: https://bugs.gentoo.org/860972
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/asyncpg/asyncpg-0.26.0.ebuild | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/dev-python/asyncpg/asyncpg-0.26.0.ebuild b/dev-python/asyncpg/asyncpg-0.26.0.ebuild
index b2bba5cf8..985b39494 100644
--- a/dev-python/asyncpg/asyncpg-0.26.0.ebuild
+++ b/dev-python/asyncpg/asyncpg-0.26.0.ebuild
@@ -15,17 +15,20 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="dev-python/cython[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ test? (
+ dev-db/postgresql
+ dev-python/flake8[${PYTHON_USEDEP}]
+ dev-python/uvloop[${PYTHON_USEDEP}]
+ )
+"
-distutils_enable_tests pytest
+distutils_enable_tests unittest
distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio dev-python/sphinx_rtd_theme
-python_compile() {
- if use test; then
- esetup.py build_ext --force --inplace
- rm -r build || die
- fi
-
- distutils-r1_python_compile
+python_test() {
+ cd "${T}" || die
+ USE_UVLOOP=1 eunittest "${S}"/tests
}
next reply other threads:[~2022-10-19 12:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-19 12:38 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-02 17:46 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asyncpg/ Anna Vyalkova
2025-05-02 17:46 Anna Vyalkova
2024-10-31 8:29 Anna Vyalkova
2024-10-29 21:58 Anna Vyalkova
2024-10-23 22:50 Anna Vyalkova
2024-10-07 0:31 Anna Vyalkova
2024-04-22 20:30 Anna Vyalkova
2024-04-22 20:30 Anna Vyalkova
2024-04-08 21:37 Anna Vyalkova
2024-01-17 13:46 Anna Vyalkova
2024-01-17 13:46 Anna Vyalkova
2022-11-11 18:55 Anna Vyalkova
2022-11-03 3:09 Anna Vyalkova
2022-07-11 19:22 Anna Vyalkova
2021-12-14 7:14 Anna Vyalkova
2021-05-25 10:37 Anna Vyalkova
2021-04-28 3:15 Theo Anderson
2020-10-23 14:51 Andrew Ammerlaan
2020-03-18 17:47 Andrew Ammerlaan
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=1666183092.f3134539a4055bf116464c0fe16f95f405b34cd4.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--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