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 0155A138206 for ; Mon, 1 Aug 2016 13:05:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7866AE0B2A; Mon, 1 Aug 2016 13:05:52 +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 11653E0B2A for ; Mon, 1 Aug 2016 13:05:51 +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 CD3FF340E3F for ; Mon, 1 Aug 2016 13:05:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F0B27CD for ; Mon, 1 Aug 2016 13:05:47 +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: <1470056586.53ef549d34ff365c05660062933a5f5981aa41d3.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-3.7.3.ebuild X-VCS-Directories: dev-libs/gecode/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 53ef549d34ff365c05660062933a5f5981aa41d3 X-VCS-Branch: master Date: Mon, 1 Aug 2016 13:05:47 +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: 810b5239-2627-4fe5-acdb-c29aa7dea629 X-Archives-Hash: c9b92a49d846f8d47261f17547a2ecb3 commit: 53ef549d34ff365c05660062933a5f5981aa41d3 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Aug 1 13:03:06 2016 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Mon Aug 1 13:03:06 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ef549d Revert "dev-libs/gecode: remove old version 3.7.3 to fix QA warnings." This reverts commit 395d5ea72bceca3087e602683b43e279f5ca0b71. The dev-ruby/dep_selector package has a dependency on >=gecode3.5.0, but at the moment it can only be satisfied by gecode-3.x, so we need to leave v3.7.3 in the tree. There is an upstream pull request (#44) to support gecode 4.x. dev-libs/gecode/Manifest | 1 + dev-libs/gecode/gecode-3.7.3.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-libs/gecode/Manifest b/dev-libs/gecode/Manifest index bf4b19e..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-3.7.3.ebuild b/dev-libs/gecode/gecode-3.7.3.ebuild new file mode 100644 index 0000000..74c4418 --- /dev/null +++ b/dev-libs/gecode/gecode-3.7.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +DESCRIPTION="Gecode is an environment for developing constraint-based systems and 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" + +DEPEND="gist? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/freetype + media-libs/libpng + >=dev-libs/glib-2 +)" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + --disable-examples \ + $(use_enable gist qt) \ + $(use_enable gist) +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + default + + if use doc; then + dohtml -r doc/html/ + einfo "HTML documentation has been installed into " \ + "/usr/share/doc/${PF}/html" + fi + + if use examples; then + docinto examples + doins examples/*.cpp + einfo "Example C++ programs have been installed into " \ + "/usr/share/doc/${PF}/examples" + fi +}