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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3968158090 for ; Fri, 29 Apr 2022 01:48:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 277F9E0821; Fri, 29 Apr 2022 01:48:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 072E4E0828 for ; Fri, 29 Apr 2022 01:48:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C58434190D for ; Fri, 29 Apr 2022 01:48:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48748439 for ; Fri, 29 Apr 2022 01:48:01 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1651196879.7c4164af890c6603c423341d38dd3d2da5746600.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/aspcud/, sci-mathematics/aspcud/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-mathematics/aspcud/aspcud-1.9.5.ebuild sci-mathematics/aspcud/files/aspcud X-VCS-Directories: sci-mathematics/aspcud/files/ sci-mathematics/aspcud/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 7c4164af890c6603c423341d38dd3d2da5746600 X-VCS-Branch: dev Date: Fri, 29 Apr 2022 01:48:01 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0ef8de8b-a841-49b5-8fdb-519e4a4d7cb6 X-Archives-Hash: 868a61a66623d5fb0bf30bc99ddc4d92 commit: 7c4164af890c6603c423341d38dd3d2da5746600 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Apr 29 01:11:11 2022 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Fri Apr 29 01:47:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c4164af sci-mathematics/aspcud: add cudf solvers file from debian Signed-off-by: Alessandro Barbieri gmail.com> sci-mathematics/aspcud/aspcud-1.9.5.ebuild | 14 ++++++++++---- sci-mathematics/aspcud/files/aspcud | 3 +++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/sci-mathematics/aspcud/aspcud-1.9.5.ebuild b/sci-mathematics/aspcud/aspcud-1.9.5.ebuild index de5c531c7..8a7ef419d 100644 --- a/sci-mathematics/aspcud/aspcud-1.9.5.ebuild +++ b/sci-mathematics/aspcud/aspcud-1.9.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake optfeature +inherit cmake DESCRIPTION="A solver for package problems in CUDF format" HOMEPAGE=" @@ -18,7 +18,11 @@ KEYWORDS="~amd64" IUSE="test" RDEPEND="dev-libs/boost:=" -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + sci-mathematics/clasp + sci-mathematics/clingo +" BDEPEND="dev-util/re2c" RESTRICT="!test? ( test )" @@ -32,6 +36,8 @@ src_configure() { cmake_src_configure } -pkg_postinst() { - optfeature "dependencies needed at runtime" sci-mathematics/clasp sci-mathematics/clingo +src_install() { + cmake_src_install + insinto /usr/share/cudf/solvers/ + doins "${FILESDIR}/aspcud" } diff --git a/sci-mathematics/aspcud/files/aspcud b/sci-mathematics/aspcud/files/aspcud new file mode 100644 index 000000000..7bd867cdf --- /dev/null +++ b/sci-mathematics/aspcud/files/aspcud @@ -0,0 +1,3 @@ +description: CUDF solver based on the Answer Set Programming tools clasp and gringo +exec: /usr/bin/aspcud "$in" "$out" "$pref" +cudf-version: 2.0