From bfdf9a867de417ac0420fa82d12a2a87faa2fce4 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 28 Apr 2022 07:57:10 +0200 Subject: [PATCH] sci-mathematics/aspcud: new package, add 1.9.5 Signed-off-by: Alessandro Barbieri --- sci-mathematics/aspcud/Manifest | 1 + sci-mathematics/aspcud/aspcud-1.9.5.ebuild | 37 ++++++++++++++++++++++ sci-mathematics/aspcud/metadata.xml | 12 +++++++ 3 files changed, 50 insertions(+) create mode 100644 sci-mathematics/aspcud/Manifest create mode 100644 sci-mathematics/aspcud/aspcud-1.9.5.ebuild create mode 100644 sci-mathematics/aspcud/metadata.xml diff --git a/sci-mathematics/aspcud/Manifest b/sci-mathematics/aspcud/Manifest new file mode 100644 index 0000000000..129f7b2243 --- /dev/null +++ b/sci-mathematics/aspcud/Manifest @@ -0,0 +1 @@ +DIST aspcud-1.9.5.tar.gz 70073941 BLAKE2B e2f02259a726d05a664e63836ab24d798b3ef96276c92caf00907df5ea3d08b9d5e992c3ffb2f8ad95864e4251e2adde596d6327e71e7ae33fabd515eaeafb13 SHA512 b6c85f7e67cbf8df8dd0ed4f8fd5f988e46bf3f9756e4cb8fadfae955ed70bc27279e8dddcfe8161543e5276a70d2103816fce8edebc240fef6b182841832106 diff --git a/sci-mathematics/aspcud/aspcud-1.9.5.ebuild b/sci-mathematics/aspcud/aspcud-1.9.5.ebuild new file mode 100644 index 0000000000..de5c531c70 --- /dev/null +++ b/sci-mathematics/aspcud/aspcud-1.9.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature + +DESCRIPTION="A solver for package problems in CUDF format" +HOMEPAGE=" + https://github.com/potassco/aspcud + https://potassco.org/aspcud/ +" +SRC_URI="https://github.com/potassco/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-libs/boost:=" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/re2c" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DASPCUD_BUILD_TESTS=$(usex test) + + -DASPCUD_BUILD_STATIC=OFF + ) + cmake_src_configure +} + +pkg_postinst() { + optfeature "dependencies needed at runtime" sci-mathematics/clasp sci-mathematics/clingo +} diff --git a/sci-mathematics/aspcud/metadata.xml b/sci-mathematics/aspcud/metadata.xml new file mode 100644 index 0000000000..76dc1e4014 --- /dev/null +++ b/sci-mathematics/aspcud/metadata.xml @@ -0,0 +1,12 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/potassco/aspcud/issues + potassco/aspcud + +