Files
for-gentoo/sys-apps/entropy-server/entropy-server-9999.ebuild
Mario Fetka 3f29b5cedc entropy: tag 326, drop old versions, update Python compat
- 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>
2026-06-30 08:03:03 +02:00

40 lines
831 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-single-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"
SLOT="0"
KEYWORDS=""
IUSE="+matter"
S="${WORKDIR}/${P}/server"
RDEPEND="sys-apps/entropy[${PYTHON_USEDEP}]
matter? ( app-admin/matter[entropy] )
${PYTHON_DEPS}
"
DEPEND="app-text/asciidoc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang "${S}"
}
src_install() {
emake DESTDIR="${D}" PYTHON_SITEDIR="$(python_get_sitedir)" install
newbashcomp "${S}/eit-completion.bash" eit
python_optimize
}