summaryrefslogtreecommitdiff
path: root/dev-ml/topkg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-23 12:55:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-23 12:55:08 +0000
commit47bb4031ea0e98a9423d423f2181c0e3d06f256b (patch)
tree6a54fb70ac916b8ae725d002ac4a71386c8b6e2f /dev-ml/topkg
parent9a1d1c6b10a4640cea10e7040ed173cf593f4cab (diff)
gentoo auto-resync : 23:01:2023 - 12:55:07
Diffstat (limited to 'dev-ml/topkg')
-rw-r--r--dev-ml/topkg/Manifest2
-rw-r--r--dev-ml/topkg/topkg-1.0.7.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ml/topkg/Manifest b/dev-ml/topkg/Manifest
index 52c28a4d0bc2..1f75d4792954 100644
--- a/dev-ml/topkg/Manifest
+++ b/dev-ml/topkg/Manifest
@@ -1,7 +1,9 @@
DIST topkg-1.0.3.tar.gz 122302 BLAKE2B c3c583fe6d9c6602c9eeae6ba76f0b8e1eda754cb2ffed8f6a9b51eeea53a2d16ad0af5bf3bf1f257233481efd1e7fecfca7185773dcb4258f6a0a8195aaf61f SHA512 b4f3393b142c5c2d71bb4a25f5af020831bd48ad5c354b68cf5a2df2044b534024f0568da93ad26ca383c97ba4277b4878dba7ce9267146f3805c67f52950cbf
DIST topkg-1.0.5.tar.gz 123508 BLAKE2B b6090143659607fb65257adfc78f6c12782cf4cca99e5d997a2e324196cc19689b95b1412296feba410ce894d559e92d1f2c417ce46b441ad499a94264ffff99 SHA512 ea220df58ba3727281392b335377f9cea1cf1539ee86f2947faf1ccbcf36714fa40fbc06516867852d5992ca5840778467a02a0fe67369725da95eb442e4269a
DIST topkg-1.0.6.tar.gz 123588 BLAKE2B 49637d7ea34e243e0263a1a1cde2b3fc642325ac43f8c46d05c15a82bef9a117522e8a663c02bb8406b0a3d23b973ffc80e276aae4b316aa49f188ef5af919ee SHA512 560eb074d51824b02fb76223c2a16eefbf3bc1107c0c228b4e8491d2433e0b22e1b750ea63944f5653ab4e3e566a72c939cef6a8207e156874d6dad2b9c8ca99
+DIST topkg-1.0.7.tar.gz 123763 BLAKE2B e049b745651261d4167f01523c21018c2fa9e2c8d64f5f6dd5b469f85a293a83a89f00686cefb35f3529056f8023caf28e06ea3284c36c9213c3f5f303849794 SHA512 0f64f6c303592eb04c809d2922549cf25311c90c5ac6c33b70767c47eb31a8dc8296ddedead70c091fc16c30fc7fdf972ba92c7d9e4867afa07dcc1eceaee49f
EBUILD topkg-1.0.3.ebuild 977 BLAKE2B 25fb14a2f2d52e8b2f18b044c450df093fbf8803fd3ec09aa4a76529c08ce1707039567a06a05349cbd3f178aa2c4d9ba129860a1293713b613e94a7a12d20db SHA512 591ae4ca722f3d85815c0d0b53ade24bef08dfd271897ed0e9fac51441c46c60575efaa60f8110efbb12b68877affbd37619e55646cccef51679a797306dd391
EBUILD topkg-1.0.5.ebuild 989 BLAKE2B 7ebc9755ffd6fa9f0c5bff88d307859c6553d4d600a06c0b044bc48d63c96afbcbcfbc5c693b35d69e73eb0b49eb23f0d8a93b6a2e98f44b28642c9707693516 SHA512 10c3cf189a21714df866f2222c2ad5d7432ad9d5d21650423fab8412cbfa39a46d61b7a9da7c7ca6e7530bb8e203f7c9e36b349c3ca75eed0e62f1cc24c18daa
EBUILD topkg-1.0.6.ebuild 989 BLAKE2B bd5697ff93fbe002b6a67d2c12ff7c05ba8e204a61f7cdd53606e6aa029a97234f432b9790b43017746eeb9e7e4cbbe06b6e45896cedf90ac8b473bde6d8ddd2 SHA512 b80170e0a3034291b790f8e511be3b03bc73d90aa17a129fcb623613fe16b2654f3a3649cd7d292293f8404bd35bc92be6ec760df6a8954c82b53fe3b4a34548
+EBUILD topkg-1.0.7.ebuild 989 BLAKE2B 04f2efc2dbbe1e1db2201bfe709110e1b9520cb2dd960823ae451ed141bf7c5e5d82547ffaf85bf6b24b6da2d135a91cf1ed0958672639291729a8e94334d396 SHA512 0b6dd51bbfe66da9cf169b124f4d9a3d2d2733f3f4f64cb20a31c228b2d7d0df7f755a19fc17b764f4e6be3830c24755a20fc6ea02f3235c776a8babb19da974
MISC metadata.xml 417 BLAKE2B 0b80e61196b3796c580559b88e78f3a2f95c434ba1878cb09b22a40c8f0cb964f32215532c9b14c25d5f1124a0614227a9e32fcfc64afcf4519a0c1f89f6a048 SHA512 9c041417cf7da9e56529048a9f5bedba2c0271e14dd80aafa95c10778ad98a145bb020a8984b55ae568053dedc667339bf05ed2f696f208f19289ec3d7089327
diff --git a/dev-ml/topkg/topkg-1.0.7.ebuild b/dev-ml/topkg/topkg-1.0.7.ebuild
new file mode 100644
index 000000000000..7ad69a2ad466
--- /dev/null
+++ b/dev-ml/topkg/topkg-1.0.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit findlib
+
+DESCRIPTION="The transitory OCaml software packager"
+HOMEPAGE="http://erratique.ch/software/topkg https://github.com/dbuenzli/topkg"
+SRC_URI="https://github.com/dbuenzli/topkg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND="dev-ml/result:=
+ dev-ml/ocamlbuild:=
+ dev-ml/findlib:=
+ dev-lang/ocaml:=[ocamlopt?]"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ ocaml pkg/pkg.ml build --pkg-name ${PN} || die
+}
+
+src_install() {
+ # Can't use opam-installer here as it is an opam dep...
+ findlib_src_preinst
+
+ local nativelibs
+ if use ocamlopt; then
+ nativelibs=$(echo _build/src/${PN}*.cm{x,xa,xs,ti} _build/src/${PN}.a)
+ fi
+
+ ocamlfind install ${PN} _build/pkg/META _build/src/${PN}.mli _build/src/${PN}.cm{a,i} ${nativelibs} || die
+ dodoc CHANGES.md DEVEL.md README.md
+}