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 D63181580B9 for ; Wed, 25 Aug 2021 05:29:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3767AE08F2; Wed, 25 Aug 2021 05:29:22 +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 1F39CE08F2 for ; Wed, 25 Aug 2021 05:29:22 +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 2985E342B14 for ; Wed, 25 Aug 2021 05:29:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D09718D6 for ; Wed, 25 Aug 2021 05:29:19 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1629869346.68819ad6c0d437e7818728feca3332745a433687.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyContracts/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/PyContracts/PyContracts-1.8.14-r1.ebuild X-VCS-Directories: dev-python/PyContracts/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 68819ad6c0d437e7818728feca3332745a433687 X-VCS-Branch: master Date: Wed, 25 Aug 2021 05:29:19 +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: 693e9f35-1095-4bee-a6ef-4e7d4567f471 X-Archives-Hash: f4f42785b37409aec8d8267812e461e6 commit: 68819ad6c0d437e7818728feca3332745a433687 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 25 05:27:24 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 25 05:29:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68819ad6 dev-python/PyContracts: add opt dep on numpy Signed-off-by: Arthur Zamarin gentoo.org> dev-python/PyContracts/PyContracts-1.8.14-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/PyContracts/PyContracts-1.8.14-r1.ebuild b/dev-python/PyContracts/PyContracts-1.8.14-r1.ebuild index f94e9113dd4..a4dec70c9ec 100644 --- a/dev-python/PyContracts/PyContracts-1.8.14-r1.ebuild +++ b/dev-python/PyContracts/PyContracts-1.8.14-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 optfeature DESCRIPTION="Declare constraints on function parameters and return values" HOMEPAGE="https://andreacensi.github.com/contracts/ https://pypi.org/project/PyContracts/" @@ -33,3 +33,7 @@ PATCHES=( ) distutils_enable_tests nose + +pkg_postinst() { + optfeature "constraints on numpy arrays" dev-python/numpy +}