diff options
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/Manifest.gz | bin | 39971 -> 40139 bytes | |||
-rw-r--r-- | dev-ml/base/Manifest | 4 | ||||
-rw-r--r-- | dev-ml/base/base-0.17.1.ebuild (renamed from dev-ml/base/base-0.17.0-r1.ebuild) | 0 | ||||
-rw-r--r-- | dev-ml/llvm-ocaml/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240712.ebuild | 107 | ||||
-rw-r--r-- | dev-ml/utop/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/utop/utop-2.14.0.ebuild | 66 | ||||
-rw-r--r-- | dev-ml/uuseg/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/uuseg/uuseg-15.1.0.ebuild | 39 | ||||
-rw-r--r-- | dev-ml/xdg/Manifest | 3 | ||||
-rw-r--r-- | dev-ml/xdg/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ml/xdg/xdg-3.16.0.ebuild | 29 | ||||
-rw-r--r-- | dev-ml/yojson/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/yojson/yojson-2.2.2.ebuild | 43 |
14 files changed, 308 insertions, 2 deletions
diff --git a/dev-ml/Manifest.gz b/dev-ml/Manifest.gz Binary files differindex b997fdca6a8e..044ca99f45ef 100644 --- a/dev-ml/Manifest.gz +++ b/dev-ml/Manifest.gz diff --git a/dev-ml/base/Manifest b/dev-ml/base/Manifest index 3a70c163b323..51453c8bf4f5 100644 --- a/dev-ml/base/Manifest +++ b/dev-ml/base/Manifest @@ -2,10 +2,10 @@ DIST base-0.14.0.tar.gz 385265 BLAKE2B f3a49b22bb63919bcdc522fbce14a24fd6eaddf39 DIST base-0.14.3.tar.gz 385390 BLAKE2B e951fcf90f1181720346be0dc048bdb3d3f0b6417c954106aa035d807bff4a8bb85e97b11efbb296be92b24c257e8c83284c5419842b2d2f587a7ceee214e31f SHA512 56499ffd630bc8d09a18f49851d950ad54c376d4441b50ce60141f58aadece16f175a5b57492e8ddd997a6289d8671368dc0a58b01b6bbd2374acf45e7882e66 DIST base-0.15.1.tar.gz 414911 BLAKE2B 4f0955374213bed241214451cb930c939bfed7208668b2b6676786a37c60f14b671b50e9a8893555693068dc2272e21f63e4def938dbe064b4ecb143925a8aab SHA512 4ac43829229765c19d8af98d45783c098abffd026328b03f5dc4390911b26cf6b65879d4084d30dd4b0b4f5a1d23079270e9bb10b1aeccf575ee70c7e16021ec DIST base-0.16.3.tar.gz 442632 BLAKE2B 533a04b197bb1065a8b8772aa227bbe3be2c47d536722dfa7d1df366ad05e40fdd47f3a842654ee9bde1e3527ff34adaf155057af68596d4c02c8108505c9108 SHA512 69380ed392faf4495459f97f70a10a6959fce71d2e6ba093472fc272141646307fd7872407de855dfa48ef0435f6587eae5aa50f4a67eac40a9e1946d0c3c070 -DIST base-0.17.0.tar.gz 478225 BLAKE2B 5b3cef96b0b47c2e3b0b32bed00af1e43c1ec5ffc4e6b6a24591a69a1ba3ab0f74e8aeaddca1858fd755cd6c57b712ae597006d98a0c5ce0fd9021ec2867259b SHA512 5828bfdad7e80183c4aa8b52e6ab06cc17c9f15cfbffc88827db8f8973a064813236d60b01358f838e58f2fea1f4499e6a7676bf081da443c1fb8a019d9fe7be +DIST base-0.17.1.tar.gz 478174 BLAKE2B 0354e8fe62499bdec3e9878ef3675782e6e21e141e11a1589ebb8f7b2e52ce20476fd47e5fbbe2ddf6015a9cfe2388b524a0e9ecf30c12bcd2664eb744b0450b SHA512 ed5eb5e83d8085fc06f111862d609b393e394bbdcc6e25bab50030a250ffa2e540dbee02169b6f28ec220f10f61d189cd7b5646eece910c63620f5174fb5a655 EBUILD base-0.14.0-r2.ebuild 551 BLAKE2B 61f5b53cc82227154b8e3403ec0731167593e8be9fa34c048c49f16e9396ddc55782768285f745faa0c923bde96d48b75752707f5e6843ad9084662d7e7f21a6 SHA512 d87c518813bed90e8d5fefd5c3f6d90ea61ba15b77131ef6320a6a8ed4341e44739041be32c1cc743029ef90a3764bf9b7580028627af2f9c891b81fe490dedb EBUILD base-0.14.3-r2.ebuild 541 BLAKE2B ddc0b055a9dcee7c21ed0274cb38b99b725374bff580bfd2c4541dd9e96ff83757c95db2d109279741e0f875539cd461ec509810dfb655e3d20be292652b5b5c SHA512 b65032fb17bd24d039f3a37c9199f99ca73591a9a2c9a648fd19d84c27127882fe4ff3acb23b85c49af3de9853a890ba8338d59e111af5ef227285e643f47274 EBUILD base-0.15.1-r2.ebuild 542 BLAKE2B cc17a8d51a39dc5a58a53d6ce6a7b1965d16b69845b001b62ff291181726188e7a90f13d26ab0af062858e1c80db070db87ad0881142742fda739c49e18af2a5 SHA512 c597e15dfea4a9586dec285e511a7dc91cb6676f1493072e99d289dd4a6dfa085aafb55bd531ebd61e6c96e0fa5d27e82210a1bcd5a126f37ad385b05bd5633d EBUILD base-0.16.3-r1.ebuild 542 BLAKE2B f48292a372ab02108f60a1ceb688b114e436fe47c9e9c7c5ef967d9636d8af5e1114730c4128241e08dcbb485fcbc618b16225f7bac5137529e6936f2c642ca1 SHA512 24a86509163e1a960d0968c85fc2bd493cc1b3c0bc32975d338f940e6c1f044785dcb36bd26d84ec9de965270a298a5c13280e22a2c40628ab03c4e7a8a7ca2a -EBUILD base-0.17.0-r1.ebuild 612 BLAKE2B b8d496f7dc0fe2528fc830c1cbc9fa7ca1760bf82da3888fb3f5ef05a7943952f93fb97396fcb67c2c53921acffddf3b5437a43bf74981a6282803b0d46df9f3 SHA512 1b70f38a0c9439e5d78a7886e1fb666c1c4a8ac773d220aee38439a9449fb3bfb257aa2194abd8604295f993532e1078379cf3b65832239cb5a320a58232835d +EBUILD base-0.17.1.ebuild 612 BLAKE2B b8d496f7dc0fe2528fc830c1cbc9fa7ca1760bf82da3888fb3f5ef05a7943952f93fb97396fcb67c2c53921acffddf3b5437a43bf74981a6282803b0d46df9f3 SHA512 1b70f38a0c9439e5d78a7886e1fb666c1c4a8ac773d220aee38439a9449fb3bfb257aa2194abd8604295f993532e1078379cf3b65832239cb5a320a58232835d MISC metadata.xml 313 BLAKE2B 13f4eb00195c11bc9b1ee9a4a35903c30e47c28e6913d23ed7fb6700b139f65562fc991fbc23e26e28dfe59da6a2da053325fbf33200731b99d730d84117cb03 SHA512 11dfae973f32014f4cef738c456b6e32d762282a21bec90af5541fe67cfc0400d4889c077598e627c1098b05c655fc3f4682403d3614c40aec3b2aa321d8daf8 diff --git a/dev-ml/base/base-0.17.0-r1.ebuild b/dev-ml/base/base-0.17.1.ebuild index 823ea5959375..823ea5959375 100644 --- a/dev-ml/base/base-0.17.0-r1.ebuild +++ b/dev-ml/base/base-0.17.1.ebuild diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest index 5fc46df3eabc..b6bd157faa4d 100644 --- a/dev-ml/llvm-ocaml/Manifest +++ b/dev-ml/llvm-ocaml/Manifest @@ -7,10 +7,12 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f SHA512 25eeee9984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b +DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 BLAKE2B 99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f SHA512 08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c EBUILD llvm-ocaml-15.0.7.ebuild 2576 BLAKE2B 19ad7bcc099299b50cee2551d0998ef748cf46081605459355a9d11b5882a3a26559892321f47d67f927a422ed1dc34332f9d9bee82da3e151dc9edec58f458a SHA512 3366ae720bb79421c253c28946c5281152d3573416fb9c7967327bd2d2b418f01887d63e00ccc1d5f5008d1f05280f270fe15be3e8d2b812c782d881778e8417 EBUILD llvm-ocaml-16.0.6.ebuild 2510 BLAKE2B 129a25c76d02640a151bd2ba8b1542e34bc4b0adb5aac797f96f7f888b8939ae33dcda9eb1f2ec31eae81575ac3e32995b9e99de3540f3fdc8e085b0185200ec SHA512 250285a57be6d7cfbddd4a9ff4ab8bc25e2813441da263bfef1a7a4d11658b6ed9a3d280ada7b1e45c5cb472e6647eff260926672089e7e445a12be6a5344bdb EBUILD llvm-ocaml-17.0.6.ebuild 2510 BLAKE2B 129a25c76d02640a151bd2ba8b1542e34bc4b0adb5aac797f96f7f888b8939ae33dcda9eb1f2ec31eae81575ac3e32995b9e99de3540f3fdc8e085b0185200ec SHA512 250285a57be6d7cfbddd4a9ff4ab8bc25e2813441da263bfef1a7a4d11658b6ed9a3d280ada7b1e45c5cb472e6647eff260926672089e7e445a12be6a5344bdb EBUILD llvm-ocaml-18.1.8.ebuild 2466 BLAKE2B 7480f9140cbdd2ec337cd08924013f1f9751bc34c3223b3f5be441e4d06d131f74aca0cb0115c71ebacb3909240e42d4608dddf98bb6f69e371d5e86e19141f5 SHA512 b7c05d3be29399eb9fb4267537a450daf00b7d8f6bd2be472e5802d4072e3a805db8d5f4fa2830ec46655170a7f2fc1119825327b2d4008af8364772fc215f65 EBUILD llvm-ocaml-19.0.0.9999.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b EBUILD llvm-ocaml-19.0.0_pre20240706.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b +EBUILD llvm-ocaml-19.0.0_pre20240712.ebuild 2439 BLAKE2B 78ec9994e7e03caf7e32e36c1c8b697039e1c8bcaaf89289ccfc53ccb286d8f3f855048162452782292c2f67e1c4476fa24898c595a55f89aabeef83283fc23a SHA512 b36e82afdfeff73650c86ee1ca59a6c1796a7445a34cc9711d65841380c5a023f661dfd723f4311b537ab5047d4a4bef497ca20e106b1cc0832851674677391b MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240712.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240712.ebuild new file mode 100644 index 000000000000..36b3716c0372 --- /dev/null +++ b/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240712.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org llvm-utils python-any-r1 + +DESCRIPTION="OCaml bindings for LLVM" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0/${PV}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.00.0:0= + dev-ml/ocaml-ctypes:= + ~sys-devel/llvm-${PV}:=[debug?] + !sys-devel/llvm[ocaml(-)] +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + dev-ml/findlib +" + +LLVM_COMPONENTS=( llvm cmake third-party ) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + local libdir=$(get_libdir) + local mycmakeargs=( + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + + -DBUILD_SHARED_LIBS=OFF + -DLLVM_BUILD_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_OCAML_OUT_OF_TREE=ON + + # cheap hack: LLVM combines both anyway, and the only difference + # is that the former list is explicitly verified at cmake time + -DLLVM_TARGETS_TO_BUILD="" + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + -DLLVM_BUILD_TESTS=$(usex test) + + # disable various irrelevant deps and settings + -DLLVM_ENABLE_FFI=OFF + -DLLVM_ENABLE_TERMINFO=OFF + -DHAVE_HISTEDIT_H=NO + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + + -DLLVM_HOST_TRIPLE="${CHOST}" + + -DPython3_EXECUTABLE="${PYTHON}" + + # TODO: ocamldoc + ) + + use test && mycmakeargs+=( + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + # also: custom rules for OCaml do not work for CPPFLAGS + use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" + cmake_src_configure + + local llvm_libdir=$(llvm-config --libdir) + # an ugly hack; TODO: figure out a way to pass -L to ocaml... + cd "${BUILD_DIR}/${libdir}" || die + ln -s "${llvm_libdir}"/*.so . || die + + if use test; then + local llvm_bindir=$(llvm-config --bindir) + # Force using system-installed tools. + sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ + "${BUILD_DIR}"/test/lit.site.cfg.py || die + fi +} + +src_compile() { + cmake_build ocaml_all +} + +src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + cmake_build check-llvm-bindings-ocaml +} + +src_install() { + DESTDIR="${D}" \ + cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die + + dodoc bindings/ocaml/README.txt +} diff --git a/dev-ml/utop/Manifest b/dev-ml/utop/Manifest index 9423fffb22ec..8b2aebf6b1a1 100644 --- a/dev-ml/utop/Manifest +++ b/dev-ml/utop/Manifest @@ -1,4 +1,6 @@ AUX 50utop-gentoo.el 100 BLAKE2B eb2061a156c26f41f06076905e66212743aca67b3692c14f5347006aeda59f05d973f766fd65c97dfd14ab0dca22cac831076c7809e12d509253483cd0ab8bb4 SHA512 80ef89749dc68e7d339bc6fc63984b56913b3d94c22fa38ab82a6d4e4867ea30e94ce116d25212785d00ce721909fbda3cb3ff9e710e617e241b42f8152b18d2 DIST utop-2.12.1.tar.gz 416596 BLAKE2B a8a31c91fd4f989e3d89bc736caa7b611ba0ccc2de905adcd1cf59fff87770d5a00c2d7a43462940269ae8be2f5980fa5b8d2ec7ba547b937cc1e6a579621f2f SHA512 cc52bdb2a58141e6f7b678c93f69b0aa5ca4c628cb6841e02e6a783191a917bd838c06682d55f4f455a01a7004e43b5193d8574968b8400050b0f7b5a102ca3a +DIST utop-2.14.0.tar.gz 418609 BLAKE2B 726ff00d6ce13f6bb81b6e1ad82749094f25a6394f6552f2a976f270d182a7b600a9a17a1c692e56fa807332b25638a8cf0c2082c12ef93262ef5409633fba27 SHA512 16c724c0d54cd14d2126060f00e8b86fe3b886cffd7ff306a825d7f9e045b74ffc5830f659ccb151dfaa36c41c2966c26bc2c2e7567f9e1d725b33e9f677d19e EBUILD utop-2.12.1.ebuild 1068 BLAKE2B e4f9aa5170aa046f5f07737cbca7e5dac2ab916ad41b7483fc3971cfd3430f28f6d304de4f1b496169093b2a279ba189bb07888710c1f6e60c7cdacc5f514a3e SHA512 d63f4757e29f790d84274f890ba7dcfc90e95c322fc1f94ee853c0a6de7a396ce9ab99780f891207bbf8812c45e665263b6aa4884451f5952fd44b96da0bcecf +EBUILD utop-2.14.0.ebuild 1160 BLAKE2B 6b7f5e689e4248fa1d0ffbce3346d3fd6c8d2fe3b4d1d1b91a8f053fcda7f59814990b098b02c1bc23cdb6c6edd9c3b4eb0e0b1596a8c7313023bbaf77415b88 SHA512 bf9012662cdc4ef92efa8bcda5a69adb60b7669f1ef811ab427102fbfc0edc8ae928a9e39410b3fdafcff4240baf1ae1e5717a97c42c48ba1926c4c759d98ead MISC metadata.xml 714 BLAKE2B cdcb086ec113872a316e1f98b53802f6faef22a718543527c5cd5d4038ac68a601bb0898532428378ce016e4d018074c043e8dafb4109ac7fcd233cabe1f3c54 SHA512 40468222a996f4b5bebf03ab5d2d7fc639ab00acba23ea98da3a4a7993864946d2327c296806e0106e5d150c90d5286629d9608bc0e04acbd94fc5fd1ba50bf4 diff --git a/dev-ml/utop/utop-2.14.0.ebuild b/dev-ml/utop/utop-2.14.0.ebuild new file mode 100644 index 000000000000..788125604fb3 --- /dev/null +++ b/dev-ml/utop/utop-2.14.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune elisp-common + +DESCRIPTION="Universal toplevel for OCaml" +HOMEPAGE="https://github.com/ocaml-community/utop" +SRC_URI="https://github.com/ocaml-community/utop/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="emacs +ocamlopt" + +ELISP_DEPEND=" + emacs? ( + >=app-editors/emacs-24:* + >=app-emacs/tuareg-mode-2.2.0 + ) +" +DEPEND=" + >=dev-lang/ocaml-4.11 + dev-ml/lambda-term:=[ocamlopt?] + dev-ml/logs:=[ocamlopt?] + dev-ml/lwt:=[ocamlopt?] + dev-ml/react:= + dev-ml/xdg:=[ocamlopt?] + dev-ml/zed:=[ocamlopt?] +" +RDEPEND=" + ${DEPEND} + ${ELISP_DEPEND} +" +BDEPEND=" + dev-ml/cppo + dev-ml/findlib + ${ELISP_DEPEND} +" + +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + dune_src_compile + + use emacs && + BYTECOMPFLAGS="-L src/top" elisp-compile src/top/*.el +} + +src_install() { + dune_src_install + + if use emacs ; then + elisp-install ${PN} src/top/*.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-ml/uuseg/Manifest b/dev-ml/uuseg/Manifest index fac47c8eb601..477ffc3caf8c 100644 --- a/dev-ml/uuseg/Manifest +++ b/dev-ml/uuseg/Manifest @@ -1,3 +1,5 @@ DIST uuseg-15.0.0.tar.gz 25540 BLAKE2B 4ee1512bde79aab4777395d3ccfb8fe76c97ba7e93b722acd7c36acac432a44a9eade512ea45a0204a1d947a60e3d61773de05890d64d7afac4b1965d1493bb3 SHA512 c117868d52ca8f5de3104b0ea25ea011c19cefd53018c4d9bdf900185d04f74c097b7f129b75366a8da905a79dac3cbf8e6c66ff6c20fee1c2e42b9cdd6a9fa6 +DIST uuseg-15.1.0.tar.gz 25603 BLAKE2B fcf0817b60040eb9065c487d2e2ac4c8124c19eed09f80de2c874a5704a658a69f9f478dcf94647cfe433f9b2082119824085cac075469d2ab5fa77b0e2c8472 SHA512 959769f915edac4961e50fe7a7f866fe50bed31866e44c6240c95b58034efc4e06b7bfdf5a7c0a7d3f41f21f0979f7b470c9d26c1e37da19613d07d2ad93d829 EBUILD uuseg-15.0.0.ebuild 716 BLAKE2B f7f9bf91292d206612de4694d5f0d0ad5dcad001f64dc79ec051346745e055f21c05d16b5f02cc64b8061334eb33514d431a0fcd8d8d775ccbbd5a060b1ccfe7 SHA512 060f48421b1d1b746124d5501d6b1684153e6abb446275083a4052a35b988bb521e51c25dfe78a8b8ebdc17c8ccd45452f35853b5729b51af117ad8255ab57a9 +EBUILD uuseg-15.1.0.ebuild 752 BLAKE2B 759edd2e8ebe9244024df6e8acf015b92ba59d1527ab8ef68e4aaf69a7aa848e1b7dd3934d656a359593c0e2e1391d3b9d2d0d11f135e521d7b861accf2c3283 SHA512 db2d17f364a118cd9c345ff9e142cc8d6f1fe0bcdc52e89cfe0457ad73315dedfb114c131e974290e43e4172c45c75156bf84ebf48a04aaad68769eb1ff49e92 MISC metadata.xml 1002 BLAKE2B 14f5a9298b9d11dd13223511e22eb4125f424236cb53acfbe19030abd6c2578c26d6388dd11724bfb7bf4ebb9b4c9bbdf7e69020fbfbec39d12cff3b5af61d85 SHA512 2263e315de73941247a7926928e648b6c5dc2fac151b9db1dca7dc5d1af3c80c1cb72d5ec601ad262f2166fcb4cf7532ba0ec8a59f6455ced007f6282299f63a diff --git a/dev-ml/uuseg/uuseg-15.1.0.ebuild b/dev-ml/uuseg/uuseg-15.1.0.ebuild new file mode 100644 index 000000000000..21daa1c5d3d2 --- /dev/null +++ b/dev-ml/uuseg/uuseg-15.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit opam + +DESCRIPTION="Unicode text segmentation for OCaml" +HOMEPAGE="https://erratique.ch/software/uuseg/ + https://github.com/dbuenzli/uuseg/" +SRC_URI="https://github.com/dbuenzli/uuseg/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="test" + +RDEPEND=" + >=dev-lang/ocaml-4.14:= + dev-ml/cmdliner:=[ocamlopt?] + dev-ml/uucp:= + dev-ml/uutf:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-ml/ocamlbuild + dev-ml/findlib + dev-ml/topkg +" + +src_compile() { + ocaml pkg/pkg.ml build --tests $(usex test true false) || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} diff --git a/dev-ml/xdg/Manifest b/dev-ml/xdg/Manifest new file mode 100644 index 000000000000..f9fab7ca06c4 --- /dev/null +++ b/dev-ml/xdg/Manifest @@ -0,0 +1,3 @@ +DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e SHA512 3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23 +EBUILD xdg-3.16.0.ebuild 561 BLAKE2B 160a7e68b5d12b5ab4a200e78607d838cd9b508294c32310dac83d23b164c8f178ffbc015fee6c65645ab478b1aefabd138f24681afb710c5eb5a5d3492ed48f SHA512 b5790cf892599622cd8d01650ee4ff19dabd4949200e40a6c54de55db3e0a356b7f8f6dd31b31558932753afae669f623c65aa61a9d8400fac4091553cbdf64a +MISC metadata.xml 308 BLAKE2B 555692890c7fe4dee18d07e140384b70278e2a4a0230916a01ab9e5306776e0ed0d979e9a3487423fa1779a166da3038dca13273811e36593bb2b821b60cdfe0 SHA512 e50e28cb6f41fda295f12af1b94aba12dda8a7091322c0e7093d19ee60615d449bc1806354043e572d70aff1284e16b644b188911adbca60a2a5c8299fcee748 diff --git a/dev-ml/xdg/metadata.xml b/dev-ml/xdg/metadata.xml new file mode 100644 index 000000000000..86dc156e664c --- /dev/null +++ b/dev-ml/xdg/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>ML</name> + </maintainer> + <upstream> + <remote-id type="github">ocaml/dune</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/xdg/xdg-3.16.0.ebuild b/dev-ml/xdg/xdg-3.16.0.ebuild new file mode 100644 index 000000000000..9f13561e8a0f --- /dev/null +++ b/dev-ml/xdg/xdg-3.16.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="XDG Base Directory Specification" +HOMEPAGE="https://github.com/ocaml/dune" +SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz + -> dune-${PV}.tar.gz" +S="${WORKDIR}/dune-${PV}" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" +RESTRICT="test" + +BDEPEND=">=dev-ml/dune-3.12" +RDEPEND="${DEPEND}" + +src_configure() { + : +} + +src_compile() { + dune-compile ${PN} +} diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest index 3e2440a2d0f1..879dbd96ce05 100644 --- a/dev-ml/yojson/Manifest +++ b/dev-ml/yojson/Manifest @@ -3,7 +3,9 @@ AUX yojson-2.1.1-dune-seq.patch 229 BLAKE2B 8c47b5ca554109575572ba2b0d46b60b022d DIST yojson-2.1.0.tar.gz 48316 BLAKE2B 49634800de95035624803883b7f44eda1dd4ba8c050efc52ba31246aba7c37b57d717ebc6d487a9c99ba55ab416a5b196974b0bac09bc6a74992356840e4ae52 SHA512 d52e4fcac41165f9fb74e922d35dd247e1622674f74d6e80978fbc1f42b45f45797965e41129e7acd049451ef5fcec48021ca7c866e36a4e8c4c51e78bab9d7f DIST yojson-2.1.1.tar.gz 49090 BLAKE2B aa11a3d6b786f33fa2da6dbf34f2a496a1796eab64d87069420fc9953fef6442660a58f259c4abcca6373710375723e6965f0ab9c9dbcafea46eb6e03147fb54 SHA512 935014c43bca83201b0e9d3399e751ae5667ac12bc7fe3d8777b6a84a1216a7325b3cdafb8f9650a4c3979d0e2df6fdeae3cc894c92a175f7ee75ee6303b46c2 DIST yojson-2.2.1.tar.gz 58073 BLAKE2B d53f2fd2743ffa239fc177f1ae6d612d0dd4cb2c85f3f172c8b36da883b0329cb0113b87a6b1e706f2877fc59d88b94c22f9cf97636ecc5137f9e06722b7d6a9 SHA512 17a141d002afcc3feb536747e259dfe4ad248495fcad00484324a28ed52975d34c8e332af4b794f7e8d7c27da4f4f4d75149929aeb7fd97db86f9df41a2b6e99 +DIST yojson-2.2.2.tar.gz 58638 BLAKE2B b1e9e0375b57ad6a112aba25adda15cfc176ac44017c2dc686e5bfd3d32ed7c06c8bb1a97378f49b71f25b4949c836e3be5a72b06bfff76d96acd2b840ee43b9 SHA512 d1fdaa5345a37bb4ed203e8ec842bc8e91e88001de63c6e9539ef9c9f54b861af67de7d1169eb76879bab1a3b5b758dbc6deb1eea9cb6831bbbfba228b5bb4a3 EBUILD yojson-2.1.0.ebuild 863 BLAKE2B a0930f9107f0c127535821bcc516f83d57353520ed53b61e69d0ad9c3536ed96cfcd3fefd07e751cdeab10ed26b3020441586fb0dd078eb050137404516642a4 SHA512 741571b7d14a2d9d1054f9162cb4202669340e21ee163e0c23777a082eb31b33d150628fb1dbcd1eb0204e915187053dd38bd568d10a8d0b8ee81c714f0061cc EBUILD yojson-2.1.1.ebuild 863 BLAKE2B 419f028d91029e07c5eb5bba867be34f39b0530cb90502e11d152ae408884aa350e8ad760ffa94d0513affab1354fd3a79ad98bde8bbd62f61835e3d0dba1c44 SHA512 e4de4198d0e7c270c5948cbc14d17e27286c64d6a53852d72bb2fd749b9ccf0ac72e322ba88272db999767f7a8d07b2a9700c428d68dc24cd00a71fd48447e18 EBUILD yojson-2.2.1.ebuild 860 BLAKE2B 678894c9d5e870e52606b281e1cf50288506f469f173dafa90fabbc1bab1f4aed4041f626b3aef68de6af91f7284fbf375490d2c76cbb2af6aecd338b8c0e1bc SHA512 3a9c0507652681ba6b8fcdc81b0065579b84d83b8038e7a502d38a833672aeac573bb7a70ad22793d5f2e033fe37684e07f54492626c20f3de694121c489bb56 +EBUILD yojson-2.2.2.ebuild 835 BLAKE2B 93d75ffbefb033c5ab840064c5953ff64cb7aa3e43b73e1096475ad4e22fbaae916a6c7df530c44a4e005305ad3e29a89395599f4064ba4b577056d0ff3d2f93 SHA512 80c3b912164e68203a88c9bbdf20146fbde7de653e0ceccc6c595d2f8c9ab7f45873580c01f38b3d71a645f85f7aab58c82d8637050def75580ee090bbd1e581 MISC metadata.xml 529 BLAKE2B 4cfc5392ca4b4402f01251818c776c63d607c2e1b8d216930db594ffe2e1146ac52f9492823e5ef97ba7b6f89b2ee8eaf367e785120ca5fcabdb36549ffb6ebd SHA512 7c415ac7330d8d3397911ddd213da9a6cd5dfe76fa2530ab22cbd70cd8f411fbfdb9d40aa8ca66dc202227799fe0b8ff81c81e57815f5e206c7f424b6218baf1 diff --git a/dev-ml/yojson/yojson-2.2.2.ebuild b/dev-ml/yojson/yojson-2.2.2.ebuild new file mode 100644 index 000000000000..e987fb1738dd --- /dev/null +++ b/dev-ml/yojson/yojson-2.2.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="JSON parsing and pretty-printing library for OCaml" +HOMEPAGE="https://github.com/ocaml-community/yojson" +SRC_URI="https://github.com/ocaml-community/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="examples +ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-ml/sedlex:=[ocamlopt?] + !!<dev-ml/seq-0.3 +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( dev-ml/alcotest ) +" + +PATCHES=( "${FILESDIR}/${PN}-2.1.1-dune-seq.patch" ) + +src_prepare() { + default + # let's not build this + rm bench/dune yojson-bench.opam || die +} + +src_install() { + dune_src_install + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |