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 D91FA138206 for ; Mon, 1 Aug 2016 12:50:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B232021C04E; Mon, 1 Aug 2016 12:50:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3879E21C051 for ; Mon, 1 Aug 2016 12:50:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66EDA340AA7 for ; Mon, 1 Aug 2016 12:50:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C93F67CD for ; Mon, 1 Aug 2016 12:50:39 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1470055553.eac999d93c087c4e5981a7edb82d1a167772fdad.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gecode/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/gecode/Manifest dev-libs/gecode/gecode-4.4.0.ebuild dev-libs/gecode/metadata.xml X-VCS-Directories: dev-libs/gecode/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: eac999d93c087c4e5981a7edb82d1a167772fdad X-VCS-Branch: master Date: Mon, 1 Aug 2016 12:50:39 +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: d3b30237-4cbb-484e-a7bd-938ca60be570 X-Archives-Hash: 583b213a84708810b0c847f1968365c7 commit: eac999d93c087c4e5981a7edb82d1a167772fdad Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jul 31 23:05:12 2016 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Mon Aug 1 12:45:53 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eac999d9 dev-libs/gecode: new version 4.4.0. This version bump fixes at least two open bugs. The first simply asked for a version bump, and the second reported a failure when /bin/sh is dash (now fixed). Along with the new version, some ebuild cleanup was done. The ebuild is now EAPI=6, and the "gmp" USE flag was added to control building with float constraints. Three superfluous runtime dependencies (transitive through Qt) were removed, and two new build dependencies needed to generate the documentation were added. The src_test() phase has been re-enabled with an LD_LIBRARY hack to make sure that the test suite is run against the just-build libraries. Gentoo-Bug: 377091 Gentoo-bug: 527526 Gentoo-Bug: 567208 Package-Manager: portage-2.2.28 dev-libs/gecode/Manifest | 1 + dev-libs/gecode/gecode-4.4.0.ebuild | 70 +++++++++++++++++++++++++++++++++++++ dev-libs/gecode/metadata.xml | 6 ++++ 3 files changed, 77 insertions(+) diff --git a/dev-libs/gecode/Manifest b/dev-libs/gecode/Manifest index a9908f7..1c0230c 100644 --- a/dev-libs/gecode/Manifest +++ b/dev-libs/gecode/Manifest @@ -1 +1,2 @@ DIST gecode-3.7.3.tar.gz 1643336 SHA256 e7cc8bcc18b49195fef0544061bdd2e484a1240923e4e85fa39e8d6bb492854c SHA512 292bafeaca3911b8af40d7c0f425cf0263f4408afad47f4f229a821ce89d06dc69ad1feeeef72531a1e711d797d249581b67c2d9cfdc9e544240012c838d2a5b WHIRLPOOL 5aad39285c73e2d918fca98b694b33e00b11fcc21d542a37e23424acc381696f20826d6c28a33a5cde8fbfdfd4254d05791f2db903903306887e4c4fdecb7104 +DIST gecode-4.4.0.tar.gz 2889186 SHA256 b45783cc8d0d5dbbd3385a263a2199e6ad7f9a286e92607de81aa0c1105769cb SHA512 5189a3c5f9f34371a0bc94528e8ca65efb0a3078ec158887f47a816d6fe3c879a7e908ee421414bc317754333ecb73806c8fc46b0b6b7d8419cdf6f13a4f8aef WHIRLPOOL a01541d86883eadfcbb45eb7df486ac8d9fa4f656dede937625b00c8f47d1898e42d1fc6004b073392a179b895bc5181585b71693d47e88317a658eb3ecf3252 diff --git a/dev-libs/gecode/gecode-4.4.0.ebuild b/dev-libs/gecode/gecode-4.4.0.ebuild new file mode 100644 index 0000000..68b54f7 --- /dev/null +++ b/dev-libs/gecode/gecode-4.4.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="An environment for developing constraint-based applications" +SRC_URI="http://www.gecode.org/download/${P}.tar.gz" +HOMEPAGE="http://www.gecode.org/" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples gist gmp test" + +RDEPEND=" + gist? ( + || ( + ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) + ( dev-qt/qtcore:5 dev-qt/qtgui:5 ) + ) + ) + gmp? ( + || ( dev-libs/gmp:0 sci-libs/mpir ) + dev-libs/mpfr:0 + )" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + media-gfx/graphviz + )" + +src_configure() { + # --disable-examples prevents COMPILING the examples. + econf \ + --docdir="/usr/share/doc/${PF}" \ + --htmldir="/usr/share/doc/${PF}/html" \ + --disable-examples \ + $(use_enable doc doc-dot) \ + $(use_enable doc doc-tagfile) \ + $(use_enable gist qt) \ + $(use_enable gist) \ + $(use_enable gmp mpfr) +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + default + + # The --docdir and --htmldir that we pass to configure don't seem to + # be respected... + use doc && dodoc -r doc/html + + if use examples; then + # The build system supports "examples", but we want to install + # their source code, not the resulting binaries. + rm -f examples/CMakeLists.txt \ + || die 'failed to remove examples/CMakeLists.txt' + dodoc -r examples + fi +} + +src_test() { + LD_LIBRARY_PATH="${S}" emake test + LD_LIBRARY_PATH="${S}" ./test/test || die "test suite failed" +} diff --git a/dev-libs/gecode/metadata.xml b/dev-libs/gecode/metadata.xml index 06c0664..8d55768 100644 --- a/dev-libs/gecode/metadata.xml +++ b/dev-libs/gecode/metadata.xml @@ -7,4 +7,10 @@ Enable Gist, the Gecode Interactive Search Tool + + + Enable trigonometric and transcendental float + constraints + +