diff options
Diffstat (limited to 'dev-perl/Ace')
-rw-r--r-- | dev-perl/Ace/Ace-1.920.0-r4.ebuild | 137 | ||||
-rw-r--r-- | dev-perl/Ace/Manifest | 1 |
2 files changed, 138 insertions, 0 deletions
diff --git a/dev-perl/Ace/Ace-1.920.0-r4.ebuild b/dev-perl/Ace/Ace-1.920.0-r4.ebuild new file mode 100644 index 000000000000..ceb1838ad0af --- /dev/null +++ b/dev-perl/Ace/Ace-1.920.0-r4.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_NAME=AcePerl +DIST_AUTHOR=LDS +DIST_VERSION=1.92 +DIST_EXAMPLES=("examples/*") +inherit perl-module toolchain-funcs + +DESCRIPTION="Object-Oriented Access to ACEDB Databases" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test ) mirror" +# License note: Indemnification and Attribution-if-Used bug #718936 +RDEPEND=" + virtual/perl-Digest-MD5 + dev-perl/Cache-Cache + dev-perl/GD +" +DEPEND=" + elibc_glibc? ( net-libs/libtirpc net-libs/rpcsvc-proto ) + elibc_musl? ( net-libs/libtirpc net-libs/rpcsvc-proto ) + elibc_uclibc? ( net-libs/libtirpc net-libs/rpcsvc-proto ) +" +BDEPEND=" + ${RDEPEND} + ${DEPEND} +" +mydoc="DISCLAIMER.txt" +src_prepare() { + eapply "${FILESDIR}/${PN}-1.92-rpcxs.patch" + eapply "${FILESDIR}/${PN}-1.92-gcc-nonvoid.patch" + + cat > "${S}/acelib/wmake/DARWIN_DEF" <<EOF +NAME = DARWIN +COMPILER = $(tc-getCC) -fwritable-strings -DACEDB4 -DPOSIX +LINKER = $(tc-getLD) + +LIBS = -lm + +EOF + + if use elibc_glibc || use elibc_musl || use elibc_uclibc ; then + # Confusing name, should have been not specific to glibc + eapply "${FILESDIR}/${PN}-1.92-glibc26.patch" + export LIBS="-ltirpc" + fi + + export MAKEOPTS="-j1" + perl-module_src_prepare +} + +src_test() { + local MODULES=( + "Ace ${DIST_VERSION}" + "Ace::Freesubs 1.00" + "Ace::Graphics::Fk" # NO VERSION + "Ace::Graphics::Glyph" + "Ace::Graphics::Glyph::anchored_arrow" + "Ace::Graphics::Glyph::arrow" + "Ace::Graphics::Glyph::box" + "Ace::Graphics::Glyph::crossbox" + "Ace::Graphics::Glyph::dot" + "Ace::Graphics::Glyph::ex" + "Ace::Graphics::Glyph::graded_segments" + "Ace::Graphics::Glyph::group" + "Ace::Graphics::Glyph::line" + "Ace::Graphics::Glyph::primers" + "Ace::Graphics::Glyph::segments" + "Ace::Graphics::Glyph::span" + "Ace::Graphics::Glyph::toomany" + "Ace::Graphics::Glyph::transcript" + "Ace::Graphics::Glyph::triangle" + "Ace::Graphics::GlyphFactory" + "Ace::Graphics::Panel" + "Ace::Graphics::Track" + "Ace::Iterator 1.51" + "Ace::Local 1.05" + "Ace::Model 1.51" + "Ace::Object 1.66" + "Ace::Object::Wormbase" + "Ace::RPC 1.00" + "Ace::Sequence 1.51" + "Ace::Sequence::Feature" + "Ace::Sequence::FeatureList" + "Ace::Sequence::GappedAlignment 1.20" + "Ace::Sequence::Gene" + "Ace::Sequence::Homol" + "Ace::Sequence::Multi" + "Ace::Sequence::Transcript" + "Ace::SocketServer 1.01" + "GFF::Filehandle" +# Need Ace::Browser +# "Ace::Browser::AceSubs ${DIST_VERSION}" +# "Ace::Browser::GeneSubs ${DIST_VERSION}" +# "Ace::Browser::SearchSubs ${DIST_VERSION}" +# "Ace::Browser::SiteDefs ${DIST_VERSION}" +# "Ace::Browser::TreeSubs ${DIST_VERSION}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -M"${dep} ()" -e1 + eend $? || failed+=( "$dep" ) + done + if [[ ${failed[@]} ]]; then + echo + eerror "One or more modules failed compile:"; + for dep in "${failed[@]}"; do + eerror " ${dep}" + done + die "Failing due to module compilation errors"; + fi + if ! has "network" "${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"; then + ewarn "This package needs network access to run its full test suite" + ewarn "For details, see:" + ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-nodes/dev-perl/Ace" + ewarn "" + else + perl-module_src_test + fi +} + +pkg_postinst() { + ewarn "This package requests that publications that made use of this software" + ewarn "in the process of their research attribute it." + ewarn "" + ewarn "This package's licensing terms also include indemnification clauses" + ewarn "which may apply to you, and are currently under decision in" + ewarn " Bug: https://bugs.gentoo.org/718936" + ewarn "" + ewarn "Please read ${EROOT}/usr/share/doc/${PF}/DISCLAIMER.*" +} diff --git a/dev-perl/Ace/Manifest b/dev-perl/Ace/Manifest index 295e82c89d78..79975d7483b4 100644 --- a/dev-perl/Ace/Manifest +++ b/dev-perl/Ace/Manifest @@ -3,4 +3,5 @@ AUX Ace-1.92-glibc26.patch 749 BLAKE2B 261d699ab79bb625cf8590c900913ee35363b7cd7 AUX Ace-1.92-rpcxs.patch 819 BLAKE2B 2eb978b7bbced6b67976685d8102724f6357983459e90a14fdab1cb696a8e8c033093d3427cf7aec820aa27eb0f71c9d505962dc2aa62ca67455562b869a5179 SHA512 ae26f67a5a0b91652c90dbb4beea7553e3affc40a15db52247ba28e4171f150c4ffa70ce15b69ce3735176c810b36105b00fb5675f4320340354a929568b49d9 DIST AcePerl-1.92.tar.gz 300163 BLAKE2B 4fac4d7f56d31f179a1a310688cde078371a1e6605b229016a5a2f3a32de01bf3421c459eeefcdfdd12df3baf34d6495c8e7998e1c66a47215ea2abd741303b6 SHA512 0db8392336dd48c58bdaf8d8d9ac6d1106124259f27fa95951aa8d496014e1e8b89ed87f6df276473e3bcb44a8d323f864178a9b84dd1e787d614bd0b8e93be9 EBUILD Ace-1.920.0-r3.ebuild 2952 BLAKE2B 3f7072080cdf6a51cbe128218067e4e597e5194161dab73ef48fafbf617bb2e84030c3abd4c8c6388584edfc80537c70ea69b493565af9e46fa191cbd2b8310c SHA512 52a373997f6591d21ba240176b136c7fe43819ad3e400cbe3264ea87d4beb154cd3a68047e43b22dad8953271cbe5d53d21630be2ae142535fbdae69dd285085 +EBUILD Ace-1.920.0-r4.ebuild 3734 BLAKE2B e16fd27affa775ce65ae401c804ba28209965555e03149ab3d86ed43d2331807736094ee6db057909dc6598e9b4b34d97ed32fd03b40b67ee1b0cdfdfc003f2e SHA512 9eeeb8e0d0c477a97d12cb91de66c01b204ed3851f8ef9e5dd9baf8a261a296d4c56c8b2c716f0257f2f1e1403189f785eb89aefb7414f66f2993de7664f0e1f MISC metadata.xml 3416 BLAKE2B 4385d220ac60f2e41750bb1afeff4f9a9055526710db08c2688f1e3787a17f2d9943af22825c8ec554c832f2a428410578baf25044348cbc984114890adcc770 SHA512 aa3443c187165f3cf97e7110238cb039242345071f9e3f74ed40e39a9ce0720062706dd78539eff1553703ed5e8cf55d42b924ebae3cc992366358d300ec544d |