Diff tclpython-5.0-r1 with a tclpython-5.0-r2

/usr/portage/dev-tcltk/tclpython/tclpython-5.0-r2.ebuild 2023-10-09 14:52:30.904368386 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_7 )
6
PYTHON_COMPAT=( python3_{9..11} )
7 7

  
8
inherit multilib python-single-r1 toolchain-funcs
8
inherit python-single-r1 toolchain-funcs
9 9

  
10 10
DESCRIPTION="Python package for Tcl"
11 11
HOMEPAGE="http://jfontain.free.fr/tclpython.htm"
......
13 13

  
14 14
LICENSE="GPL-2"
15 15
SLOT="0"
16
KEYWORDS="~amd64 ~ppc ~x86"
16
KEYWORDS="amd64 ppc x86"
17 17
IUSE=""
18 18

  
19 19
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
......
25 25
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
26 26

  
27 27
src_compile() {
28
	emake PKG_NAME=tclpython3 CC=$(tc-getCC) \
29
		MYCFLAGS="${CFLAGS}" MYLDFLAGS="${LDFLAGS}"
28
	emake PKG_NAME=tclpython3 CC="$(tc-getCC)" \
29
		MYCFLAGS="${CFLAGS}" \
30
		MYLDFLAGS="${LDFLAGS} $(python_get_library_path)"
30 31
}
31 32

  
32 33
src_test() {
33
	emake PKG_NAME=tclpython3 CC=$(tc-getCC) test
34
	emake PKG_NAME=tclpython3 CC="$(tc-getCC)" test
34 35
}
35 36

  
36 37
src_install() {
Thank you!