Skip to content

Commit

Permalink
dev-ml/mtime: rem dep on dev-ml/js_of_ocaml
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Mar 6, 2021
1 parent f2a2ccf commit 77d4617
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion dev-ml/mtime/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="project">
<email>[email protected]</email>
<name>ML</name>
</maintainer>
<upstream>
<remote-id type="github">dbuenzli/mtime</remote-id>
</upstream>
Expand Down
5 changes: 2 additions & 3 deletions dev-ml/mtime/mtime-1.1.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ SRC_URI="https://erratique.ch/software/mtime/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="javascript test"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="dev-lang/ocaml:=[ocamlopt]
javascript? ( dev-ml/js_of_ocaml:= )
"
DEPEND="${RDEPEND}
dev-ml/topkg
Expand All @@ -25,7 +24,7 @@ DEPEND="${RDEPEND}

src_compile() {
ocaml pkg/pkg.ml build \
--with-js_of_ocaml $(usex javascript true false) \
--with-js_of_ocaml false \
--tests $(usex test true false) \
|| die
}
Expand Down

0 comments on commit 77d4617

Please sign in to comment.