Skip to content

Commit

Permalink
dev-ml/cppo: port to EAPI 7
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jan 24, 2021
1 parent b73ab62 commit 9fc16b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions dev-ml/cppo/cppo-1.4.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI=7

inherit findlib

Expand All @@ -21,9 +21,11 @@ DEPEND="${RDEPEND}"

src_install() {
findlib_src_preinst

mkdir -p "${ED}"/usr/bin
emake PREFIX="${ED}"/usr install
dodoc README.md Changes

if use examples ; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
Expand Down
6 changes: 4 additions & 2 deletions dev-ml/cppo/cppo-1.5.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI=7

inherit findlib

Expand All @@ -27,9 +27,11 @@ src_compile() {

src_install() {
findlib_src_preinst

mkdir -p "${ED}"/usr/bin
emake PREFIX="${ED}"/usr BEST="$(usex ocamlopt '.native' '.byte')" install
dodoc README.md Changes

if use examples ; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
Expand Down

0 comments on commit 9fc16b8

Please sign in to comment.