Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/unyt/
Date: Wed, 23 Dec 2020 04:29:47
Message-Id: 1608697778.5050fd8759c66c52eda0b3ba1e483fdaf0fdc451.epsilon-0@gentoo
1 commit: 5050fd8759c66c52eda0b3ba1e483fdaf0fdc451
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Wed Dec 23 04:29:38 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Wed Dec 23 04:29:38 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5050fd87
7
8 dev-python/unyt: version bump to 2.8.0
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 dev-python/unyt/unyt-2.8.0.ebuild | 32 ++++++++++++++++++++++++++++++++
14 1 file changed, 32 insertions(+)
15
16 diff --git a/dev-python/unyt/unyt-2.8.0.ebuild b/dev-python/unyt/unyt-2.8.0.ebuild
17 new file mode 100644
18 index 000000000..893f0c03f
19 --- /dev/null
20 +++ b/dev-python/unyt/unyt-2.8.0.ebuild
21 @@ -0,0 +1,32 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python3_{7..9} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="package for handling numpy arrays with units"
32 +HOMEPAGE="https://github.com/yt-project/unyt"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
34 + https://raw.githubusercontent.com/yt-project/unyt/v${PV}/unyt/tests/data/old_json_registry.txt
35 +"
36 +
37 +LICENSE="MIT"
38 +SLOT="0"
39 +KEYWORDS="~amd64"
40 +
41 +RDEPEND="${PYTHON_DEPS}
42 + dev-python/numpy[${PYTHON_USEDEP}]
43 + dev-python/sympy[${PYTHON_USEDEP}]
44 +"
45 +
46 +distutils_enable_tests pytest
47 +
48 +python_prepare_all() {
49 + mkdir -p "${S}"/unyt/tests/data || die
50 + mv "${DISTDIR}"/old_json_registry.txt "${S}"/unyt/tests/data/
51 +
52 + distutils-r1_python_prepare_all
53 +}