mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# @AUTHOR:
|
||||
# Michael Orlitzky <mjo@gentoo.org>
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: Eclass used to create and maintain a single group entry
|
||||
# @DESCRIPTION:
|
||||
# This eclass represents and creates a single group entry. The name
|
||||
@@ -37,7 +37,7 @@ if [[ -z ${_ACCT_GROUP_ECLASS} ]]; then
|
||||
_ACCT_GROUP_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
# @AUTHOR:
|
||||
# Michael Orlitzky <mjo@gentoo.org>
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: Eclass used to create and maintain a single user entry
|
||||
# @DESCRIPTION:
|
||||
# This eclass represents and creates a single user entry. The name
|
||||
@@ -45,7 +45,7 @@ if [[ -z ${_ACCT_USER_ECLASS} ]]; then
|
||||
_ACCT_USER_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: app-alternatives.eclass
|
||||
@@ -6,7 +6,7 @@
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 8
|
||||
# @SUPPORTED_EAPIS: 8 9
|
||||
# @BLURB: Common logic for app-alternatives/*
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides common logic shared by app-alternatives/*
|
||||
@@ -16,14 +16,14 @@
|
||||
# A get_alternative() function is provided that determines the selected
|
||||
# alternative and prints its respective flag name.
|
||||
|
||||
case ${EAPI} in
|
||||
8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} unsupported."
|
||||
esac
|
||||
|
||||
if [[ -z ${_APP_ALTERNATIVES_ECLASS} ]]; then
|
||||
_APP_ALTERNATIVES_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} unsupported."
|
||||
esac
|
||||
|
||||
# @ECLASS_VARIABLE: ALTERNATIVES
|
||||
# @PRE_INHERIT
|
||||
# @REQUIRED
|
||||
|
||||
@@ -6,21 +6,21 @@
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: Common utility functions for building against installed LLVM
|
||||
# @DESCRIPTION:
|
||||
# The utility eclass providing shared functions reused between
|
||||
# llvm.eclass and llvm-r1.eclass. It may also be used directly
|
||||
# in ebuilds.
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_LLVM_UTILS_ECLASS} ]]; then
|
||||
_LLVM_UTILS_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
# @FUNCTION: llvm_tuple_to_target
|
||||
# @USAGE: [<tuple>]
|
||||
# @DESCRIPTION:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: multibuild.eclass
|
||||
@@ -6,7 +6,7 @@
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Author: Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: A generic eclass for building multiple variants of packages.
|
||||
# @DESCRIPTION:
|
||||
# The multibuild eclass aims to provide a generic framework for building
|
||||
@@ -17,7 +17,7 @@ if [[ -z ${_MULTIBUILD_ECLASS} ]]; then
|
||||
_MULTIBUILD_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8)
|
||||
7|8|9)
|
||||
# backwards compatibility for run_in_build_dir
|
||||
inherit out-of-source-utils
|
||||
;;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: out-of-source-utils.eclass
|
||||
@@ -6,7 +6,7 @@
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: Utility functions for building packages out-of-source
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides a run_in_build_dir() helper that can be used
|
||||
@@ -16,7 +16,7 @@ if [[ -z ${_OUT_OF_SOURCE_UTILS_ECLASS} ]]; then
|
||||
_OUT_OF_SOURCE_UTILS_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: out-of-source.eclass
|
||||
# @MAINTAINER:
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: convenient wrapper to build autotools packages out-of-source
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides a minimalistic wrapper interface to easily
|
||||
@@ -32,14 +32,14 @@
|
||||
# }
|
||||
# @CODE
|
||||
|
||||
case ${EAPI} in
|
||||
7|8);;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_OUT_OF_SOURCE_ECLASS} ]]; then
|
||||
_OUT_OF_SOURCE_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8|9);;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
# @ECLASS_VARIABLE: BUILD_DIR
|
||||
# @OUTPUT_VARIABLE
|
||||
# @DEFAULT_UNSET
|
||||
|
||||
@@ -6,20 +6,20 @@
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: Functions for installing SGML catalogs
|
||||
# @DESCRIPTION:
|
||||
# This eclass regenerates /etc/sgml/catalog as necessary for the DocBook
|
||||
# tooling. This is done via exported pkg_postinst and pkg_postrm phases.
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_SGML_CATALOG_R1_ECLASS} ]]; then
|
||||
_SGML_CATALOG_R1_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ ${CATEGORY}/${PN} != app-text/sgml-common ]]; then
|
||||
RDEPEND=">=app-text/sgml-common-0.6.3-r7"
|
||||
fi
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
# @MAINTAINER:
|
||||
# base-system@gentoo.org (Linux)
|
||||
# Michał Górny <mgorny@gentoo.org> (NetBSD)
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: Read-only access to user and group information
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_USER_INFO_ECLASS} ]]; then
|
||||
_USER_INFO_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
# @FUNCTION: egetent
|
||||
# @USAGE: <database> <key>
|
||||
# @DESCRIPTION:
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: vcs-snapshot.eclass
|
||||
# @MAINTAINER:
|
||||
# mgorny@gentoo.org
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8 9
|
||||
# @BLURB: support eclass for unpacking VCS snapshot tarballs
|
||||
# @DESCRIPTION:
|
||||
# THIS ECLASS IS NOT NECESSARY FOR MODERN GITHUB AND GITLAB SNAPSHOTS.
|
||||
@@ -42,14 +42,14 @@
|
||||
# and however the tarballs were originally packed, all files will appear
|
||||
# in ${WORKDIR}/${P} and ${WORKDIR}/${P}-otherstuff respectively.
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_VCS_SNAPSHOT_ECLASS} ]]; then
|
||||
_VCS_SNAPSHOT_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
7|8|9) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
# @FUNCTION: vcs-snapshot_src_unpack
|
||||
# @DESCRIPTION:
|
||||
# Extract all the archives from ${A}. The .tar, .tar.gz, .tar.bz2
|
||||
|
||||
Reference in New Issue
Block a user