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 2519315800F for ; Thu, 12 Jan 2023 23:54:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CACE1E0960; Thu, 12 Jan 2023 23:54:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id ACC13E0960 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 8C3DB33BE34 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 C9C6E828 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: <1673567637.f51f644df30b8e93a607f84f5b30c64105021659.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.4.1.ebuild X-VCS-Directories: dev-python/traits/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: f51f644df30b8e93a607f84f5b30c64105021659 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: 7748e496-d9cc-4c67-b9dc-35df93bc043c X-Archives-Hash: b01270b26c5f3bf94e19f49000e8778c commit: f51f644df30b8e93a607f84f5b30c64105021659 Author: Horea Christian chymera eu> AuthorDate: Thu Jan 12 23:53:57 2023 +0000 Commit: Horea Christian gmail com> CommitDate: Thu Jan 12 23:53:57 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f51f644d dev-python/traits: add 6.4.1 Signed-off-by: Horea Christian chymera.eu> dev-python/traits/traits-6.4.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-python/traits/traits-6.4.1.ebuild b/dev-python/traits/traits-6.4.1.ebuild new file mode 100644 index 000000000..12afbe075 --- /dev/null +++ b/dev-python/traits/traits-6.4.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_10 ) + +inherit distutils-r1 + +DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python" +HOMEPAGE="https://docs.enthought.com/traits/ + https://github.com/enthought/traits + https://pypi.org/project/traits/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest +# ToDo: Fix doc building: +# AttributeError: 'NoDefaultSpecified' object has no attribute '__name__' +#distutils_enable_sphinx docs/source --no-autodoc + +python_prepare_all() { + sed -i -e "s/'-O3'//g" setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + cd "${BUILD_DIR}"/lib || die + ${EPYTHON} -m unittest discover || die +}