From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD944138359 for ; Fri, 3 Jul 2020 00:07:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F01F4E08F1; Fri, 3 Jul 2020 00:07:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9D1FE08EF for ; Fri, 3 Jul 2020 00:07:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4677B34EE76 for ; Fri, 3 Jul 2020 00:07:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7DFE2CA for ; Fri, 3 Jul 2020 00:07:44 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1593734233.90560afd82286c37f0f62665ba5e090c3e786e2f.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Ace/Ace-1.920.0-r6.ebuild X-VCS-Directories: dev-perl/Ace/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 90560afd82286c37f0f62665ba5e090c3e786e2f X-VCS-Branch: master Date: Fri, 3 Jul 2020 00:07:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c72e8822-c2a5-4fc9-ab52-dfc88a7eb3c1 X-Archives-Hash: d816351a1073ef6209633cba250540ce commit: 90560afd82286c37f0f62665ba5e090c3e786e2f Author: Kent Fredric gentoo org> AuthorDate: Thu Jul 2 23:13:06 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Thu Jul 2 23:57:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90560afd dev-perl/Ace: -r bump for CFLAGS love - Ensure CFLAGS passed to make/compile - Re-organize DEPEND to appease BAS-IMP-ebuild_multiple_deps_per_line - Localise override of make -j1 to inside src_compile - Slightly indent URL display for readability Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> dev-perl/Ace/Ace-1.920.0-r6.ebuild | 145 +++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) diff --git a/dev-perl/Ace/Ace-1.920.0-r6.ebuild b/dev-perl/Ace/Ace-1.920.0-r6.ebuild new file mode 100644 index 00000000000..61f9208c446 --- /dev/null +++ b/dev-perl/Ace/Ace-1.920.0-r6.ebuild @@ -0,0 +1,145 @@ +# 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 +" +DEPS_TIRPC=" + net-libs/libtirpc + net-libs/rpcsvc-proto +" +DEPEND=" + elibc_glibc? ( ${DEPS_TIRPC} ) + elibc_musl? ( ${DEPS_TIRPC} ) + elibc_uclibc? ( ${DEPS_TIRPC} ) +" +BDEPEND=" + ${RDEPEND} + ${DEPEND} +" +mydoc="DISCLAIMER.txt" +src_prepare() { + eapply "${FILESDIR}/${PN}-1.92-rpcxs.patch" + eapply "${FILESDIR}/${PN}-1.92-gcc-nonvoid.patch" + eapply "${FILESDIR}/${PN}-1.92-toolchain.patch" + cp "${FILESDIR}/${PN}-1.92-DARWIN_DEF" "${S}/acelib/wmake/DARWIN_DEF" || die "can't copy DARWIN_DEF" + if use elibc_glibc || use elibc_musl || use elibc_uclibc ; then + export LIBS="-ltirpc" + fi + perl-module_src_prepare +} +src_compile() { + mymake=( + "AR=$(tc-getAR)" + "TARGET_CC=$(tc-getCC)" + "TARGET_LD=$(tc-getLD)" + "RANLIB=$(tc-getRANLIB)" + "OPTIMIZE=${CFLAGS}" + # Parallel compile breaks :( + "-j1" + ) + if use elibc_glibc || use elibc_musl || use elibc_uclibc ; then + mymake+=( "LIBS=-ltirpc -lm" ) + mymake+=( "USEROPTS=-I/usr/include/tirpc -fPIC" ) + fi + perl-module_src_compile +} + +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.*" +}