From: Keri Harris Date: Tue, 1 Sep 2015 08:21:58 +0000 (+0200) Subject: dev-lang/swi-prolog: bump 7.3 development version X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3de1cf3367aaaf18dc422398ed90146ce8249344;p=gentoo.git dev-lang/swi-prolog: bump 7.3 development version Package-Manager: portage-2.2.20.1 --- diff --git a/dev-lang/swi-prolog/Manifest b/dev-lang/swi-prolog/Manifest index 4612eb80f3c7..9946e9d6df56 100644 --- a/dev-lang/swi-prolog/Manifest +++ b/dev-lang/swi-prolog/Manifest @@ -7,6 +7,7 @@ DIST swi-prolog-7.3.2-gentoo-patchset-0.tar.gz 1628 SHA256 0c019e7bb12d6c81aab94 DIST swi-prolog-7.3.3-gentoo-patchset-0.tar.gz 1401 SHA256 d8c65ac2c3f7b6681d270741d23e56c30ecc249199efff385cbf20daa94f56c9 SHA512 55c9d84a1bf16720c32488a73b0250a426ce1d4f17853051a939a217a24126bf357bbc9407a8ce7537656b9848f09409e709116d158272c25b4e95cf4ced6c90 WHIRLPOOL bc21bca3e9943946838afb9961fe45f1b12b92a79a92f34eaf46e1d6aaef43c35cb0f1acf7145225aca8b3b975ff59ace289990fb4012bdb7ef93afe59af6c58 DIST swi-prolog-7.3.4-gentoo-patchset-0.tar.gz 1415 SHA256 bd1c8717d7d1022a27c6ececb7037c69b816924dcda42132edb8b044cf3f6c07 SHA512 82a8af01325997a6a6f2d517d94040c1f706356f8404b9a4e002fe1df0293b5bcd374aaa3897997e148d2520c2ce7a970e270c5c84520142c7b404689e0cff32 WHIRLPOOL 322770dca3eed47d33025affe86336c060b446f3686055cb0b75c3deb13505a7fecdecad7d0752f2a34813098c6f838bf277bd34da850ad26492763aa3fa5bee DIST swi-prolog-7.3.5-gentoo-patchset-0.tar.gz 1418 SHA256 578af69e8219375bd91959d83363d748d10354e9b7f8025d2229e2c894d148ac SHA512 ec16f0fb8f4c04d3c80547dd385fe8dabe98030f017dffd4ebf76ca2fcae8c564ba95ca3706d5bd2df9a00766fcad99dd0797b72af21dba84ad40b030d13c088 WHIRLPOOL 2b0acc37ba216fdc24a43834d0e26c20f5888c51a8d97b4f3379d7906ecc40f63c7dec45a3321430ca12fec195d9e08d7fd6017415ff7845e2299adce9da502f +DIST swi-prolog-7.3.6-gentoo-patchset-0.tar.gz 1426 SHA256 e5de1588a2bbb225e78e4494856d2dc3987592bd76abdbe4c8af0a71458eb1d0 SHA512 e0d05aaabd335be1401d2558f8fe176053449e6b5823bcf407a1073f255c019cc869747e3f02627eab9641aadf0de421a945ad9c3a4edca2263590099f4cc972 WHIRLPOOL a878ac0bacd685657bf526cd6ff0bfbe09cf5ac50499b6e4313f1020ae10d7958502eddd5c84c752fdcf2995106ff635e5c4c0087e10f1c3718d262aecd91b0c DIST swipl-7.2.0.tar.gz 16211509 SHA256 801423b8293d08b96b575ffa96d91cce3acf2473f04c23d58657dd668287f8cb SHA512 94c89e7f76ff545821e2e984a630d37863f305fe71f0cc79a3fd4e41e1b69f4a74f924a4f429d054480b2dd030ceba5fc65fefb75933cf19aeb18c0a03863bf6 WHIRLPOOL 815d1a900a501ad8d9cb843bd42bf1756f1d5c70d994637960c7849140b3ab414b26da06c85998870027ec27678050a68d3480bb81ed23978be9e10e7920e631 DIST swipl-7.2.1.tar.gz 16175699 SHA256 f81bd713c5a7544f9b2af694cc0e74aaaf7a70e0a67203caab6ee9493e1dd01f SHA512 514d89963a7b6cae2e33cb01a2b67cb7ec6fd0dbfa7010608b87a3207626f04cd57ce71f816d10be9ac0266d0f2d243f773fc0bd46b37caf04fc2435748d96be WHIRLPOOL ba396ec4465d9ebdf14efea44fa958d655c87b14af201421a6ac88db17bb46391129f0a9ce9a29229457b0f940892a126f6ee55285dbf0ba9395ed01066585ff DIST swipl-7.2.2.tar.gz 16179490 SHA256 c137bbe1d652a6aaa003278045e592637cd9fd5f1d52b05f9f0751bfd9449c8d SHA512 b25ed01e49628d9b463acd0e3687eaef0e3f74e8f834a1442e66913fabf948ae6f6d662c21e3cbb1ca5793ceb96701be31c3b1d2d3a0a9694ea4706f9a64939e WHIRLPOOL 1309284a4d610cb37196aca678d4823bba384ba04a84ef1212c3580bad40da3359fbe4035a13cbfdd21a4eca75df2b8a3c398a1da9061a71ba8da8276c2b17dd @@ -14,3 +15,4 @@ DIST swipl-7.3.2.tar.gz 16172495 SHA256 8d8a503b1f36a8635afb7614219d64f4a2f43052 DIST swipl-7.3.3.tar.gz 16178897 SHA256 fbdb14d4b780f210feb9a3656fb8fabcc2f8aa95d172b1cf2847189e2bd7df6f SHA512 bfe66e0bf12f9c0e044f5af6feccc1b26bde43e0e182f8252e8ec6be09eae96dfc9f1b0517149a1539fd76920f797017ab9550545578edfa3f6d7db4e823801d WHIRLPOOL b307d3c8b6a25216b1411c1bea2e1f3e6fa509cd911496efd0bae473be88df4f0ae5e1929cf3dded01e34583536ecae11806ea5be69e5383f1ef74178eb5761d DIST swipl-7.3.4.tar.gz 16179711 SHA256 6be554bc594783fe72d146cc248d64bc59aebc3195ce3bc0613eeabd048d9779 SHA512 09f0f6494a5a0b97433055f61305c602d43b2184b1213db6af55414e9b320a3e745b8838fc4262b217ae1ce9bd03fcc74616d23a80a10389000ba4779e861440 WHIRLPOOL 904ff7e47d8b8283cc7309fb68473f8522d25c05855999b30b3b0a93e75dfe1fb2a1a6cc418d2b454ee495bbee7dfe90638af94b92bd9161657152c72cba7c06 DIST swipl-7.3.5.tar.gz 16185426 SHA256 e8dd7cf6077dabc6cbefe2087fec36f5219d84ac15c9b8ee89db4dcc17edd91f SHA512 0da707a44907cc152a42f45eb9370622826c3b840c774a976716ae032d1f411b0ac783e28eb9789b55d069921f5186c901b05686f14122cd6741972d4754fdde WHIRLPOOL 6b9e2822d91021c3223ddd0c21ed0c8621df405314c8b995d88a6f235cfc25633eb34605c61f1fd10ed2b29c44a6929b6503cc4d09c72c1fcd65dd41f77ecaa2 +DIST swipl-7.3.6.tar.gz 16188830 SHA256 cb3e0ebccfeda043e32a3706aa0304c9ecdef9da0bf762f27ad9acbabcdb3a08 SHA512 9036edd5704fcd40c2c50a7fa93871bea44ffc98a3707bed8c0b0355648630ffdfeea6ed33a73057eb0c741fb73db2daf24d64f471566e3ca35a24c2c6a1b996 WHIRLPOOL efa48bfbce96ad3907f686a13ca159322cc0554e7c20f56c54250ea774f75a4937d230bb365252242f76bb692c35b2e7a2fa27fd9caa6a75f8bda4b42a51538d diff --git a/dev-lang/swi-prolog/swi-prolog-7.3.6.ebuild b/dev-lang/swi-prolog/swi-prolog-7.3.6.ebuild new file mode 100644 index 000000000000..fbf2c6937c81 --- /dev/null +++ b/dev-lang/swi-prolog/swi-prolog-7.3.6.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="archive debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X" + +RDEPEND="sys-libs/ncurses + archive? ( app-arch/libarchive ) + zlib? ( sys-libs/zlib ) + odbc? ( dev-db/unixODBC ) + readline? ( sys-libs/readline ) + gmp? ( dev-libs/gmp ) + ssl? ( dev-libs/openssl ) + java? ( >=virtual/jdk-1.5 ) + X? ( + virtual/jpeg + 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 + epatch "${WORKDIR}"/${PV} + + # 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 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 + cd "${S}/packages" || die + emake check + ./report-failed || die "Cannot report failed packages" + 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 VERSION +}