From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-898996-garchives=archives.gentoo.org@lists.gentoo.org> 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 C79C6138330 for <garchives@archives.gentoo.org>; Mon, 29 Aug 2016 06:46:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00A8521C03E; Mon, 29 Aug 2016 06:46:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F99721C03E for <gentoo-commits@lists.gentoo.org>; Mon, 29 Aug 2016 06:46:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBECD3408F0 for <gentoo-commits@lists.gentoo.org>; Mon, 29 Aug 2016 06:46:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8DAF2455 for <gentoo-commits@lists.gentoo.org>; Mon, 29 Aug 2016 06:46:19 +0000 (UTC) From: "Keri Harris" <keri@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Keri Harris" <keri@gentoo.org> Message-ID: <1472452802.2672fe1a5d705da7c197a3cc1d8dbe36c30de6e9.keri@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/swi-prolog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/swi-prolog/Manifest dev-lang/swi-prolog/swi-prolog-7.3.25.ebuild X-VCS-Directories: dev-lang/swi-prolog/ X-VCS-Committer: keri X-VCS-Committer-Name: Keri Harris X-VCS-Revision: 2672fe1a5d705da7c197a3cc1d8dbe36c30de6e9 X-VCS-Branch: master Date: Mon, 29 Aug 2016 06:46:19 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5e3c0527-a0a4-4a01-ae16-ad7aad87382c X-Archives-Hash: 939aba77384c4a45e6b6bcba86c651c7 commit: 2672fe1a5d705da7c197a3cc1d8dbe36c30de6e9 Author: Keri Harris <keri <AT> gentoo <DOT> org> AuthorDate: Mon Aug 29 06:40:02 2016 +0000 Commit: Keri Harris <keri <AT> gentoo <DOT> org> CommitDate: Mon Aug 29 06:40:02 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2672fe1a dev-lang/swi-prolog: bump 7.3 development version Package-Manager: portage-2.2.26 dev-lang/swi-prolog/Manifest | 1 + dev-lang/swi-prolog/swi-prolog-7.3.25.ebuild | 143 +++++++++++++++++++++++++++ 2 files changed, 144 insertions(+) diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 3b4a186..f36dad2 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -4,3 +4,4 @@ DIST swi-prolog-7.2.3-gentoo-patchset-1.tar.gz 1875 SHA256 c11e48122dc468f21e08d DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a6841399b8e76ee877f51d646b5 SHA512 da27a6b171d3b471401f1a91e86a4dbe98973d8a1db8c72aa27e452311d08b893b01a1de8f9f4dafcdac460774b4ea980050256d37284546941e1bdf84f8cd7b WHIRLPOOL de695c8e0317921dcc13898f7a3c88d1012e3f87f633cd25766ca5cb6637b29ca81b9245d015614089291a7d9abd0d8c7109ccae1df9297d78301d241cb258b3 DIST swipl-7.3.23.tar.gz 16393156 SHA256 ea6d2f8f0ec5fe8c1492f6790c8697b661d14e7b1e7a976c5d5d1c7d65a284d4 SHA512 1a79e0066dbcdaf49c183ca4344ffd1a5ab4765cc999ab46ff9a31bf2a46298e3b8816a3f0b715446a55d22bd8f1880a36bf43d79acc07506f8674c106eec5ca WHIRLPOOL b70a03aa549320fbd102362512fa0e4b88cb7c546da997356cbe11a3af89e1be7384dd1fe43cd6a881ab952e6eb7173841acc36070373dd41744b63b2f739349 DIST swipl-7.3.24.tar.gz 16438721 SHA256 4fd337d0817373c7c8d59cce5324e068be316d28dc3e81877075cd51168dd7cd SHA512 40d791bc5b2efc94a131c1895c16b28b361f877bb09587cf0dbdc4a67600d10da69133c2bcc1da0df45db839d70e11412614d140b77f2ba820e8c6516fa4bd4b WHIRLPOOL 161ab7ec73ba1f2fdfd02a6a55bb74eb80cbd05af793792bfea3d98e16ae1e6c6f653394e2c4f988d48f3cdbd78402f687fba0aa5ab40205129787f642d2a917 +DIST swipl-7.3.25.tar.gz 16468055 SHA256 0ab08807cf84658faea555fdd8bab58b2c240496dd88b60400594329fd7b0736 SHA512 f16055fe70cd44dcfc9a8f31179e8baaca46158f1af7e243e455992c337ec0c8be6b1fe7bb276f56b3acf9b09a9fdcb381943985d559f7958d4f4222b4ea737f WHIRLPOOL f3735b26347d24a433a99af9aee02eafa2ec8663210f0557aa0d361dcc875d1accdd07df034df158fd2dfb9d48fdf8f271f8c5612a481533dbb58427b7323067 diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.25.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.25.ebuild new file mode 100644 index 00000000..f212c56 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-7.3.25.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic java-pkg-opt-2 multilib + +PATCHSET_VER="0" + +DESCRIPTION="free, small, and standard compliant Prolog compiler" +HOMEPAGE="http://www.swi-prolog.org/" +SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz" + +LICENSE="BSD-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="archive berkdb debug doc +gmp hardened java libressl minimal odbc +readline ssl static-libs test uuid zlib X" + +RDEPEND="sys-libs/ncurses:= + archive? ( app-arch/libarchive ) + berkdb? ( >=sys-libs/db-4:= ) + zlib? ( sys-libs/zlib ) + odbc? ( dev-db/unixODBC ) + readline? ( sys-libs/readline:= ) + gmp? ( dev-libs/gmp:0 ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + java? ( >=virtual/jdk-1.5:= ) + uuid? ( dev-libs/ossp-uuid ) + X? ( + virtual/jpeg:0 + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM )" + +DEPEND="${RDEPEND} + X? ( x11-proto/xproto ) + java? ( test? ( =dev-java/junit-3.8* ) )" + +S="${WORKDIR}/swipl-${PV}" + +src_prepare() { + EPATCH_FORCE=yes + EPATCH_SUFFIX=patch + if [[ -d "${WORKDIR}"/${PV} ]] ; then + epatch "${WORKDIR}"/${PV} + fi + + if ! use uuid; then + mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die + fi + + # OSX/Intel ld doesn't like an archive without table of contents + sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die +} + +src_configure() { + append-flags -fno-strict-aliasing + use ppc && append-flags -mno-altivec + use hardened && append-flags -fno-unit-at-a-time + use debug && append-flags -DO_DEBUG + + # ARCH is used in the configure script to figure out host and target + # specific stuff + export ARCH=${CHOST} + + export CC_FOR_BUILD=$(tc-getBUILD_CC) + + cd "${S}"/src || die + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + $(use_enable gmp) \ + $(use_enable readline) \ + $(use_enable static-libs static) \ + --enable-shared \ + --enable-custom-flags COFLAGS="${CFLAGS}" + + if ! use minimal ; then + local jpltestconf + if use java && use test ; then + jpltestconf="--with-junit=$(java-config --classpath junit)" + fi + + cd "${S}/packages" || die + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + $(use_with archive) \ + $(use_with berkdb bdb ) \ + $(use_with java jpl) \ + ${jpltestconf} \ + $(use_with odbc) \ + $(use_with ssl) \ + $(use_with X xpce) \ + $(use_with zlib) \ + COFLAGS='"${CFLAGS}"' + fi +} + +src_compile() { + cd "${S}"/src || die + emake + + if ! use minimal ; then + cd "${S}/packages" || die + emake + ./report-failed || die "Cannot report failed packages" + fi +} + +src_test() { + cd "${S}/src" || die + emake check + + if ! use minimal ; then + unset DISPLAY + cd "${S}/packages" || die + emake \ + USE_PUBLIC_NETWORK_TESTS=false \ + USE_ODBC_TESTS=false \ + check + ./report-failed || die + fi +} + +src_install() { + emake -C src DESTDIR="${D}" install + + if ! use minimal ; then + emake -C packages DESTDIR="${D}" install + if use doc ; then + emake -C packages DESTDIR="${D}" html-install + fi + ./packages/report-failed || die "Cannot report failed packages" + fi + + dodoc ReleaseNotes/relnotes-5.10 INSTALL README.md VERSION +}