From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/compreffor/
Date: Fri, 18 Mar 2022 06:35:43 +0000 (UTC) [thread overview]
Message-ID: <1647576231.6cc40180080aa9c63bc12d7f9de3b9a999305746.arthurzam@gentoo> (raw)
commit: 6cc40180080aa9c63bc12d7f9de3b9a999305746
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Mar 18 03:06:30 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 04:03:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cc40180
dev-python/compreffor: fix tests
Closes: https://bugs.gentoo.org/835030
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/compreffor/compreffor-0.5.1_p1.ebuild | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
index bac2d4796..4b24a4bf1 100644
--- a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
+++ b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
MYPV="${PV/_p/.post}"
MYP="${PN}-${MYPV}"
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -24,8 +24,7 @@ SLOT="0"
RDEPEND="
>=dev-python/fonttools-4[${PYTHON_USEDEP}]
"
-DEPEND="
- ${RDEPEND}
+BDEPEND="
>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
@@ -35,7 +34,12 @@ PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" )
distutils_enable_tests pytest
+python_compile() {
+ distutils-r1_python_compile
+ esetup.py build_ext --inplace
+}
+
python_test() {
- distutils_install_for_testing
- default
+ cd "${S}/src/python" || die
+ PYTHONPATH=".:${PYTHONPATH}" epytest compreffor/test
}
next reply other threads:[~2022-03-18 6:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-18 6:35 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-06 6:59 [gentoo-commits] repo/proj/guru:master commit in: dev-python/compreffor/ Viorel Munteanu
2023-02-25 7:17 Viorel Munteanu
2022-07-07 7:33 Haelwenn Monnier
2022-06-28 15:38 Arthur Zamarin
2022-06-28 15:38 Arthur Zamarin
2022-03-23 16:14 Ronny Gutbrod
2021-06-15 7:11 Andrew Ammerlaan
2021-05-05 8:33 Andrew Ammerlaan
2021-03-23 14:45 Andrew Ammerlaan
2020-12-12 15:49 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=1647576231.6cc40180080aa9c63bc12d7f9de3b9a999305746.arthurzam@gentoo \
--to=arthurzam@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