3f29b5cedc
- Create entropy-326 ebuilds for all entropy tools
(entropy, entropy-server, equo, rigo, rigo-daemon, matter,
magneto-core, magneto-loader, magneto-kde, magneto-gtk3)
- Tag 326 marks Portage 3 / Python 3.12+/3.13 compatibility milestone
- PYTHON_COMPAT: drop python2_7 + old python3_{6,7,8},
use python3_{11,12,13,14} across all ebuilds and 9999 live ebuilds
- Remove all old numbered versions (320–325), keep only 326 + 9999
- Remove magneto-gtk (GTK2/pygtk dead, replaced by magneto-gtk3)
- Fix rigo: xdg-utils eclass → xdg
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
40 lines
933 B
Bash
40 lines
933 B
Bash
# Copyright 2024 Gentoo Authors Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11,12,13,14} )
|
|
|
|
inherit python-r1 bash-completion-r1 git-r3
|
|
|
|
DESCRIPTION="Entropy Package Manager server-side tools"
|
|
HOMEPAGE="http://www.sabayon.org"
|
|
LICENSE="GPL-2"
|
|
|
|
EGIT_REPO_URI=https://gitea.disconnected-by-peer.at/sablink/entropy.git
|
|
EGIT_COMMIT=${PV}
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
IUSE="+matter"
|
|
|
|
S="${WORKDIR}/${P}/server"
|
|
|
|
RDEPEND="~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]
|
|
matter? ( ~app-admin/matter-${PV}[${PYTHON_USEDEP},entropy] )
|
|
${PYTHON_DEPS}
|
|
"
|
|
DEPEND="app-text/asciidoc"
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
src_install() {
|
|
installation() {
|
|
emake DESTDIR="${D}" PYTHON_SITEDIR="$(python_get_sitedir)" install
|
|
python_optimize
|
|
}
|
|
python_foreach_impl installation
|
|
python_replicate_script "${ED}usr/bin/eit"
|
|
newbashcomp "${S}/eit-completion.bash" eit
|
|
}
|