mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/parallel: needs ithreads
Unfortunately, parcat really does seem to need ithreads, so depend on it accordingly. Worse, it doesn't seem to check for failure in all cases either if it is missing. Note: if you're hitting a conflict caused by this, you need to set PERL_FEATURES globally or in package.use with */*, not just for paralllel. Closes: https://bugs.gentoo.org/940683 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
41
sys-process/parallel/parallel-20250722-r1.ebuild
Normal file
41
sys-process/parallel/parallel-20250722-r1.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/oletange.asc
|
||||
inherit verify-sig
|
||||
|
||||
DESCRIPTION="Shell tool for executing jobs in parallel locally or on remote machines"
|
||||
HOMEPAGE="https://www.gnu.org/software/parallel/ https://git.savannah.gnu.org/cgit/parallel.git/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
|
||||
SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.bz2.sig )"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl[perl_features_ithreads]
|
||||
dev-perl/Devel-Size
|
||||
dev-perl/Text-CSV
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-oletange-20210423 )"
|
||||
|
||||
src_configure() {
|
||||
# bug #908214
|
||||
unset PARALLEL_HOME
|
||||
|
||||
econf --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Silence a warning where it tries to use pod2pdf; force it to fallback
|
||||
# to pre-generated PDF.
|
||||
mkdir "${T}"/fake || die
|
||||
ln -s "${BROOT}"/bin/false "${T}"/fake/pod2pdf || die
|
||||
export PATH="${T}/fake:${PATH}"
|
||||
|
||||
default
|
||||
}
|
||||
Reference in New Issue
Block a user