1 |
commit: 9a31b29c748fd0d295818745a33c87c3cdfd404e |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 2 07:22:50 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 2 07:22:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a31b29c |
7 |
|
8 |
dev-ml/topkg: 1.0.5 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ml/topkg/Manifest | 1 + |
14 |
dev-ml/topkg/topkg-1.0.5.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/topkg/Manifest b/dev-ml/topkg/Manifest |
18 |
index ae0ad025d994..a5a2f2786db5 100644 |
19 |
--- a/dev-ml/topkg/Manifest |
20 |
+++ b/dev-ml/topkg/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST topkg-1.0.3.tar.gz 122302 BLAKE2B c3c583fe6d9c6602c9eeae6ba76f0b8e1eda754cb2ffed8f6a9b51eeea53a2d16ad0af5bf3bf1f257233481efd1e7fecfca7185773dcb4258f6a0a8195aaf61f SHA512 b4f3393b142c5c2d71bb4a25f5af020831bd48ad5c354b68cf5a2df2044b534024f0568da93ad26ca383c97ba4277b4878dba7ce9267146f3805c67f52950cbf |
23 |
+DIST topkg-1.0.5.tar.gz 123508 BLAKE2B b6090143659607fb65257adfc78f6c12782cf4cca99e5d997a2e324196cc19689b95b1412296feba410ce894d559e92d1f2c417ce46b441ad499a94264ffff99 SHA512 ea220df58ba3727281392b335377f9cea1cf1539ee86f2947faf1ccbcf36714fa40fbc06516867852d5992ca5840778467a02a0fe67369725da95eb442e4269a |
24 |
|
25 |
diff --git a/dev-ml/topkg/topkg-1.0.5.ebuild b/dev-ml/topkg/topkg-1.0.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..85e68779db2c |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/topkg/topkg-1.0.5.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit findlib |
37 |
+ |
38 |
+DESCRIPTION="The transitory OCaml software packager" |
39 |
+HOMEPAGE="http://erratique.ch/software/topkg https://github.com/dbuenzli/topkg" |
40 |
+SRC_URI="https://github.com/dbuenzli/topkg/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="ISC" |
43 |
+SLOT="0/${PV}" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
45 |
+IUSE="+ocamlopt" |
46 |
+ |
47 |
+RDEPEND="dev-ml/result:= |
48 |
+ dev-ml/ocamlbuild:= |
49 |
+ dev-ml/findlib:= |
50 |
+ dev-lang/ocaml:=[ocamlopt?]" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+src_compile() { |
54 |
+ ocaml pkg/pkg.ml build --pkg-name ${PN} || die |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ # Can't use opam-installer here as it is an opam dep... |
59 |
+ findlib_src_preinst |
60 |
+ |
61 |
+ local nativelibs |
62 |
+ if use ocamlopt; then |
63 |
+ nativelibs=$(echo _build/src/${PN}*.cm{x,xa,xs,ti} _build/src/${PN}.a) |
64 |
+ fi |
65 |
+ |
66 |
+ ocamlfind install ${PN} _build/pkg/META _build/src/${PN}.mli _build/src/${PN}.cm{a,i} ${nativelibs} || die |
67 |
+ dodoc CHANGES.md DEVEL.md README.md |
68 |
+} |