summaryrefslogtreecommitdiff
blob: dfd59334994945ef415e0e7d6e14279e5a5b2359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic gap-pkg

DESCRIPTION="Collection of standard data structures for GAP"
SRC_URI="https://github.com/gap-packages/datastructures/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"

DEPEND="sci-mathematics/gap:="
RDEPEND="${DEPEND}"

DOCS=( CHANGES.md README.md )

gap-pkg_enable_tests

src_compile() {
	# https://github.com/gap-packages/datastructures/issues/151
	append-cflags -Wno-error=strict-prototypes
	gap-pkg_src_compile
}