diff options
author | 2020-10-24 09:45:26 +0200 | |
---|---|---|
committer | 2020-10-27 21:11:35 +0000 | |
commit | 746f4841bb0a4d09794e40556b794ff41106cd5d (patch) | |
tree | 4b582fd8e628a57bb1aa23516a7bfa16609e91f1 /net-misc/unison/unison-2.51.2-r1.ebuild | |
parent | net-misc/unison: bump to 2.51.3_p20201024 (diff) | |
download | gentoo-746f4841bb0a4d09794e40556b794ff41106cd5d.tar.gz gentoo-746f4841bb0a4d09794e40556b794ff41106cd5d.tar.bz2 gentoo-746f4841bb0a4d09794e40556b794ff41106cd5d.zip |
net-misc/unison: drop unison-2.51.2-r1
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/17989
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/unison/unison-2.51.2-r1.ebuild')
-rw-r--r-- | net-misc/unison/unison-2.51.2-r1.ebuild | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/net-misc/unison/unison-2.51.2-r1.ebuild b/net-misc/unison/unison-2.51.2-r1.ebuild deleted file mode 100644 index 9b7c3a033eca..000000000000 --- a/net-misc/unison/unison-2.51.2-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Two-way cross-platform file synchronizer" -HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/" -SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz - doc? ( - https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf - https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html - )" - -LICENSE="GPL-2" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" -IUSE="debug doc gtk +ocamlopt threads" - -# ocaml version so we are sure it has ocamlopt use flag -DEPEND="<dev-lang/ocaml-4.10.0:=[ocamlopt?] - gtk? ( dev-ml/lablgtk:2= )" - -RDEPEND="gtk? ( dev-ml/lablgtk:2= - || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) - >=app-eselect/eselect-unison-0.4" - -RESTRICT="!ocamlopt? ( strip )" -S="${WORKDIR}"/src - -PATCHES=( - "${FILESDIR}"/${PN}-2.51.2-ocaml-4.08.patch # https://bugs.gentoo.org/709646 -) - -DOCS=( BUGS.txt CONTRIB INSTALL NEWS README ROADMAP.txt TODO.txt ) - -src_compile() { - local myconf - - if use threads; then - myconf="$myconf THREADS=true" - fi - - if use debug; then - myconf="$myconf DEBUGGING=true" - fi - - if use gtk; then - myconf="$myconf UISTYLE=gtk2" - else - myconf="$myconf UISTYLE=text" - fi - - use ocamlopt || myconf="$myconf NATIVE=false" - - # Discard cflags as it will try to pass them to ocamlc... - emake $myconf CFLAGS="" buildexecutable -} - -src_test() { - emake selftest CFLAGS="" -} - -src_install() { - # install manually, since it's just too much - # work to force the Makefile to do the right thing. - local binname - 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 - einstalldocs -} - -pkg_postinst() { - elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}" - elog "in your profile files to access exactly this version over ssh." - elog "Or you can use 'eselect unison' to set the version." - eselect unison update -} |