Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlbuild/, dev-ml/ocamlbuild/files/
Date: Tue, 03 May 2016 10:43:23
Message-Id: 1462272050.f501e896354b393a6985e90e46732196741a11b2.aballier@gentoo
1 commit: f501e896354b393a6985e90e46732196741a11b2
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 10:38:38 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 10:40:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f501e896
7
8 dev-ml/ocamlbuild: remove old
9
10 Package-Manager: portage-2.2.28
11
12 dev-ml/ocamlbuild/Manifest | 1 -
13 dev-ml/ocamlbuild/files/installbin.patch | 13 ----------
14 dev-ml/ocamlbuild/ocamlbuild-0.9.1.ebuild | 40 -------------------------------
15 3 files changed, 54 deletions(-)
16
17 diff --git a/dev-ml/ocamlbuild/Manifest b/dev-ml/ocamlbuild/Manifest
18 index d7ccb43..ad244e5 100644
19 --- a/dev-ml/ocamlbuild/Manifest
20 +++ b/dev-ml/ocamlbuild/Manifest
21 @@ -1,2 +1 @@
22 -DIST ocamlbuild-0.9.1.tar.gz 160896 SHA256 7a31fde2d863768372851665e3ce64064c35e38d2b2f3cbd060a6df426f16ee8 SHA512 07da313f896fd31fab42881515f33544a587f831aa0928540af2351bf8d59b14115a144b17d156cb2599ce5d568684192a922f9f85f86ddd7299b8e194fd85c6 WHIRLPOOL f28e3ce19371dc26d6992035e47a72cb82adde2869dd5188a8ea0ed6aee481633e0ada4ec28428a2f58e51582f60c3a486066d0f7e09dda4e8c374f977f420a8
23 DIST ocamlbuild-0.9.2.tar.gz 163014 SHA256 257a3961da1aa47deb3de8da238ebe1daf13a73efef2228f97a064a90f91c6bc SHA512 6f6fa2ca0030256b61a9f93275f26327a032594a1ddd288e1eb9f4c41dfc139e4cdb6cd66ae8e383dd2f8aabb435181abfbf6b4aa0892ef6fa420c29e33b391a WHIRLPOOL 4b1285a3177787c9d4d1e4581dec4079a1144568512c8871b2ed9436bea941c9447130af616c418d7c18157f0818de26f6344635c7e63e4ec13acaa5229cf77a
24
25 diff --git a/dev-ml/ocamlbuild/files/installbin.patch b/dev-ml/ocamlbuild/files/installbin.patch
26 deleted file mode 100644
27 index e7bd2cf..0000000
28 --- a/dev-ml/ocamlbuild/files/installbin.patch
29 +++ /dev/null
30 @@ -1,13 +0,0 @@
31 -Index: ocamlbuild-0.9.1/Makefile
32 -===================================================================
33 ---- ocamlbuild-0.9.1.orig/Makefile
34 -+++ ocamlbuild-0.9.1/Makefile
35 -@@ -202,7 +202,7 @@ beforedepend:: src/ocamlbuild_config.ml
36 - install-bin-byte:
37 - mkdir -p $(INSTALL_BINDIR)
38 - $(CP) ocamlbuild.byte $(INSTALL_BINDIR)/ocamlbuild.byte$(EXE)
39 --ifeq ($(OCAML_NATIVE), true)
40 -+ifneq ($(OCAML_NATIVE), true)
41 - $(CP) ocamlbuild.byte $(INSTALL_BINDIR)/ocamlbuild$(EXE)
42 - endif
43 -
44
45 diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.9.1.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.9.1.ebuild
46 deleted file mode 100644
47 index 354981b..0000000
48 --- a/dev-ml/ocamlbuild/ocamlbuild-0.9.1.ebuild
49 +++ /dev/null
50 @@ -1,40 +0,0 @@
51 -# Copyright 1999-2016 Gentoo Foundation
52 -# Distributed under the terms of the GNU General Public License v2
53 -# $Id$
54 -
55 -EAPI=5
56 -
57 -inherit eutils
58 -
59 -DESCRIPTION="OCamlbuild"
60 -HOMEPAGE="https://github.com/ocaml/ocamlbuild"
61 -SRC_URI="https://github.com/ocaml/ocamlbuild/archive/${PV}.tar.gz -> ${P}.tar.gz"
62 -
63 -LICENSE="LGPL-2.1-with-linking-exception"
64 -SLOT="0/${PV}"
65 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
66 -IUSE="+ocamlopt"
67 -
68 -DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]"
69 -RDEPEND="${DEPEND}
70 - !<dev-ml/findlib-1.6.1-r1
71 -"
72 -
73 -src_prepare() {
74 - epatch "${FILESDIR}/installbin.patch"
75 -}
76 -
77 -src_configure() {
78 - emake -f configure.make Makefile.config \
79 - PREFIX="${EPREFIX}/usr" \
80 - BINDIR="${EPREFIX}/usr/bin" \
81 - LIBDIR="$(ocamlc -where)" \
82 - OCAML_NATIVE=$(usex ocamlopt true false) \
83 - OCAML_NATIVE_TOOLS=$(usex ocamlopt true false) \
84 - NATDYNLINK=$(usex ocamlopt true false)
85 -}
86 -
87 -src_install() {
88 - emake CHECK_IF_PREINSTALLED=false DESTDIR="${D}" install
89 - dodoc Changes
90 -}