mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-ml/ounit: treeclean
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST ounit-2.2.6.tbz 58186 BLAKE2B 6d6305eebef450968dc0a87c01f0a591faa855cc829fd130783c1b3d1b0546e2a9e167be397314ed69bceb7afea222551940cbb60e502bb04635a7a4273ba8af SHA512 d7cb36a1fe245d02afab606cd1ee755a178ee4cb18fbbfec1df32baa88fa90ef6c9a50d9fd5bde46c7fd9c481f2debe4bafac75c4e3bdfbdb63fc18b0ccce3cc
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="lwt">This library contains helper functions for building Lwt tests using OUnit</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit dune findlib multiprocessing
|
||||
|
||||
DESCRIPTION="Unit testing framework for OCaml"
|
||||
HOMEPAGE="https://github.com/gildor478/ounit"
|
||||
SRC_URI="https://github.com/gildor478/ounit/releases/download/v${PV}/${P}.tbz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="lwt ocamlopt"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/base-bytes:=
|
||||
dev-ml/base-unix:=
|
||||
dev-ml/seq:=
|
||||
dev-ml/stdlib-shims:=
|
||||
|
||||
lwt? ( dev-ml/lwt:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local pkgs="ounit"
|
||||
use lwt && pkgs="${pkgs},ounit-lwt"
|
||||
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install ounit
|
||||
use lwt && dune_src_install ounit-lwt
|
||||
}
|
||||
Reference in New Issue
Block a user