aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-13 20:48:08 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-13 20:48:08 +0100
commit797051711546e9570ea16125b7dbb3701444a849 (patch)
treea996575a252e21eb30b16b84c963f9e309883369 /dev-libs
parentdev-util/waf: new builder for dev-libs/tut (diff)
downloadsci-797051711546e9570ea16125b7dbb3701444a849.tar.gz
sci-797051711546e9570ea16125b7dbb3701444a849.tar.bz2
sci-797051711546e9570ea16125b7dbb3701444a849.zip
dev-libs/tut: add missing dep of sci-physics/quinoa
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/tut/Manifest1
-rw-r--r--dev-libs/tut/metadata.xml8
-rw-r--r--dev-libs/tut/tut-0_p20200320.ebuild50
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/tut/Manifest b/dev-libs/tut/Manifest
new file mode 100644
index 000000000..30c2a9334
--- /dev/null
+++ b/dev-libs/tut/Manifest
@@ -0,0 +1 @@
+DIST tut-0_p20200320.tar.gz 262793 BLAKE2B fb8d16a7ca099dda88d300fb2521affb59fc7c84d52ba3a278cbd573621f1b922a3330097bd756844841582d6d0b5d76d8c90529e6f18a3020cd4ae0655e4591 SHA512 54b34519c90d8ab5e8264572c43245122d8c0f9d41a8acf86ad29f2cd4f35bf481b00f3aaedd922febd79b6da148fd90bb9d1521a148e7a7d6d01204805df1fb
diff --git a/dev-libs/tut/metadata.xml b/dev-libs/tut/metadata.xml
new file mode 100644
index 000000000..026cdb22b
--- /dev/null
+++ b/dev-libs/tut/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/tut/tut-0_p20200320.ebuild b/dev-libs/tut/tut-0_p20200320.ebuild
new file mode 100644
index 000000000..51182323f
--- /dev/null
+++ b/dev-libs/tut/tut-0_p20200320.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3{7,8,9} )
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="doc/webgen"
+DOCS_DEPEND="media-gfx/graphviz"
+
+inherit docs
+
+COMMIT="a8e49ef56dc8be5256b5305ec6702d50c5b36c09"
+
+DESCRIPTION="C++ Template Unit Test Framework"
+HOMEPAGE="https://mrzechonek.github.io/tut-framework/"
+SRC_URI="https://github.com/mrzechonek/tut-framework/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="examples"
+
+S="${WORKDIR}/${PN}-framework-${COMMIT}"
+
+BDEPEND="dev-util/waf"
+
+src_configure() {
+ waf configure || die "waf configure failed"
+}
+
+src_compile() {
+ waf build || die "waf compile failed"
+ docs_compile
+}
+
+src_install() {
+ default
+ # install function does not work for some reason
+ #waf install || die "waf install failed"
+ cp -r build/* . || die
+
+ doheader -r include/*
+
+ if use examples ; then
+ dodoc -r example
+ fi
+}