From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/traits/
Date: Thu, 25 May 2023 05:55:28 +0000 (UTC) [thread overview]
Message-ID: <1684993976.8a3207cdb31bd100bb51094bfcdb842799dc6db7.chymera@gentoo> (raw)
commit: 8a3207cdb31bd100bb51094bfcdb842799dc6db7
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu May 25 05:52:56 2023 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu May 25 05:52:56 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8a3207cd
dev-python/traits: fixed tests
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-python/traits/traits-6.4.1.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-python/traits/traits-6.4.1.ebuild b/dev-python/traits/traits-6.4.1.ebuild
index 4d3c699a5..ebd3fb97a 100644
--- a/dev-python/traits/traits-6.4.1.ebuild
+++ b/dev-python/traits/traits-6.4.1.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
@@ -19,7 +20,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
-distutils_enable_tests unittest
+distutils_enable_tests pytest
# ToDo: Fix doc building:
# AttributeError: 'NoDefaultSpecified' object has no attribute '__name__'
#distutils_enable_sphinx docs/source --no-autodoc
@@ -30,6 +31,6 @@ python_prepare_all() {
}
python_test() {
- cd "${BUILD_DIR}"/lib || die
- ${EPYTHON} -m unittest discover || die
+ cd "${T}" || die
+ epytest --pyargs traits
}
next reply other threads:[~2023-05-25 5:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 5:55 Horea Christian [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-25 5:55 [gentoo-commits] proj/sci:master commit in: dev-python/traits/ Horea Christian
2023-05-22 12:10 Horea Christian
2023-01-27 18:47 Horea Christian
2023-01-27 18:45 Horea Christian
2023-01-12 23:54 Horea Christian
2023-01-12 23:54 Horea Christian
2023-01-12 23:54 Horea Christian
2022-07-11 17:22 Horea Christian
2021-12-16 11:07 Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2021-01-06 9:42 Andrew Ammerlaan
2021-01-03 3:38 Horea Christian
2021-01-03 3:38 Horea Christian
2020-12-31 1:38 Aisha Tammy
2020-09-25 8:53 Horea Christian
2020-03-20 5:40 Horea Christian
2019-04-16 19:51 Horea Christian
2019-03-22 2:02 Horea Christian
2019-03-18 20:14 Horea Christian
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=1684993976.8a3207cdb31bd100bb51094bfcdb842799dc6db7.chymera@gentoo \
--to=horea.christ@gmail.com \
--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