From 477e842485c5b581f4ff9195d08709b2031d6eb3 Mon Sep 17 00:00:00 2001 From: Keri Harris Date: Tue, 20 Sep 2016 18:15:50 +0200 Subject: 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.27.ebuild | 143 +++++++++++++++++++++++++++ 2 files changed, 144 insertions(+) create mode 100644 dev-lang/swi-prolog/swi-prolog-7.3.27.ebuild (limited to 'dev-lang') diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 49113c8e629e..00a97a4b9dba 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -6,3 +6,4 @@ DIST swipl-7.3.23.tar.gz 16393156 SHA256 ea6d2f8f0ec5fe8c1492f6790c8697b661d14e7 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 DIST swipl-7.3.26.tar.gz 16487509 SHA256 058b19003c1baf286ea3b5db3a9aef18a92625306dd354867b23c9fc5d5c1348 SHA512 c8d9165c45f1feb218ec0646742c811979ea7cb9e09243a8542c6f9bff59f77353b2363259ca4c0027a9896211e18a4f84f3ef26a11988db595b1e0fa54f09fe WHIRLPOOL 5103283710c453439ebc7c4a05fcec41971df367f64d2db5916268dd38c1e4f8bbf9058777c9a34fff2791d03c51d154c5635a96b6d004d801d83657d24ad8c1 +DIST swipl-7.3.27.tar.gz 16505676 SHA256 0436c4e5af74538ee11597d6edb2208a478e2f9b9cdedb1c17211cbbee06d4f3 SHA512 e26b5ac3c7f4dc0ee461dc1e00dacc7c5b526145c18b5ad1c929980a54ac3ac69228e923ced328783d3d9118945e1feaf21427ecc4ca3686c9b5105a28dcfffb WHIRLPOOL d81f570e5b72ff5426f37a0dfe28d94d92442490e058fa7f29ea6d696e9ca76687c97856d74f2d1a84a706ccceeeb2b00b2b57150cef2125aa50b47ce312eecf diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.27.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.27.ebuild new file mode 100644 index 000000000000..f212c56f28a3 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-7.3.27.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 +} -- cgit v1.2.3-65-gdbad