diff options
author | Keri Harris <keri@gentoo.org> | 2017-01-10 09:21:52 +0100 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2017-01-10 09:21:52 +0100 |
commit | 11abb495fd75b273dc335fe33061ece86facd4c5 (patch) | |
tree | f9b8696fe93336436aaee1a9c31f01bb0621ac85 /dev-lang/swi-prolog | |
parent | app-emacs/magit: add 2.10.0 (diff) | |
download | gentoo-11abb495fd75b273dc335fe33061ece86facd4c5.tar.gz gentoo-11abb495fd75b273dc335fe33061ece86facd4c5.tar.bz2 gentoo-11abb495fd75b273dc335fe33061ece86facd4c5.zip |
dev-lang/swi-prolog: bump 7.3 development version
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r-- | dev-lang/swi-prolog/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-7.3.34.ebuild | 146 |
2 files changed, 148 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 26c03d49b88e..2b6bb3b43e2e 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -1,6 +1,8 @@ DIST pl-6.6.6.tar.gz 14838653 SHA256 9f80bb274e2f31fd68b0acbe35982c012d5f8311dbe44ec1d8d04351a776996d SHA512 a850b0f6b283d34aa77d5e9d8a0053161fa534fa6d8935c7472362ff7b59ea6035de0658d9e38c317e2d92ed810370f2adc3e92b6346fc0ff392d18f1c8012a6 WHIRLPOOL 448d844fe45aee97ad2e37bea3f81dd5eb388e1dcb9f1c4dc54c18991aa91d481bff5b70174fb06edb06c1361759621a570a083fe36d62bffdf6028c49244b2a DIST swi-prolog-6.6.6-gentoo-patchset-0.tar.gz 1590 SHA256 2b240d15562603120e0314bb69bde50089326c11876b7a62106c05f9d48ace71 SHA512 807c7e897dd5b9eef14e063ea53c03047f3acb23174a70a613258adf7f85dc1f7637158fde70aab2e0f40de4bc6ac5e3548dd09dbe3745d916a388f43eb832eb WHIRLPOOL 0a0dbc361cfbe343c8b3562a2c0535905eb1443eea0783b14f96bda43c04e8db6264f476c07da766c6936dc6088e34059f799a3244717390644bf0f5ae83018e DIST swi-prolog-7.2.3-gentoo-patchset-1.tar.gz 1875 SHA256 c11e48122dc468f21e08da4a65f5a2daa9e0ddbc2e186bbd952626c95b29db04 SHA512 3506f4168d52f7d3539cd753c5153750df8c3239b78ffac1784c634b585d5fb0c825700e77abc9c1f467af71473ae1861eef629ebdf76b7c783d276c393f40fc WHIRLPOOL 8b70ab91592280d0634c6c897771696c0c63d30680044994cedf69f18cd4f386adf833998e64d4ad892cff97300b5bbfaa8dec8448ea04ebaba7e31f7e9c30d0 +DIST swi-prolog-7.3.34-gentoo-patchset-0.tar.gz 361 SHA256 a3869d8e46c3fba8ea6e472436cd1b2a3b896322dffab647a48483e738742c2b SHA512 d5a09c17e53a510c5eeb1a8315d898255f325561ad6402660665906c668f414b9e18d7e554f6ecb5c7573393caef25e63dffe9a6aa901aaf039c7a8b1428c152 WHIRLPOOL fe1bd90a6219986738c403fd1406cd54e40054dd8f3d47aa9edc2a20b4ca19534dc2ef5f13d870c0187112db086d1d8b7645daeffead1042b5f0a0bf691d45f9 DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a6841399b8e76ee877f51d646b5 SHA512 da27a6b171d3b471401f1a91e86a4dbe98973d8a1db8c72aa27e452311d08b893b01a1de8f9f4dafcdac460774b4ea980050256d37284546941e1bdf84f8cd7b WHIRLPOOL de695c8e0317921dcc13898f7a3c88d1012e3f87f633cd25766ca5cb6637b29ca81b9245d015614089291a7d9abd0d8c7109ccae1df9297d78301d241cb258b3 DIST swipl-7.3.32.tar.gz 16569053 SHA256 932556e92946b3a05c0667914bd43039abd421fcb0cdb52f005cc20bde0a2c28 SHA512 1ecd3b3a438a230823e3e923fb52d370bb9b16a536a3e6c568a88f42fb85b9774c775c80acfeace26c3cc3997da60ad91ee318cc285fe2b251f2838ad782e790 WHIRLPOOL b5248f59584f7094a73c086e730ab0f09c9aed12d45f21cc48ca9bee36c515199377687c1a0fb2feaeaa1c301deada4118e268e012a6d5e6bd1f76e691a48102 DIST swipl-7.3.33.tar.gz 16559427 SHA256 23692f5faf5b687973aa99b6f6555922834396da19eda95afe10027ccf6680f4 SHA512 c8c2c80988a0773a552a9278c2452e42e9ab1163a827a32baf09cdb1022057162c46d4f395ba13fef6bb5b118f8d256b024a1e076e5998eabe910a3ce468385e WHIRLPOOL b2f922f616111010d9032eb467197d7dc7ba2714a5c324d4adf5670e2ac9c3b33bbfeecfcafa858ab4a50d8a36bec013f15913f1c8f3622dccf93d33059bef4e +DIST swipl-7.3.34.tar.gz 16667813 SHA256 49eb675b0d97d86df0b7ab071ca5ec04211dcffe976e347efb65832f2ef97c75 SHA512 5df1d93044e33b368f292dad045ef05b09d1c9db1b52ffc139e383bb15bf1395defaef672144d5493cefc9c21245b22777b7fc954cedb9882aebc4b527280e9e WHIRLPOOL 72ff7c78988995f6e022e9787599117ed026926a38ff60bbcdad71af395e15018b5c6bc309383e5ffd591ca793bc87a71abf0c5ffbc0a3d9df22c3b200f8dea2 diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.34.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.34.ebuild new file mode 100644 index 000000000000..974bc533929b --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-7.3.34.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2017 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 + mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.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 +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 +} |