summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-10-17 08:43:20 +0000
committerSam James <sam@gentoo.org>2020-10-17 08:43:20 +0000
commit8d942e2283a9cab3747101e8771816dab1d7fe37 (patch)
treebbd86191836a9d4215a5adb362e394cd5c245b05 /net-misc/unison
parentnet-misc/unison: cleanup redundant (diff)
downloadgentoo-8d942e2283a9cab3747101e8771816dab1d7fe37.tar.gz
gentoo-8d942e2283a9cab3747101e8771816dab1d7fe37.tar.bz2
gentoo-8d942e2283a9cab3747101e8771816dab1d7fe37.zip
net-misc/unison: tidying
* Don't install static libs * Drop dune.eclass (the support upstream is experimental) * ... so specify the OCaml dependency manually * Sort IUSE * Remove USE=doc for now (because no docs for the release candidate) Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/unison')
-rw-r--r--net-misc/unison/unison-2.51.3_rc2.ebuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/net-misc/unison/unison-2.51.3_rc2.ebuild b/net-misc/unison/unison-2.51.3_rc2.ebuild
index 8b53a7db107c..2f2b082f0f18 100644
--- a/net-misc/unison/unison-2.51.3_rc2.ebuild
+++ b/net-misc/unison/unison-2.51.3_rc2.ebuild
@@ -3,8 +3,6 @@
EAPI=7
-inherit dune
-
DESCRIPTION="Two-way cross-platform file synchronizer"
HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/"
SRC_URI="https://github.com/bcpierce00/unison/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -17,10 +15,12 @@ SRC_URI="https://github.com/bcpierce00/unison/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="GPL-2"
SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
-IUSE="gtk doc static debug threads +ocamlopt test"
-RESTRICT="!ocamlopt? ( strip ) !test? ( test )"
+IUSE="debug gtk threads +ocamlopt test"
+RESTRICT="!ocamlopt? ( strip )"
+RESTRICT+=" !test? ( test )"
# ocaml version so we are sure it has ocamlopt use flag
+BDEPEND="dev-lang/ocaml:=[ocamlopt?]"
DEPEND="gtk? ( dev-ml/lablgtk:2= )"
RDEPEND="
${DEPEND}
@@ -37,10 +37,6 @@ src_compile() {
myconf="$myconf THREADS=true"
fi
- if use static; then
- myconf="$myconf STATIC=true"
- fi
-
if use debug; then
myconf="$myconf DEBUGGING=true"
fi
@@ -69,10 +65,13 @@ src_install() {
for binname in unison unison-fsmonitor; do
newbin ${binname} ${binname}-${SLOT}
done
- if use doc; then
- DOCS+=( "${DISTDIR}/${P}-manual.pdf" )
- HTML_DOCS=( "${DISTDIR}/${P}-manual.html" )
- fi
+
+ # No docs for release candidates
+ #if use doc; then
+ # DOCS+=( "${DISTDIR}/${P}-manual.pdf" )
+ # HTML_DOCS=( "${DISTDIR}/${P}-manual.html" )
+ #fi
+
einstalldocs
}