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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B90DD138350 for ; Fri, 20 Mar 2020 05:40:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D25E5E0B04; Fri, 20 Mar 2020 05:40:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3B1DE0B04 for ; Fri, 20 Mar 2020 05:40:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38FC134F0FE for ; Fri, 20 Mar 2020 05:40:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70AC4186 for ; Fri, 20 Mar 2020 05:40: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: <1584682818.2109e5887c6cadddd4fdb629514580bc97dc8a27.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 X-VCS-Directories: dev-python/traits/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 2109e5887c6cadddd4fdb629514580bc97dc8a27 X-VCS-Branch: master Date: Fri, 20 Mar 2020 05:40: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: 7b9ed619-1a1c-4e99-a1e9-b3c7bd49742f X-Archives-Hash: c3243c139ad8dc0e2df6d750c3060d98 commit: 2109e5887c6cadddd4fdb629514580bc97dc8a27 Author: Horea Christian chymera eu> AuthorDate: Fri Mar 20 05:38:54 2020 +0000 Commit: Horea Christian gmail com> CommitDate: Fri Mar 20 05:40:18 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2109e588 dev-python/traits: version bump 6.0.0 and added PYTHON_COMPAT to include 3_7 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Horea Christian chymera.eu> dev-python/traits/traits-6.0.0.ebuild | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-python/traits/traits-6.0.0.ebuild b/dev-python/traits/traits-6.0.0.ebuild new file mode 100644 index 000000000..163fc881e --- /dev/null +++ b/dev-python/traits/traits-6.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python" +HOMEPAGE="http://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 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + ${RDEPEND} + )" + +python_prepare_all() { + sed -i -e "s/'-O3'//g" setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_test() { + cd "${BUILD_DIR}"/lib || die + ${EPYTHON} -m unittest discover || die +}