Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/getdata/
Date: Wed, 09 Sep 2020 11:30:35
Message-Id: 1599651025.43092c487ed3356e2e74219fc1e80b270975a0ff.mgorny@gentoo
1 commit: 43092c487ed3356e2e74219fc1e80b270975a0ff
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 9 10:47:48 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 11:30:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43092c48
7
8 sci-libs/getdata: Eradicate python2
9
10 Closes: https://bugs.gentoo.org/735480
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 sci-libs/getdata/getdata-0.9.0-r3.ebuild | 23 ++++-------------------
14 1 file changed, 4 insertions(+), 19 deletions(-)
15
16 diff --git a/sci-libs/getdata/getdata-0.9.0-r3.ebuild b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
17 index bb727d3bea8..9282f015685 100644
18 --- a/sci-libs/getdata/getdata-0.9.0-r3.ebuild
19 +++ b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
20 @@ -5,8 +5,7 @@ EAPI=6
21
22 FORTRAN_STANDARD="95"
23 FORTRAN_NEEDED=fortran
24 -PYTHON_COMPAT=( python2_7 )
25 -inherit autotools fortran-2 python-single-r1
26 +inherit autotools fortran-2
27
28 DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data"
29 HOMEPAGE="http://getdata.sourceforge.net/"
30 @@ -15,31 +14,17 @@ SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
31 SLOT="0"
32 LICENSE="LGPL-2.1"
33 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
34 -IUSE="bzip2 cxx debug flac fortran lzma perl python static-libs"
35 -
36 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
37 +IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
38
39 DEPEND="
40 bzip2? ( app-arch/bzip2 )
41 lzma? ( app-arch/xz-utils )
42 perl? ( dev-lang/perl )
43 - python? (
44 - $(python_gen_cond_dep '
45 - || (
46 - dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
47 - dev-python/numpy[${PYTHON_MULTI_USEDEP}]
48 - )
49 - ')
50 - ${PYTHON_DEPS}
51 - )"
52 +"
53 RDEPEND="${DEPEND}"
54
55 PATCHES=( "${FILESDIR}/${P}-remove-python-test.patch" )
56
57 -pkg_setup() {
58 - use python && python-single-r1_pkg_setup
59 -}
60 -
61 src_prepare() {
62 default
63 eautoreconf
64 @@ -62,7 +47,7 @@ src_configure() {
65 $(use_with lzma liblzma) \
66 $(use_enable perl) \
67 $(usex perl --with-perl-dir=vendor) \
68 - $(use_enable python) \
69 + --disable-python \
70 $(use_enable static-libs static)
71 }