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 5F29113835A for ; Sun, 27 Sep 2020 15:26:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42BB2E07F6; Sun, 27 Sep 2020 15:26:26 +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 2465EE07F6 for ; Sun, 27 Sep 2020 15:26:26 +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 A6F6D335DC2 for ; Sun, 27 Sep 2020 15:26:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F58137C for ; Sun, 27 Sep 2020 15:26:23 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1601216474.4fc56bd2e6a0930079e829ab22e69c7677483b32.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/unyt/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/unyt/metadata.xml dev-python/unyt/unyt-2.7.2.ebuild X-VCS-Directories: dev-python/unyt/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 4fc56bd2e6a0930079e829ab22e69c7677483b32 X-VCS-Branch: master Date: Sun, 27 Sep 2020 15:26:23 +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: 1e3089ba-27ee-4680-bbc6-0499d47ce702 X-Archives-Hash: 896090f3735f0fbea36e28bedd6bf02d commit: 4fc56bd2e6a0930079e829ab22e69c7677483b32 Author: Aisha Tammy aisha cc> AuthorDate: Sun Sep 27 14:21:14 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Sun Sep 27 14:21:14 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4fc56bd2 dev-python/unyt: dependency for sci-visualization/yt Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> dev-python/unyt/metadata.xml | 12 ++++++++++++ dev-python/unyt/unyt-2.7.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/unyt/metadata.xml b/dev-python/unyt/metadata.xml new file mode 100644 index 000000000..2f2c0b51c --- /dev/null +++ b/dev-python/unyt/metadata.xml @@ -0,0 +1,12 @@ + + + + + gentoo@aisha.cc + Aisha Tammy + + + sci@gentoo.org + Gentoo Science Project + + diff --git a/dev-python/unyt/unyt-2.7.2.ebuild b/dev-python/unyt/unyt-2.7.2.ebuild new file mode 100644 index 000000000..893f0c03f --- /dev/null +++ b/dev-python/unyt/unyt-2.7.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="package for handling numpy arrays with units" +HOMEPAGE="https://github.com/yt-project/unyt" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + https://raw.githubusercontent.com/yt-project/unyt/v${PV}/unyt/tests/data/old_json_registry.txt +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="${PYTHON_DEPS} + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + mkdir -p "${S}"/unyt/tests/data || die + mv "${DISTDIR}"/old_json_registry.txt "${S}"/unyt/tests/data/ + + distutils-r1_python_prepare_all +}