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 B98871382C5 for ; Fri, 12 Jun 2020 13:20:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1EA3E08ED; Fri, 12 Jun 2020 13:20:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 964DAE08ED for ; Fri, 12 Jun 2020 13:20:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C022034EF86 for ; Fri, 12 Jun 2020 13:20:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D5CA278 for ; Fri, 12 Jun 2020 13:20:22 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1591968017.88cb1fdfbfdc14408b5c0e847f5323e6be313d76.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/patsy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/patsy/patsy-0.5.1.ebuild X-VCS-Directories: dev-python/patsy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 88cb1fdfbfdc14408b5c0e847f5323e6be313d76 X-VCS-Branch: master Date: Fri, 12 Jun 2020 13:20:22 +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: a24c74c7-d30a-4bd3-9802-fdb4dc03832d X-Archives-Hash: 660432cc2bcc81090d9ac876f5a9a672 commit: 88cb1fdfbfdc14408b5c0e847f5323e6be313d76 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 12 12:31:19 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 12 13:20:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88cb1fdf dev-python/patsy: Port to py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/patsy/patsy-0.5.1.ebuild | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/dev-python/patsy/patsy-0.5.1.ebuild b/dev-python/patsy/patsy-0.5.1.ebuild index 7ae07545ef4..55fef3e0521 100644 --- a/dev-python/patsy/patsy-0.5.1.ebuild +++ b/dev-python/patsy/patsy-0.5.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -13,33 +13,27 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" +IUSE="doc" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - " -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] sci-libs/scipy[${PYTHON_USEDEP}] + " +BDEPEND=" doc? ( dev-python/ipython[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] - ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" + )" + +distutils_enable_tests nose python_compile_all() { use doc && emake -C doc html } -python_test() { - cd "${BUILD_DIR}" || die - nosetests -v || die "Testing failed with ${EPYTHON}" -} - python_install_all() { use doc && HTML_DOCS=( doc/_build/html/. ) distutils-r1_python_install_all