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 7A648139694 for ; Tue, 18 Jul 2017 16:38:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD6DAE0C75; Tue, 18 Jul 2017 16:38:32 +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 8FF79E0C75 for ; Tue, 18 Jul 2017 16:38:32 +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 862D53418CF for ; Tue, 18 Jul 2017 16:38:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 303CA748F for ; Tue, 18 Jul 2017 16:38:30 +0000 (UTC) From: "Keri Harris" 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" Message-ID: <1500395894.e97c34c71c650b98b3fd7090f875ff0a5ab06f41.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.5.3.ebuild X-VCS-Directories: dev-lang/swi-prolog/ X-VCS-Committer: keri X-VCS-Committer-Name: Keri Harris X-VCS-Revision: e97c34c71c650b98b3fd7090f875ff0a5ab06f41 X-VCS-Branch: master Date: Tue, 18 Jul 2017 16:38:30 +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-Archives-Salt: ece1fbfb-d66c-439b-bd68-723a645ed22d X-Archives-Hash: ee7a7b577485dafcacf9c7f6ec8a7248 commit: e97c34c71c650b98b3fd7090f875ff0a5ab06f41 Author: Keri Harris gentoo org> AuthorDate: Tue Jul 18 16:38:14 2017 +0000 Commit: Keri Harris gentoo org> CommitDate: Tue Jul 18 16:38:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97c34c7 dev-lang/swi-prolog: bump 7.5 development version Package-Manager: Portage-2.3.0, Repoman-2.3.1 dev-lang/swi-prolog/Manifest | 1 + dev-lang/swi-prolog/swi-prolog-7.5.3.ebuild | 144 ++++++++++++++++++++++++++++ 2 files changed, 145 insertions(+) diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 9663b33b251..0027e535ff1 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -8,3 +8,4 @@ DIST swipl-7.4.2.tar.gz 16496738 SHA256 7f17257da334bc1e7a35e9cf5cb8fca01d82f1ea DIST swipl-7.5.0.tar.gz 16493773 SHA256 67f0a6d05dd5c6604c256734aac095a122a39791970c2bc802d2e7950cfedef9 SHA512 ffa6d20a50fda7791912df6959d6c80e104a97283ec09b702b89854ab4d433c86162a4b7c0f8ad34605349714f7e866c506b349bdc43c562e2d2261d95a4237f WHIRLPOOL 29979ac06859b159219d88975ab228576920e08f560267cdb648d6ceb5698765c1a0b27f9fb4e7b69ea1ac5a95d265fd0120110f602dee1a9af03bd14102ad98 DIST swipl-7.5.1.tar.gz 16505671 SHA256 70ba305c6c8eef171738b331e33318c7d996683745600f6737de14e839c6e0c4 SHA512 aa7103f7bf77dff3d54befa40d3988080fdefd883e9457695f7f7e98af84180815a644e2396a8dfcadd5428b90525487ff6aaeb71e066534f411b334ce5d2c58 WHIRLPOOL 33ba38f34384c407ad871cfd54822ed93d06981a7be1eef9fc8f95ad3c381768b331111a8e15c6add77853162966f1aea3b2a523cb6c3a085bab33ece9a4821a DIST swipl-7.5.2.tar.gz 16507767 SHA256 e16a5e74af16b1830d6a6f9950e56e2039b73e9dc70313603557a85d5490dafe SHA512 d6ba360b60246ee4998ee80f538961d33ac1cb37ba4798657b95e2b793fb3eb043b8df77698ecba1490c11d0cd6842a9a59f90301d8418bd711fc5223b6502c5 WHIRLPOOL cad68ed474d2104461b0344d48c64d6bd6d3370936d51744c07f2fe4b5cdeda62b65de115ae9ac72f7fa9d7daa6d784718db55ba0d6f2b98c9a196469afc582e +DIST swipl-7.5.3.tar.gz 16511917 SHA256 252779a25c964c0ee5efb698f2f9bb55ef5b27a1b7ada43b62a51633d1ddf3b2 SHA512 11c0effb791f0ef8da03a659127b94ff34c0dd9b122fe48c7c6cef88fcf31fbfc72b0d40bd14daeb425aa4928622e91367dec56f7e7ca1a997c4bb72a31752e9 WHIRLPOOL a0f5435e5a5535148df2591ed8fda7a61418da68d6f9edea5265be08958237b7db6362634e96fc4f132992b7edcc44018ea91cc150d985f70b48602b5707b3e1 diff --git a/dev-lang/swi-prolog/swi-prolog-7.5.3.ebuild b/dev-lang/swi-prolog/swi-prolog-7.5.3.ebuild new file mode 100644 index 00000000000..ece2fd907ab --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-7.5.3.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="archive berkdb debug doc +gmp hardened java +libedit 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:= ) + libedit? ( dev-libs/libedit ) + 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 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 libedit) \ + $(use_with odbc) \ + $(use_with readline) \ + $(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 +}