summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2016-11-29 12:41:45 +0100
committerKeri Harris <keri@gentoo.org>2016-11-29 12:41:45 +0100
commit37961a124e1a1dbd07f629eea3810e8785780d33 (patch)
treecd01d97e1e92486a850d155f8d482318d6219541 /dev-lang
parentwww-apps/mediawiki: x86 stable wrt bug #600190 (diff)
downloadgentoo-37961a124e1a1dbd07f629eea3810e8785780d33.tar.gz
gentoo-37961a124e1a1dbd07f629eea3810e8785780d33.tar.bz2
gentoo-37961a124e1a1dbd07f629eea3810e8785780d33.zip
dev-lang/swi-prolog: bump 7.3 development version
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/swi-prolog/Manifest1
-rw-r--r--dev-lang/swi-prolog/swi-prolog-7.3.31.ebuild143
2 files changed, 144 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest
index 5e9d23a13f07..6c4e7aa2d415 100644
--- a/dev-lang/swi-prolog/Manifest
+++ b/dev-lang/swi-prolog/Manifest
@@ -6,3 +6,4 @@ DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a68
DIST swipl-7.3.28.tar.gz 16560583 SHA256 dc517d2acff270cdf94d1214934dfb467e66682665d97a39053485eff9540704 SHA512 7c7342a74ee9dd796ec67a170b29293bc70ac4d19ddb6d97949905837932e7709ca3dfaf0b20153c348c61bf0c5142843a258e778ffad9a236625e43a442a2a2 WHIRLPOOL 34800420f3b7349b686117c250c772c92253993d7a5c39af2b51e8a2156c5b172c09238b4248846e305c857fcc57f82d2297889609b893c820389de37f6243d4
DIST swipl-7.3.29.tar.gz 16557791 SHA256 c0eaa072790604cc636c36fd007bc1bdf214c6ac2f7617023f22f0c08f6a3035 SHA512 e61bed0cd4b4d50a3fb8e15a6e268f3bc8d68ea509705a4201a4f1267362988e0b3998a0e14c519337a1f17ae586accea6f998c411c8bd39b45d27fb654ca7ac WHIRLPOOL e4ca383ee238f9c4b1e4bc2d8109127e753554a27ad855f294d76533446c2757fc2e053038b1664d67c43f9659834e7903fecfed56347f70690285ea90f53a2a
DIST swipl-7.3.30.tar.gz 16556898 SHA256 6cbb1451466f449cf06c6855300b3b5f179e474a5dddf0e2531c456316496cec SHA512 fc15774a72b1d0040d5e135646c217379b4813e3a3cfebc616468e29f791c292cdb6541e7e96306a02f7efb1aee48d8ffc3f1d573aa07661383c99e6401dec1a WHIRLPOOL 81d20aee79fd3a7a53325c03e76bda72eec9bc170df855f4c73e2c2493cfbce8d41cd264f1f3624685b5aa630ba1d8481f1d2cd6876e289f92bf5f310a266bfd
+DIST swipl-7.3.31.tar.gz 16562182 SHA256 a19f81c739fcf4b850d1580ffed09b3f2b63fbf03c77d9f9b90709ca2607c64f SHA512 cdf607b57eaaa809542815189ecfb4ed9e40bbe5f6dd7c436d33d51e289632188361e102ec28303e747b7ad1e313ea22e2f2f0f79806980906ec4e8098b3683e WHIRLPOOL 146e3275870a209d35e15d771509964cfaf07dc3bcb3132460a3e76590c7999ab8a31961949e86eb53caccff5e2620da271344c8b9f0b7741a52db22d2caf957
diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.31.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.31.ebuild
new file mode 100644
index 000000000000..f212c56f28a3
--- /dev/null
+++ b/dev-lang/swi-prolog/swi-prolog-7.3.31.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
+}