diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-21 05:40:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-21 05:40:28 +0000 |
commit | b08574f4102ea8282627f075758d981eb4ba6c56 (patch) | |
tree | e9089d8d349367b6fec26823430ba5754a23e558 /dev-gap/digraphs/digraphs-1.6.3-r2.ebuild | |
parent | 3fe8d2707d7ce24cce8f5d7eaa16b0b68cbaa2a4 (diff) |
gentoo auto-resync : 21:02:2024 - 05:40:28
Diffstat (limited to 'dev-gap/digraphs/digraphs-1.6.3-r2.ebuild')
-rw-r--r-- | dev-gap/digraphs/digraphs-1.6.3-r2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-gap/digraphs/digraphs-1.6.3-r2.ebuild b/dev-gap/digraphs/digraphs-1.6.3-r2.ebuild new file mode 100644 index 000000000000..d252ee88188e --- /dev/null +++ b/dev-gap/digraphs/digraphs-1.6.3-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic gap-pkg + +DESCRIPTION="Graphs, digraphs, and multidigraphs in GAP" +SLOT="0" +SRC_URI="https://github.com/digraphs/Digraphs/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3+" +KEYWORDS="~amd64" + +DEPEND="sci-mathematics/gap:= + sci-mathematics/planarity + sci-libs/bliss:=" +RDEPEND="${DEPEND} + dev-gap/io + dev-gap/orb + dev-gap/datastructures" + +DOCS=( CHANGELOG.md README.md ) + +GAP_PKG_EXTRA_INSTALL=( data notebooks ) +gap-pkg_enable_tests + +src_prepare() { + default + + # Fix the build with pathological CFLAGS + eautoreconf +} + +src_configure() { + # https://github.com/digraphs/Digraphs/issues/596 + append-cflags -Wno-error=strict-prototypes + + gap-pkg_econf \ + --with-external-planarity \ + --with-external-bliss +} |