From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3B1A15800F for ; Thu, 12 Jan 2023 23:54:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFEB2E095F; Thu, 12 Jan 2023 23:54:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AA2C2E095F for ; Thu, 12 Jan 2023 23:54:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87116335DC1 for ; Thu, 12 Jan 2023 23:54:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5598807 for ; Thu, 12 Jan 2023 23:54:27 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1673567576.09aea9c7150a6b4b5aba118cf887d326916c5940.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/traits/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/traits/traits-6.0.0.ebuild dev-python/traits/traits-6.1.1.ebuild X-VCS-Directories: dev-python/traits/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 09aea9c7150a6b4b5aba118cf887d326916c5940 X-VCS-Branch: master Date: Thu, 12 Jan 2023 23:54:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 390484f0-a0b5-4b41-811c-d9a8968bdf2b X-Archives-Hash: d7e50e55c8ea1a4920a0b6de7d8c1b48 commit: 09aea9c7150a6b4b5aba118cf887d326916c5940 Author: Horea Christian chymera eu> AuthorDate: Thu Jan 12 23:52:56 2023 +0000 Commit: Horea Christian gmail 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 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