commit:     09aea9c7150a6b4b5aba118cf887d326916c5940
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Jan 12 23:52:56 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Jan 12 23:52:56 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=09aea9c7

dev-python/traits: Package uses unittests instead of nose

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/traits/traits-6.0.0.ebuild | 2 ++
 dev-python/traits/traits-6.1.1.ebuild | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/traits/traits-6.0.0.ebuild 
b/dev-python/traits/traits-6.0.0.ebuild
index dfca6a6f6..2bcb063c0 100644
--- a/dev-python/traits/traits-6.0.0.ebuild
+++ b/dev-python/traits/traits-6.0.0.ebuild
@@ -28,6 +28,8 @@ DEPEND="
                ${RDEPEND}
                )"
 
+distutils_enable_tests unittest
+
 python_prepare_all() {
        sed -i -e "s/'-O3'//g" setup.py || die
        distutils-r1_python_prepare_all

diff --git a/dev-python/traits/traits-6.1.1.ebuild 
b/dev-python/traits/traits-6.1.1.ebuild
index 47187ae45..0754ddefd 100644
--- a/dev-python/traits/traits-6.1.1.ebuild
+++ b/dev-python/traits/traits-6.1.1.ebuild
@@ -16,10 +16,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+# Reported upstream: https://github.com/enthought/traits/issues/1731
+RESTRICT="test"
 
 RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
 
-distutils_enable_tests nose
+distutils_enable_tests unittest
 # ToDo: Fix doc building:
 # AttributeError: 'NoDefaultSpecified' object has no attribute '__name__'
 #distutils_enable_sphinx docs/source --no-autodoc

Reply via email to