[dev-libs/Ice] fix pkgcheck stuff, jank p3k11, needs patching

This commit is contained in:
Robert Förster 2022-06-26 20:22:58 +02:00
parent 663e137198
commit 9d8d0cb23a
4 changed files with 35 additions and 35 deletions

View File

@ -3,7 +3,7 @@
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{8..11} ) PYTHON_COMPAT=( python3_{8..10} )
RUBY_OPTIONAL="yes" RUBY_OPTIONAL="yes"
USE_RUBY="ruby30" USE_RUBY="ruby30"
@ -86,10 +86,10 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${ED}/usr\"" "prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\"" "install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\"" "install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\"" "install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes" "new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
@ -105,8 +105,8 @@ src_configure() {
SITERUBY="$(ruby30 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" SITERUBY="$(ruby30 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
SITERUBYARCH="$(ruby30 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')" SITERUBYARCH="$(ruby30 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')"
MAKE_RULES_RUBY=( MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\"" "install_rubydir=\"${EPREFIX}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\"" "install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\""
) )
# make it use ruby30 only # make it use ruby30 only
@ -171,8 +171,8 @@ src_test() {
PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \ PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
PYTHON="${EPYTHON}" \ PYTHON="${EPYTHON}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${EPREFIX}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" test install_libdir="\"${EPREFIX}/$(python_get_sitedir)\"" test
} }
local S="${S}/python" local S="${S}/python"
python_foreach_impl testing python_foreach_impl testing

View File

@ -3,7 +3,7 @@
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{8..11} ) PYTHON_COMPAT=( python3_{8..10} )
RUBY_OPTIONAL="yes" RUBY_OPTIONAL="yes"
USE_RUBY="ruby31" USE_RUBY="ruby31"
@ -86,10 +86,10 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${ED}/usr\"" "prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\"" "install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\"" "install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\"" "install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes" "new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
@ -105,8 +105,8 @@ src_configure() {
SITERUBY="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" SITERUBY="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
SITERUBYARCH="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')" SITERUBYARCH="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')"
MAKE_RULES_RUBY=( MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\"" "install_rubydir=\"${EPREFIX}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\"" "install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\""
) )
# make it use ruby31 only # make it use ruby31 only
@ -171,8 +171,8 @@ src_test() {
PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \ PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
PYTHON="${EPYTHON}" \ PYTHON="${EPYTHON}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${EPREFIX}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" test install_libdir="\"${EPREFIX}/$(python_get_sitedir)\"" test
} }
local S="${S}/python" local S="${S}/python"
python_foreach_impl testing python_foreach_impl testing

View File

@ -3,7 +3,7 @@
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{8..11} ) PYTHON_COMPAT=( python3_{8..10} )
RUBY_OPTIONAL="yes" RUBY_OPTIONAL="yes"
USE_RUBY="ruby27" USE_RUBY="ruby27"
@ -86,10 +86,10 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${ED}/usr\"" "prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\"" "install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\"" "install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\"" "install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes" "new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
@ -105,8 +105,8 @@ src_configure() {
SITERUBY="$(ruby27 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" SITERUBY="$(ruby27 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
SITERUBYARCH="$(ruby27 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')" SITERUBYARCH="$(ruby27 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')"
MAKE_RULES_RUBY=( MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\"" "install_rubydir=\"${EPREFIX}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\"" "install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\""
) )
# make it use ruby27 only # make it use ruby27 only
@ -171,8 +171,8 @@ src_test() {
PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \ PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
PYTHON="${EPYTHON}" \ PYTHON="${EPYTHON}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${EPREFIX}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" test install_libdir="\"${EPREFIX}/$(python_get_sitedir)\"" test
} }
local S="${S}/python" local S="${S}/python"
python_foreach_impl testing python_foreach_impl testing

View File

@ -88,10 +88,10 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${ED}/usr\"" "prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\"" "install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\"" "install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\"" "install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes" "new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
@ -107,8 +107,8 @@ src_configure() {
SITERUBY="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" SITERUBY="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
SITERUBYARCH="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')" SITERUBYARCH="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')"
MAKE_RULES_RUBY=( MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\"" "install_rubydir=\"${EPREFIX}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\"" "install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\""
) )
# make it use ruby31 only # make it use ruby31 only
@ -173,8 +173,8 @@ src_test() {
PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \ PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
PYTHON="${EPYTHON}" \ PYTHON="${EPYTHON}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${EPREFIX}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" test install_libdir="\"${EPREFIX}/$(python_get_sitedir)\"" test
} }
local S="${S}/python" local S="${S}/python"
python_foreach_impl testing python_foreach_impl testing