Сравнение urjtag-2021.03 с urjtag-9999

/usr/portage/dev-embedded/urjtag/urjtag-9999.ebuild 2026-11-16 17:41:27.909066707 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{10..12} )
6
PYTHON_COMPAT=( python3_{12..15} )
7
DISTUTILS_EXT=1
8
DISTUTILS_OPTIONAL=1
9
DISTUTILS_USE_PEP517=setuptools
7 10

  
8
inherit python-r1
11
inherit distutils-r1
9 12

  
10 13
if [[ ${PV} == "9999" ]] ; then
11 14
	EGIT_REPO_URI="https://git.code.sf.net/p/urjtag/git"
......
13 16
	S="${WORKDIR}/${P}/${PN}"
14 17
else
15 18
	SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.xz"
16
	KEYWORDS="amd64 ppc ~sparc x86"
19
	KEYWORDS="~amd64 ~ppc ~sparc ~x86"
17 20
fi
18 21

  
19 22
DESCRIPTION="Tool for communicating over JTAG with flash chips, CPUs, and many more"
......
32 35
	usb? ( virtual/libusb:1 )"
33 36
RDEPEND="${DEPEND}"
34 37
BDEPEND="
35
	python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
38
	python? ( ${DISTUTILS_DEPS} )
36 39
"
37 40

  
38 41
PATCHES=(
......
47 50
		eautopoint
48 51
		eautoreconf
49 52
	fi
53

  
54
	if use python; then
55
		cd bindings/python || die
56
		distutils-r1_src_prepare
57
	fi
50 58
}
51 59

  
52 60
src_configure() {
......
60 68
}
61 69

  
62 70
src_compile() {
63
	use python && python_copy_sources
71
	default
64 72

  
65
	emake
73
	if use python; then
74
		cd bindings/python || die
75
		distutils-r1_src_compile
76
	fi
66 77
}
67 78

  
68 79
src_install() {
69 80
	default
70 81

  
71 82
	if use python; then
72
		installation() {
73
			cd bindings/python || die
74
			ln -s "${S}"/src/.libs ../../src/.libs || die
75
			"${EPYTHON}" setup.py install \
76
				--root="${D}" \
77
				--prefix="${EPREFIX}/usr" || die
78
		}
79
		python_foreach_impl run_in_build_dir installation
80
		python_foreach_impl python_optimize
83
		cd bindings/python || die
84
		distutils-r1_src_install
81 85
	fi
82 86

  
83 87
	find "${ED}" -name '*.la' -delete || die
Спасибо!