summaryrefslogtreecommitdiff
path: root/dev-ml/topkg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-ml/topkg
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-ml/topkg')
-rw-r--r--dev-ml/topkg/Manifest4
-rw-r--r--dev-ml/topkg/topkg-1.0.3.ebuild4
-rw-r--r--dev-ml/topkg/topkg-1.0.5.ebuild38
3 files changed, 43 insertions, 3 deletions
diff --git a/dev-ml/topkg/Manifest b/dev-ml/topkg/Manifest
index c4f30fb6d501..b37ede3a01a4 100644
--- a/dev-ml/topkg/Manifest
+++ b/dev-ml/topkg/Manifest
@@ -1,3 +1,5 @@
DIST topkg-1.0.3.tar.gz 122302 BLAKE2B c3c583fe6d9c6602c9eeae6ba76f0b8e1eda754cb2ffed8f6a9b51eeea53a2d16ad0af5bf3bf1f257233481efd1e7fecfca7185773dcb4258f6a0a8195aaf61f SHA512 b4f3393b142c5c2d71bb4a25f5af020831bd48ad5c354b68cf5a2df2044b534024f0568da93ad26ca383c97ba4277b4878dba7ce9267146f3805c67f52950cbf
-EBUILD topkg-1.0.3.ebuild 976 BLAKE2B 0289324149c3a3c009222e436f25cd926957563db7f20486eaae4b08dc86f114b4a39dce137a6624d243a474f95e8207aa96b3acf4b1b74109cb0c5832bd82c2 SHA512 71b84b60aabb2ff9d2c9a139dd838394a47f52f36d742e21bdb2151cffe103dcf9ac0ce505acde463d1a10e1d6728052b0fdc37fa19ff683c3972c14392a67f8
+DIST topkg-1.0.5.tar.gz 123508 BLAKE2B b6090143659607fb65257adfc78f6c12782cf4cca99e5d997a2e324196cc19689b95b1412296feba410ce894d559e92d1f2c417ce46b441ad499a94264ffff99 SHA512 ea220df58ba3727281392b335377f9cea1cf1539ee86f2947faf1ccbcf36714fa40fbc06516867852d5992ca5840778467a02a0fe67369725da95eb442e4269a
+EBUILD topkg-1.0.3.ebuild 977 BLAKE2B 25fb14a2f2d52e8b2f18b044c450df093fbf8803fd3ec09aa4a76529c08ce1707039567a06a05349cbd3f178aa2c4d9ba129860a1293713b613e94a7a12d20db SHA512 591ae4ca722f3d85815c0d0b53ade24bef08dfd271897ed0e9fac51441c46c60575efaa60f8110efbb12b68877affbd37619e55646cccef51679a797306dd391
+EBUILD topkg-1.0.5.ebuild 982 BLAKE2B e8d227b932a082a15b3d9f19b7a21359ab9f7b3e92a7da80d1de9d136ea6a3cacf536a01eaf2a1942c924e3585c038c3ccfb526276073ca145c4fe7ebcefbdb0 SHA512 5e05da3a4b3068a56f82093302f193d3fd9b67b0c0e5bcdf573bf3e132473c36521e02745a7c3d98f1cca6375a43b9abbd27e874b28918d7d30fd033a757039a
MISC metadata.xml 417 BLAKE2B 0b80e61196b3796c580559b88e78f3a2f95c434ba1878cb09b22a40c8f0cb964f32215532c9b14c25d5f1124a0614227a9e32fcfc64afcf4519a0c1f89f6a048 SHA512 9c041417cf7da9e56529048a9f5bedba2c0271e14dd80aafa95c10778ad98a145bb020a8984b55ae568053dedc667339bf05ed2f696f208f19289ec3d7089327
diff --git a/dev-ml/topkg/topkg-1.0.3.ebuild b/dev-ml/topkg/topkg-1.0.3.ebuild
index 6afcb25f56be..a0c802ec10f5 100644
--- a/dev-ml/topkg/topkg-1.0.3.ebuild
+++ b/dev-ml/topkg/topkg-1.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ 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 x86"
+KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
IUSE="+ocamlopt"
RDEPEND="dev-ml/result:=
diff --git a/dev-ml/topkg/topkg-1.0.5.ebuild b/dev-ml/topkg/topkg-1.0.5.ebuild
new file mode 100644
index 000000000000..85e68779db2c
--- /dev/null
+++ b/dev-ml/topkg/topkg-1.0.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~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
+}