[dev-libs/Ice] bump python and ruby, untested
This commit is contained in:
parent
bc1580781a
commit
ccc914a7bb
@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..11} )
|
PYTHON_COMPAT=( python3_{10..12} )
|
||||||
|
|
||||||
RUBY_OPTIONAL="yes"
|
RUBY_OPTIONAL="yes"
|
||||||
USE_RUBY="ruby31"
|
USE_RUBY="ruby32"
|
||||||
|
|
||||||
PHP_EXT_NAME="IcePHP"
|
PHP_EXT_NAME="IcePHP"
|
||||||
PHP_EXT_INI="yes"
|
PHP_EXT_INI="yes"
|
||||||
@ -39,7 +39,7 @@ RDEPEND=">=app-arch/bzip2-1.0.5
|
|||||||
dev-libs/openssl:0=
|
dev-libs/openssl:0=
|
||||||
virtual/libcrypt:=
|
virtual/libcrypt:=
|
||||||
python? ( ${PYTHON_DEPS} )
|
python? ( ${PYTHON_DEPS} )
|
||||||
ruby? ( $(ruby_implementation_depend ruby31) )"
|
ruby? ( $(ruby_implementation_depend ruby32) )"
|
||||||
DEPEND="${RDEPEND}
|
DEPEND="${RDEPEND}
|
||||||
test? (
|
test? (
|
||||||
${PYTHON_DEPS}
|
${PYTHON_DEPS}
|
||||||
@ -99,22 +99,22 @@ src_configure() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if use ruby; then
|
if use ruby; then
|
||||||
SITERUBY="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
|
SITERUBY="$(ruby32 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
|
||||||
SITERUBYARCH="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')"
|
SITERUBYARCH="$(ruby32 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')"
|
||||||
MAKE_RULES_RUBY=(
|
MAKE_RULES_RUBY=(
|
||||||
"install_rubydir=\"${EPREFIX}/${SITERUBY}\""
|
"install_rubydir=\"${EPREFIX}/${SITERUBY}\""
|
||||||
"install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\""
|
"install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\""
|
||||||
)
|
)
|
||||||
|
|
||||||
# make it use ruby31 only
|
# make it use ruby32 only
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's|RUBY ?= ruby|\031|' \
|
-e 's|RUBY ?= ruby|\032|' \
|
||||||
ruby/config/Make.rules || die
|
ruby/config/Make.rules || die
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's|env ruby|\031|' \
|
-e 's|env ruby|\032|' \
|
||||||
ruby/config/s2rb.rb || die
|
ruby/config/s2rb.rb || die
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's|env ruby|\031|' \
|
-e 's|env ruby|\032|' \
|
||||||
ruby/scripts/slice2rb || die
|
ruby/scripts/slice2rb || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user