diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-09-22 07:04:39 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-09-22 08:28:34 +1200 |
commit | 06a60bb388494e02450546b95e976375ad6a11e9 (patch) | |
tree | 944d0cf28fd6b70a62245e855c56a9bb72ab8768 /dev-perl/Math-Random-ISAAC-XS/Math-Random-ISAAC-XS-1.4.0-r2.ebuild | |
parent | dev-perl/Crypt-Random-Seed: Add w/ version=0.30.0 (diff) | |
download | gentoo-06a60bb388494e02450546b95e976375ad6a11e9.tar.gz gentoo-06a60bb388494e02450546b95e976375ad6a11e9.tar.bz2 gentoo-06a60bb388494e02450546b95e976375ad6a11e9.zip |
dev-perl/Math-Random-ISAAC-XS: -r bump for EAPI7 + Toolchain love
- EAPI7
- Add USE="examples"
- Fix LICENSE
- USE=minimal -ize the RDEP on Math-Random-ISAAC as no code seems to
directly use it, but some weak dependency is there only as a
precaution.
- Fix dependencies somewhat
- Parallel tests
- Strip bad tests
- Guard against LD breaking Perl by not being a CCLD ( Set CCLD if
you know what you're doing )
- Ensure CFLAGS passed to make/compiler
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Math-Random-ISAAC-XS/Math-Random-ISAAC-XS-1.4.0-r2.ebuild')
-rw-r--r-- | dev-perl/Math-Random-ISAAC-XS/Math-Random-ISAAC-XS-1.4.0-r2.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-perl/Math-Random-ISAAC-XS/Math-Random-ISAAC-XS-1.4.0-r2.ebuild b/dev-perl/Math-Random-ISAAC-XS/Math-Random-ISAAC-XS-1.4.0-r2.ebuild new file mode 100644 index 000000000000..078626b748d4 --- /dev/null +++ b/dev-perl/Math-Random-ISAAC-XS/Math-Random-ISAAC-XS-1.4.0-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=JAWNSY +DIST_VERSION=1.004 +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="C implementation of the ISAAC PRNG algorithm" + +LICENSE="public-domain || ( Artistic GPL-1+ )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !minimal? ( + dev-perl/Math-Random-ISAAC + ) +" +DEPEND="dev-perl/Module-Build" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-CBuilder + virtual/perl-ExtUtils-ParseXS + >=dev-perl/Module-Build-0.280.801_rc + test? ( + >=dev-perl/Test-NoWarnings-0.84.0 + >=virtual/perl-Test-Simple-0.620.0 + ) +" +PERL_RM_FILES=( + # dubious use for gentoo, maybe one day? + t/03memory.t + t/05valgrind.t + # release only + t/04uniform.t + t/release-dist-manifest.t + t/release-kwalitee.t + t/release-pod-coverage.t + t/release-pod-syntax.t + t/release-portability.t +) +src_configure() { + unset LD + [[ -n "${CCLD}" ]] && export LD="${CCLD}" + perl-module_src_configure +} +src_compile() { + ./Build --config "optimize=${CFLAGS}" build || die +} |