commit:     bfdf9a867de417ac0420fa82d12a2a87faa2fce4
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr 28 05:57:10 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Apr 28 05:57:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfdf9a86

sci-mathematics/aspcud: new package, add 1.9.5

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 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(+)

diff --git a/sci-mathematics/aspcud/Manifest b/sci-mathematics/aspcud/Manifest
new file mode 100644
index 000000000..129f7b224
--- /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 000000000..de5c531c7
--- /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 000000000..76dc1e401
--- /dev/null
+++ b/sci-mathematics/aspcud/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>lssndrbarbi...@gmail.com</email>
+               <name>Alessandro Barbieri</name>
+       </maintainer>
+       <upstream>
+               <bugs-to>https://github.com/potassco/aspcud/issues</bugs-to>
+               <remote-id type="github">potassco/aspcud</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to