mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Move {dev-util → dev-build}/scons
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -46,7 +46,7 @@ DEPEND="${RDEPEND}
|
||||
BDEPEND="
|
||||
$(python_gen_any_dep '
|
||||
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
|
||||
>=dev-util/scons-3.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
@@ -73,7 +73,7 @@ python_check_deps() {
|
||||
python_has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
|
||||
fi
|
||||
|
||||
python_has_version ">=dev-util/scons-3.1.1[${PYTHON_USEDEP}]" &&
|
||||
python_has_version ">=dev-build/scons-3.1.1[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
|
||||
@@ -49,7 +49,7 @@ DEPEND="${RDEPEND}
|
||||
debug? ( dev-debug/valgrind )"
|
||||
BDEPEND="
|
||||
$(python_gen_any_dep '
|
||||
>=dev-util/scons-3.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
@@ -78,7 +78,7 @@ PATCHES=(
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version ">=dev-util/scons-3.1.1[${PYTHON_USEDEP}]" &&
|
||||
python_has_version ">=dev-build/scons-3.1.1[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -23,7 +23,7 @@ IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-util/scons[${PYTHON_USEDEP}]
|
||||
dev-build/scons[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -23,7 +23,7 @@ IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-util/scons[${PYTHON_USEDEP}]
|
||||
dev-build/scons[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
@@ -23,7 +23,7 @@ IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-util/scons[${PYTHON_USEDEP}]
|
||||
dev-build/scons[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: scons-utils.eclass
|
||||
@@ -8,9 +8,9 @@
|
||||
# @BLURB: helper functions to deal with SCons buildsystem
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides a set of function to help developers sanely call
|
||||
# dev-util/scons and pass parameters to it.
|
||||
# dev-build/scons and pass parameters to it.
|
||||
#
|
||||
# As of dev-util/scons-3.0.1-r100, SCons supports Python 3. Since
|
||||
# As of dev-build/scons-3.0.1-r100, SCons supports Python 3. Since
|
||||
# SCons* files in build systems are written as Python, all packages
|
||||
# need to explicitly verify which versions of Python are supported
|
||||
# and use appropriate Python suite eclass to select the implementation.
|
||||
@@ -93,7 +93,7 @@ inherit multiprocessing
|
||||
|
||||
# -- ebuild variables setup --
|
||||
|
||||
SCONS_DEPEND=">=dev-util/scons-${SCONS_MIN_VERSION}"
|
||||
SCONS_DEPEND=">=dev-build/scons-${SCONS_MIN_VERSION}"
|
||||
|
||||
if [[ ${_PYTHON_ANY_R1_ECLASS} ]]; then
|
||||
# when using python-any-r1, use any-of dep API
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..2} luajit )
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit lua-single python-any-r1 scons-utils toolchain-funcs
|
||||
|
||||
@@ -41,7 +41,7 @@ RDEPEND="
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-util/scons-3.0.1-r3
|
||||
>=dev-build/scons-3.0.1-r3
|
||||
test? ( net-dns/avahi )
|
||||
"
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic
|
||||
|
||||
@@ -24,7 +24,7 @@ RDEPEND="dev-libs/apr:1=
|
||||
sys-libs/zlib:0=
|
||||
kerberos? ( virtual/krb5 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=dev-util/scons-2.3.0"
|
||||
BDEPEND=">=dev-build/scons-2.3.0"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.8-static-lib.patch
|
||||
|
||||
@@ -46,3 +46,4 @@ move dev-util/gyp dev-build/gyp
|
||||
move dev-util/netsurf-buildsystem dev-build/netsurf-buildsystem
|
||||
move dev-util/tup dev-build/tup
|
||||
move sys-devel/cons dev-build/cons
|
||||
move dev-util/scons dev-build/scons
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
PYTHON_COMPAT=( python3_{9,10} )
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
|
||||
inherit udev distutils-r1 scons-utils systemd toolchain-funcs
|
||||
@@ -66,7 +66,7 @@ RDEPEND="
|
||||
X? ( dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
$(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-build/scons[${PYTHON_USEDEP}]')
|
||||
test? ( app-alternatives/bc )"
|
||||
|
||||
# asciidoctor package is for man page generation
|
||||
@@ -75,7 +75,7 @@ if [[ ${PV} == *9999* ]] ; then
|
||||
fi
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-util/scons[${PYTHON_USEDEP}]" || return 1
|
||||
has_version -b "dev-build/scons[${PYTHON_USEDEP}]" || return 1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
PYTHON_COMPAT=( python3_{9,10} )
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
|
||||
inherit distutils-r1 scons-utils systemd toolchain-funcs udev
|
||||
@@ -65,7 +65,7 @@ RDEPEND="
|
||||
X? ( dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
$(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-build/scons[${PYTHON_USEDEP}]')
|
||||
test? ( app-alternatives/bc )"
|
||||
|
||||
# asciidoctor package is for man page generation
|
||||
@@ -74,7 +74,7 @@ if [[ ${PV} == *9999* ]] ; then
|
||||
fi
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-util/scons[${PYTHON_USEDEP}]" || return 1
|
||||
has_version -b "dev-build/scons[${PYTHON_USEDEP}]" || return 1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
|
||||
inherit distutils-r1 scons-utils systemd toolchain-funcs udev
|
||||
@@ -67,7 +67,7 @@ RDEPEND="
|
||||
X? ( dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
$(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-build/scons[${PYTHON_USEDEP}]')
|
||||
test? ( app-alternatives/bc )"
|
||||
RDEPEND+=" selinux? ( sec-policy/selinux-gpsd )"
|
||||
|
||||
@@ -77,7 +77,7 @@ if [[ ${PV} == *9999* ]] ; then
|
||||
fi
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-util/scons[${PYTHON_USEDEP}]" || return 1
|
||||
has_version -b "dev-build/scons[${PYTHON_USEDEP}]" || return 1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
|
||||
inherit distutils-r1 scons-utils systemd toolchain-funcs udev
|
||||
@@ -67,7 +67,7 @@ RDEPEND="
|
||||
X? ( dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
$(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-build/scons[${PYTHON_USEDEP}]')
|
||||
test? ( app-alternatives/bc )"
|
||||
RDEPEND+=" selinux? ( sec-policy/selinux-gpsd )"
|
||||
|
||||
@@ -77,7 +77,7 @@ if [[ ${PV} == *9999* ]] ; then
|
||||
fi
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-util/scons[${PYTHON_USEDEP}]" || return 1
|
||||
has_version -b "dev-build/scons[${PYTHON_USEDEP}]" || return 1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user