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 7DB68138334 for ; Wed, 7 Aug 2019 17:55:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B23A2E085A; Wed, 7 Aug 2019 17:55:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 806B8E085A for ; Wed, 7 Aug 2019 17:55:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AD84E3494BE for ; Wed, 7 Aug 2019 17:55:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 616DF755 for ; Wed, 7 Aug 2019 17:55:42 +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: <1565199980.609f14e782dd4c15662d1946e2aa6ca0b65ba26a.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/parrot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/parrot/parrot-8.1.0-r2.ebuild X-VCS-Directories: dev-lang/parrot/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 609f14e782dd4c15662d1946e2aa6ca0b65ba26a X-VCS-Branch: master Date: Wed, 7 Aug 2019 17:55:42 +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: 6509cda0-c3e0-4711-a68e-668dd64b963c X-Archives-Hash: 019db329be39aefd5a2f6e1261b47b33 commit: 609f14e782dd4c15662d1946e2aa6ca0b65ba26a Author: Kent Fredric gentoo org> AuthorDate: Wed Aug 7 17:45:11 2019 +0000 Commit: Kent Fredric gentoo org> CommitDate: Wed Aug 7 17:46:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=609f14e7 dev-lang/parrot: -r1 bump for EAPI7 Looks like no new releases are happening in the near future, so bumping the last release by one -r step for EAPI7 conversion - All use of "|| die" removed from builtins (these have auto-died' since EAPI4 ) - Rework doc handling logic to avoid use of banned "dohtml" - Stripped auxilliary copies of docs in "docs/${PF}/parrot/${PV}" - Remove excess indirection of "doc/${PF}/editor/editor" - Unified docs, examples, and html handling with "einstalldocs" Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Kent Fredric gentoo.org> dev-lang/parrot/parrot-8.1.0-r2.ebuild | 101 +++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/dev-lang/parrot/parrot-8.1.0-r2.ebuild b/dev-lang/parrot/parrot-8.1.0-r2.ebuild new file mode 100644 index 00000000000..85f839ba76a --- /dev/null +++ b/dev-lang/parrot/parrot-8.1.0-r2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils multilib + +# weird failures +RESTRICT="test" + +DESCRIPTION="Virtual machine designed to compile and execute bytecode for dynamic languages" +HOMEPAGE="http://www.parrot.org/" +SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/all/${PV}/${P}.tar.gz" + +LICENSE="Artistic-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="opengl nls doc examples gdbm +gmp ssl +unicode pcre" + +CDEPEND="sys-libs/readline:0= + dev-libs/libffi + net-libs/libnsl:0= + opengl? ( media-libs/freeglut ) + nls? ( sys-devel/gettext ) + unicode? ( >=dev-libs/icu-2.6:= ) + gdbm? ( >=sys-libs/gdbm-1.8.3-r1 ) + gmp? ( >=dev-libs/gmp-4.1.4:0= ) + ssl? ( dev-libs/openssl:0= ) + pcre? ( dev-libs/libpcre ) +" +RDEPEND="${CDEPEND} + doc? ( dev-perl/JSON )" +DEPEND="${CDEPEND}" +BDEPEND="dev-lang/perl[doc?] + ${RDEPEND}" + +src_configure() { + myconf="--disable-rpath" + use unicode || myconf+=" --without-icu" + use ssl || myconf+=" --without-crypto" + use gdbm || myconf+=" --without-gdbm" + use nls || myconf+=" --without-gettext" + use gmp || myconf+=" --without-gmp" + use opengl || myconf+=" --without-opengl" + use pcre || myconf+=" --without-pcre" + + perl Configure.pl \ + --ccflags="${CFLAGS}" \ + --linkflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --mandir="${EPREFIX}"/usr/share/man \ + --sysconfdir="${EPREFIX}"/etc \ + --sharedstatedir="${EPREFIX}"/var/lib/parrot \ + $myconf || die +} + +src_compile() { + export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib + # occasionally dies in parallel make + emake -j1 + if use doc ; then + emake -j1 html + fi +} + +src_test() { + emake -j1 test +} + +src_install() { + emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" + dosym parrot-ops2c /usr/bin/ops2c + rm -vfr "${ED}/usr/share/doc/${PF}/parrot" || die "Unable to prune excess docs" + DOCS=( + CREDITS + ChangeLog + DONORS.pod + PBC_COMPAT + PLATFORMS + README.pod + RESPONSIBLE_PARTIES + TODO + ) + use doc && DOCS+=( editor ) + use examples && DOCS+=( examples ) + use doc && HTML_DOCS=( + docs/html/developer.html + docs/html/DONORS.pod.html + docs/html/index.html + docs/html/ops.html + docs/html/parrotbug.html + docs/html/pdds.html + docs/html/pmc.html + docs/html/tools.html + docs/html/docs + docs/html/src + docs/html/tools + ) + einstalldocs +}