Diff scotch-6.1.2 with a scotch-7.0.1-r1

/usr/portage/sci-libs/scotch/scotch-7.0.1-r1.ebuild 2023-10-09 14:52:35.096368491 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs flag-o-matic multilib
7 7

  
......
14 14

  
15 15
LICENSE="CeCILL-2"
16 16
SLOT="0/${SOVER}"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
18 18
IUSE="doc int64 mpi static-libs test tools +threads"
19 19
# bug #532620
20 20
REQUIRED_USE="test? ( threads )"
......
77 77
	static_to_shared lib/libscotcherrexit.a
78 78
	static_to_shared lib/libscotch.a -Llib -lz -lm -lrt -lpthread -lscotcherr
79 79
	static_to_shared lib/libesmumps.a -Llib -lscotch
80
	static_to_shared lib/libscotchmetis.a -Llib -lscotch
80
	static_to_shared lib/libscotchmetisv3.a -Llib -lscotch
81
	static_to_shared lib/libscotchmetisv5.a -Llib -lscotch
81 82

  
82 83
	if use mpi; then
83 84
		emake -C src CLIBFLAGS=-fPIC ptscotch ptesmumps
......
86 87
		static_to_shared lib/libptscotcherrexit.a
87 88
		static_to_shared lib/libptscotch.a -Llib -lscotch -lptscotcherr -lz -lm -lrt
88 89
		static_to_shared lib/libptesmumps.a -Llib -lscotch -lptscotch
89
		static_to_shared lib/libptscotchparmetis.a -Llib -lscotch -lptscotch
90 90
	fi
91 91
	if use static-libs; then
92 92
		emake -C src clean
......
104 104
	dolib.so lib/lib*$(get_libname)*
105 105
	use static-libs && dolib.a lib/*.a
106 106

  
107
	#install metis headers into a subdir
108
	#to allow usage of real metis and scotch
109
	#in the same code
107
	# Install metis headers into a subdir
108
	# to allow usage of real metis and scotch
109
	# in the same code
110 110
	insinto /usr/include/scotch/metis
111 111
	doins include/*metis*
112
	rm include/*metis*
112
	rm include/*metis* || die
113

  
113 114
	insinto /usr/include/scotch
114 115
	doins include/*
115 116

  
......
128 129
	insinto /usr/$(get_libdir)/pkgconfig
129 130
	doins scotchmetis.pc
130 131

  
131
	# not sure it is actually a full replacement of metis
132
	# Not sure it is actually a full replacement of metis
132 133
	#alternatives_for metis scotch 0 \
133 134
	#	/usr/$(get_libdir)/pkgconfig/metis.pc scotchmetis.pc
134 135

  
......
148 149
		EOF
149 150
			insinto /usr/$(get_libdir)/pkgconfig
150 151
			doins ptscotchparmetis.pc
151
			# not sure it is actually a full replacement of parmetis
152
			# Not sure it is actually a full replacement of parmetis
152 153
			#alternatives_for metis-mpi ptscotch 0 \
153 154
			#	/usr/$(get_libdir)/pkgconfig/metis-mpi.pc ptscotchparmetis.pc
154 155
	fi
Thank you!