Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/netcdf4-python/
Date: Sun, 17 Nov 2019 15:12:34
Message-Id: 1574003511.6eef4b9abf6c40d524b44d604ca6ecaa9feb715f.alexxy@gentoo
1 commit: 6eef4b9abf6c40d524b44d604ca6ecaa9feb715f
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 17 13:03:33 2019 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 15:11:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eef4b9a
7
8 dev-python/netcdf4-python: Add py3.7 and move to eapi7
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.18
11 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
12
13 ...netcdf4-python-1.2.2.ebuild => netcdf4-python-1.2.2-r1.ebuild} | 8 +++++---
14 1 file changed, 5 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild b/dev-python/netcdf4-python/netcdf4-python-1.2.2-r1.ebuild
17 similarity index 85%
18 rename from dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild
19 rename to dev-python/netcdf4-python/netcdf4-python-1.2.2-r1.ebuild
20 index 402a7bc65f0..4494e2f43bc 100644
21 --- a/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild
22 +++ b/dev-python/netcdf4-python/netcdf4-python-1.2.2-r1.ebuild
23 @@ -1,9 +1,9 @@
24 # Copyright 1999-2019 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=6
28 +EAPI=7
29
30 -PYTHON_COMPAT=( python2_7 python3_{5,6} )
31 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
32
33 inherit distutils-r1
34
35 @@ -23,7 +23,9 @@ RDEPEND="
36 dev-python/numpy
37 sci-libs/hdf5
38 sci-libs/netcdf:=[hdf,hdf5]"
39 -DEPEND="${RDEPEND}"
40 +BDEPEND="${RDEPEND}"
41 +
42 +RESTRICT="!test? ( test )"
43
44 S="${WORKDIR}"/${MY_P}