Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/aspcud/
Date: Thu, 28 Apr 2022 05:57:45
Message-Id: 1651125451.bfdf9a867de417ac0420fa82d12a2a87faa2fce4.Alessandro-Barbieri@gentoo
1 commit: bfdf9a867de417ac0420fa82d12a2a87faa2fce4
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Apr 28 05:57:10 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Apr 28 05:57:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfdf9a86
7
8 sci-mathematics/aspcud: new package, add 1.9.5
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 sci-mathematics/aspcud/Manifest | 1 +
13 sci-mathematics/aspcud/aspcud-1.9.5.ebuild | 37 ++++++++++++++++++++++++++++++
14 sci-mathematics/aspcud/metadata.xml | 12 ++++++++++
15 3 files changed, 50 insertions(+)
16
17 diff --git a/sci-mathematics/aspcud/Manifest b/sci-mathematics/aspcud/Manifest
18 new file mode 100644
19 index 000000000..129f7b224
20 --- /dev/null
21 +++ b/sci-mathematics/aspcud/Manifest
22 @@ -0,0 +1 @@
23 +DIST aspcud-1.9.5.tar.gz 70073941 BLAKE2B e2f02259a726d05a664e63836ab24d798b3ef96276c92caf00907df5ea3d08b9d5e992c3ffb2f8ad95864e4251e2adde596d6327e71e7ae33fabd515eaeafb13 SHA512 b6c85f7e67cbf8df8dd0ed4f8fd5f988e46bf3f9756e4cb8fadfae955ed70bc27279e8dddcfe8161543e5276a70d2103816fce8edebc240fef6b182841832106
24
25 diff --git a/sci-mathematics/aspcud/aspcud-1.9.5.ebuild b/sci-mathematics/aspcud/aspcud-1.9.5.ebuild
26 new file mode 100644
27 index 000000000..de5c531c7
28 --- /dev/null
29 +++ b/sci-mathematics/aspcud/aspcud-1.9.5.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit cmake optfeature
37 +
38 +DESCRIPTION="A solver for package problems in CUDF format"
39 +HOMEPAGE="
40 + https://github.com/potassco/aspcud
41 + https://potassco.org/aspcud/
42 +"
43 +SRC_URI="https://github.com/potassco/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="test"
49 +
50 +RDEPEND="dev-libs/boost:="
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="dev-util/re2c"
53 +
54 +RESTRICT="!test? ( test )"
55 +
56 +src_configure() {
57 + local mycmakeargs=(
58 + -DASPCUD_BUILD_TESTS=$(usex test)
59 +
60 + -DASPCUD_BUILD_STATIC=OFF
61 + )
62 + cmake_src_configure
63 +}
64 +
65 +pkg_postinst() {
66 + optfeature "dependencies needed at runtime" sci-mathematics/clasp sci-mathematics/clingo
67 +}
68
69 diff --git a/sci-mathematics/aspcud/metadata.xml b/sci-mathematics/aspcud/metadata.xml
70 new file mode 100644
71 index 000000000..76dc1e401
72 --- /dev/null
73 +++ b/sci-mathematics/aspcud/metadata.xml
74 @@ -0,0 +1,12 @@
75 +<?xml version="1.0" encoding="UTF-8"?>
76 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
77 +<pkgmetadata>
78 + <maintainer type="person">
79 + <email>lssndrbarbieri@×××××.com</email>
80 + <name>Alessandro Barbieri</name>
81 + </maintainer>
82 + <upstream>
83 + <bugs-to>https://github.com/potassco/aspcud/issues</bugs-to>
84 + <remote-id type="github">potassco/aspcud</remote-id>
85 + </upstream>
86 +</pkgmetadata>