[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cvc4/

2024-09-22 Thread Alfredo Tupone
commit: ae12690844146728289a3d499fa104e40fea6a5e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep 22 08:18:26 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep 22 08:19:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae126908

sci-mathematics/cvc4: fix build on musl

Closes: https://bugs.gentoo.org/934053
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-mathematics/cvc4/cvc4-1.8-r5.ebuild | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild 
b/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild
index 4870f7af7ba6..9bab754168e0 100644
--- a/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild
+++ b/sci-mathematics/cvc4/cvc4-1.8-r5.ebuild
@@ -57,6 +57,17 @@ src_configure() {
-DENABLE_PROOFS="$(usex proofs ON OFF)"
)
cmake_src_configure
+   # Bug #934053 - build with musl
+   antlr3 "${S}"/src/parser/cvc/Cvc.g -fo "${BUILD_DIR}"/src/parser/cvc || 
die
+   sed -i \
+   -e "s|k = NULL|k = 0|g" \
+   -e "s|n = NULL|n = 0|g" \
+   -e "s|k1 = NULL|k1 = 0|g" \
+   -e "s|k2 = NULL|k2 = 0|g" \
+   -e "s|lo = NULL|lo = 0|g" \
+   -e "s|hi = NULL|hi = 0|g" \
+   "${BUILD_DIR}"/src/parser/cvc/CvcParser.c \
+   die
 }
 
 src_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/breakpad/, dev-util/breakpad/files/

2024-09-20 Thread Alfredo Tupone
commit: ab3e1e5cf5323e532343b21bed571b4e5618e4fd
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Sep 20 21:00:48 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Sep 20 21:01:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3e1e5c

dev-util/breakpad: bump to 2023.06.01 and fix musl build

Closes: https://bugs.gentoo.org/936393
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-util/breakpad/Manifest |   1 +
 dev-util/breakpad/breakpad-2023.01.27.ebuild   |   4 +
 ...023.01.27.ebuild => breakpad-2023.06.01.ebuild} |   4 +
 .../files/breakpad-2023.06.01-gentoo.patch | 129 +
 4 files changed, 138 insertions(+)

diff --git a/dev-util/breakpad/Manifest b/dev-util/breakpad/Manifest
index 71ea12e876ac..9473c897f098 100644
--- a/dev-util/breakpad/Manifest
+++ b/dev-util/breakpad/Manifest
@@ -1,2 +1,3 @@
 DIST breakpad-2022.07.12.tar.gz 5373070 BLAKE2B 
3598bcebf249c73a13eb77743ee993fb96ebf9585a68e45169afcf34fb836a126ce3b8d71e78dedd3407b843297857619de39fc38661ff80545d572dde098ea1
 SHA512 
872fa74520709d6510b798c7adfb7fed34a84b1831e774087515c23a005b0ea76ef7758bb565f0ff9f2153206cf53958621463fba0e055c9d31dc68f687e2b8f
 DIST breakpad-2023.01.27.tar.gz 5455242 BLAKE2B 
650f9c2ff4ee5e50f9d51573706757cc56a4d64171a5aea7b825327c55b05b9122d375e718951eee26c2bde7aae69d385205fa777fa23e61e5c97683f3c76120
 SHA512 
c6802c55653289780232b20e2abc0458c49f3cdff108c3ddfd6e40a2f378da34adbc158548e9c88cbfdbba9526477da9b68c2c45e205231e2802fe533b6bd6a4
+DIST breakpad-2023.06.01.tar.gz 5472205 BLAKE2B 
c1cb70944d044a699f01eb7ad4d3fc0e743ca33c74613fdeb06930077279d6559d797e9e5ef437968f088657f5ae71b01e8824d63759e5b8244a8deac0aecd3e
 SHA512 
7a231bbaf88f94c79b1ace1c3e66bd520595905bfc8a7ffa1aa453ea6f056136b82aea3a321d97db4ccfd1212a41e8790badcc43222564d861e9e5c35e40a402

diff --git a/dev-util/breakpad/breakpad-2023.01.27.ebuild 
b/dev-util/breakpad/breakpad-2023.01.27.ebuild
index f577690b56e5..a9c53669718b 100644
--- a/dev-util/breakpad/breakpad-2023.01.27.ebuild
+++ b/dev-util/breakpad/breakpad-2023.01.27.ebuild
@@ -46,6 +46,10 @@ src_prepare() {
-e "/AS_VAR_APPEND/d" \
configure.ac \
|| die
+   sed -i \
+   -e 's|reinterpret_cast|static_cast|g' \
+   src/processor/minidump_processor_unittest.cc \
+   || die
eautoreconf
 }
 

diff --git a/dev-util/breakpad/breakpad-2023.01.27.ebuild 
b/dev-util/breakpad/breakpad-2023.06.01.ebuild
similarity index 90%
copy from dev-util/breakpad/breakpad-2023.01.27.ebuild
copy to dev-util/breakpad/breakpad-2023.06.01.ebuild
index f577690b56e5..a9c53669718b 100644
--- a/dev-util/breakpad/breakpad-2023.01.27.ebuild
+++ b/dev-util/breakpad/breakpad-2023.06.01.ebuild
@@ -46,6 +46,10 @@ src_prepare() {
-e "/AS_VAR_APPEND/d" \
configure.ac \
|| die
+   sed -i \
+   -e 's|reinterpret_cast|static_cast|g' \
+   src/processor/minidump_processor_unittest.cc \
+   || die
eautoreconf
 }
 

diff --git a/dev-util/breakpad/files/breakpad-2023.06.01-gentoo.patch 
b/dev-util/breakpad/files/breakpad-2023.06.01-gentoo.patch
new file mode 100644
index ..e12429add48e
--- /dev/null
+++ b/dev-util/breakpad/files/breakpad-2023.06.01-gentoo.patch
@@ -0,0 +1,129 @@
+--- a/src/common/linux/libcurl_wrapper.h   2022-06-07 21:55:00.387396660 
+0200
 b/src/common/linux/libcurl_wrapper.h   2022-06-07 21:55:18.450145751 
+0200
+@@ -36,7 +36,7 @@
+ #include 
+ 
+ #include "common/using_std_string.h"
+-#include "third_party/curl/curl.h"
++#include 
+ 
+ namespace google_breakpad {
+ 
+--- a/src/common/linux/http_upload.cc  2022-06-07 21:53:55.505298529 +0200
 b/src/common/linux/http_upload.cc  2022-06-07 21:54:17.944986506 +0200
+@@ -34,7 +34,7 @@
+ 
+ #include 
+ #include 
+-#include "third_party/curl/curl.h"
++#include 
+ 
+ namespace {
+ 
+--- a/src/processor/disassembler_x86.h 2022-06-08 08:41:45.569686249 +0200
 b/src/processor/disassembler_x86.h 2022-06-08 08:42:09.049377873 +0200
+@@ -42,7 +42,7 @@
+ #include "google_breakpad/common/breakpad_types.h"
+ 
+ namespace libdis {
+-#include "third_party/libdisasm/libdis.h"
++#include 
+ }
+ 
+ namespace google_breakpad {
+--- a/Makefile.am  2022-06-08 08:51:35.221948155 +0200
 b/Makefile.am  2022-06-08 08:53:21.679551745 +0200
+@@ -176,7 +176,6 @@
+ 
+ lib_LIBRARIES += src/libbreakpad.a
+ pkgconfig_DATA += breakpad.pc
+-noinst_LIBRARIES += src/third_party/libdisasm/libdisasm.a
+ 
+ ## Programs
+ bin_PROGRAMS += \
+@@ -957,7 +956,7 @@
+   src/processor/stackwalker_x86.o \
+   src/processor/symbolic_constants_win.o \
+   src/processor/tokenize.o \
+-  src/third_party/libdisasm/libdisasm.a \
++  -ldisasm \
+   $(TEST_LIBS) \

[gentoo-commits] repo/gentoo:master commit in: dev-libs/dynolog/, dev-libs/dynolog/files/

2024-09-18 Thread Alfredo Tupone
commit: b8e455b33e095bb7e43bc4c090227361e0c9233e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Sep 18 20:14:02 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Wed Sep 18 20:17:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e455b3

dev-libs/dynolog: gcc15

Closes: https://bugs.gentoo.org/937537
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild |  1 +
 dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc15.patch | 10 ++
 2 files changed, 11 insertions(+)

diff --git a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild 
b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild
index 0df5a58659f9..ca74802f6de0 100644
--- a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild
+++ b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild
@@ -72,6 +72,7 @@ PATCHES=(
"${FILESDIR}"/${P}-riscv.patch
"${FILESDIR}"/${P}-musl.patch
"${FILESDIR}"/${P}-libcxx.patch
+   "${FILESDIR}"/${P}-gcc15.patch
 )
 
 CMAKE_SKIP_TESTS=( "Defs.CpuSet" "KernelCollecterTest.NetworkStatsTest" )

diff --git a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc15.patch 
b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc15.patch
new file mode 100644
index ..f3e55f56f2d7
--- /dev/null
+++ b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc15.patch
@@ -0,0 +1,10 @@
+--- a/third_party/cpr/include/cpr/callback.h   2024-09-18 22:01:50.107007518 
+0200
 b/third_party/cpr/include/cpr/callback.h   2024-09-18 22:03:21.582963325 
+0200
+@@ -4,6 +4,7 @@
+ #include "cprtypes.h"
+ 
+ #include 
++#include 
+ #include 
+ 
+ namespace cpr {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/

2024-09-16 Thread Alfredo Tupone
commit: 580d02432beaed6af819f89437de5fe5597b399a
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Sep 16 17:35:45 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Sep 16 17:38:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=580d0243

sci-libs/caffe2: require sleef with avx512

Closes: https://bugs.gentoo.org/939726
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/caffe2-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/caffe2/caffe2-2.4.1.ebuild 
b/sci-libs/caffe2/caffe2-2.4.1.ebuild
index 6af5a5c2e4c4..f9d7151d0a06 100644
--- a/sci-libs/caffe2/caffe2-2.4.1.ebuild
+++ b/sci-libs/caffe2/caffe2-2.4.1.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
dev-cpp/opentelemetry-cpp
dev-libs/protobuf:=
dev-libs/pthreadpool
-   dev-libs/sleef
+   dev-libs/sleef[cpu_flags_x86_avx512f(+)]
virtual/lapack
sci-libs/onnx
sci-libs/foxi



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/

2024-09-15 Thread Alfredo Tupone
commit: c301811bfd857e80951713b04f3074f8d11fe037
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep 15 17:54:07 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep 15 18:38:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c301811b

sci-libs/caffe2: drop 2.2.2-r1

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/Manifest   |   1 -
 sci-libs/caffe2/caffe2-2.2.2-r1.ebuild | 270 -
 2 files changed, 271 deletions(-)

diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index dd1a52237d51..8233a46783dc 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -1,5 +1,4 @@
 DIST caffe2-patches-20240809.tar.gz 15242 BLAKE2B 
77503c61487e7d85cca5afcab9a6e638f9833a70861845638cf1b62bc492d7b6650e6db81d53ebb2f39c6313509250d339f725f04d03ec6dd23dd0cf70843d8c
 SHA512 
74b3b0b6671b655ecac93f7436c4ed7cb0157a83aafbf6afcc0811e11cef341cd8f638db1a111bcbb01e1a6dd4daf3a36b96d7a8ce90f04c2fa091bd6e3a142b
-DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07929a32565cd57d7cc5b2d9888e9ae71ca301853752fe8f31d174d04c9974eb9ed2f3d452360a50ccf024f200726a
 SHA512 
7990e0f9484038c3458c0bda2c863bf2b19e56edab81fc5938c6e0f08b17558287f853bb67350e8cca8f42bec0f1d4ba0e94e50a145db8da44bdd4bd703d91d0
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587
 DIST pytorch-2.4.0.tar.gz 115031093 BLAKE2B 
d206477963977011627df284efa01482fbf57e9fcb5f58f51d679c742b8e5dde6aa6affd8745ab817fcd09477d129a81e74e07be576b5d3585eaca1c735b8e01
 SHA512 
804d25944035f33de6591fd942fbda44d3de037717a4397d38a97474b01775d30eaf93d16dd708a832c0119050d24d73b90990fd3e3773be79d26ada25244d22

diff --git a/sci-libs/caffe2/caffe2-2.2.2-r1.ebuild 
b/sci-libs/caffe2/caffe2-2.2.2-r1.ebuild
deleted file mode 100644
index 773808bc4f76..
--- a/sci-libs/caffe2/caffe2-2.2.2-r1.ebuild
+++ /dev/null
@@ -1,270 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-ROCM_VERSION=5.7
-inherit python-single-r1 cmake cuda flag-o-matic prefix rocm
-
-MYPN=pytorch
-MYP=${MYPN}-${PV}
-
-DESCRIPTION="A deep learning framework"
-HOMEPAGE="https://pytorch.org/";
-SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz
-   -> ${MYP}.tar.gz
-   https://dev.gentoo.org/~tupone/distfiles/${PN}-patches-20240809.tar.gz";
-
-S="${WORKDIR}"/${MYP}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="cuda distributed fbgemm ffmpeg gloo mkl mpi nnpack +numpy onednn 
openblas opencl opencv openmp qnnpack rocm xnnpack"
-RESTRICT="test"
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   ffmpeg? ( opencv )
-   mpi? ( distributed )
-   gloo? ( distributed )
-   ?? ( cuda rocm )
-   rocm? ( || ( ${ROCM_REQUIRED_USE} ) )
-"
-
-# CUDA 12 not supported yet: https://github.com/pytorch/pytorch/issues/91122
-RDEPEND="
-   ${PYTHON_DEPS}
-   dev-cpp/gflags:=
-   >=dev-cpp/glog-0.5.0
-   dev-libs/cpuinfo
-   dev-libs/libfmt
-   dev-libs/protobuf:=
-   dev-libs/pthreadpool
-   dev-libs/sleef
-   virtual/lapack
-   sci-libs/onnx
-   sci-libs/foxi
-   cuda? (
-   =dev-libs/cudnn-8*
-   >=dev-libs/cudnn-frontend-0.9.2:0/8
-   =dev-libs/FBGEMM-2023.12.01 )
-   ffmpeg? ( media-video/ffmpeg:= )
-   gloo? ( sci-libs/gloo[cuda?] )
-   mpi? ( virtual/mpi )
-   nnpack? ( sci-libs/NNPACK )
-   numpy? ( $(python_gen_cond_dep '
-   dev-python/numpy[${PYTHON_USEDEP}]
-   ') )
-   onednn? ( dev-libs/oneDNN )
-   opencl? ( virtual/opencl )
-   opencv? ( media-libs/opencv:= )
-   qnnpack? ( sci-libs/QNNPACK )
-   rocm? (
-   =dev-util/hip-5.7*
-   =dev-libs/rccl-5.7*[${ROCM_USEDEP}]
-   =sci-libs/rocThrust-5.7*[${ROCM_USEDEP}]
-   =sci-libs/rocPRIM-5.7*[${ROCM_USEDEP}]
-   =sci-libs/hipBLAS-5.7*[${ROCM_USEDEP}]
-   =sci-libs/hipFFT-5.7*[${ROCM_USEDEP}]
-   =sci-libs/hipSPARSE-5.7*[${ROCM_USEDEP}]
-   =sci-libs/hipRAND-5.7*[${ROCM_USEDEP}]
-   =sci-libs/hip

[gentoo-commits] repo/gentoo:master commit in: sci-libs/pytorch/

2024-09-15 Thread Alfredo Tupone
commit: eaa1b009c725592f13779ff05083b69c511a8182
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep 15 17:42:37 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep 15 17:42:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa1b009

sci-libs/pytorch: drop 2.2.2

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/pytorch/Manifest |  1 -
 sci-libs/pytorch/pytorch-2.2.2.ebuild | 66 ---
 2 files changed, 67 deletions(-)

diff --git a/sci-libs/pytorch/Manifest b/sci-libs/pytorch/Manifest
index 16bc3b0635f6..abce85ddf365 100644
--- a/sci-libs/pytorch/Manifest
+++ b/sci-libs/pytorch/Manifest
@@ -1,4 +1,3 @@
-DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07929a32565cd57d7cc5b2d9888e9ae71ca301853752fe8f31d174d04c9974eb9ed2f3d452360a50ccf024f200726a
 SHA512 
7990e0f9484038c3458c0bda2c863bf2b19e56edab81fc5938c6e0f08b17558287f853bb67350e8cca8f42bec0f1d4ba0e94e50a145db8da44bdd4bd703d91d0
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587
 DIST pytorch-2.4.0.tar.gz 115031093 BLAKE2B 
d206477963977011627df284efa01482fbf57e9fcb5f58f51d679c742b8e5dde6aa6affd8745ab817fcd09477d129a81e74e07be576b5d3585eaca1c735b8e01
 SHA512 
804d25944035f33de6591fd942fbda44d3de037717a4397d38a97474b01775d30eaf93d16dd708a832c0119050d24d73b90990fd3e3773be79d26ada25244d22

diff --git a/sci-libs/pytorch/pytorch-2.2.2.ebuild 
b/sci-libs/pytorch/pytorch-2.2.2.ebuild
deleted file mode 100644
index 75fbde095842..
--- a/sci-libs/pytorch/pytorch-2.2.2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_EXT=1
-inherit distutils-r1 prefix
-
-DESCRIPTION="Tensors and Dynamic neural networks in Python"
-HOMEPAGE="https://pytorch.org/";
-SRC_URI="https://github.com/pytorch/${PN}/archive/refs/tags/v${PV}.tar.gz
-   -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="test"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-RDEPEND="
-   ${PYTHON_DEPS}
-   ~sci-libs/caffe2-${PV}[${PYTHON_SINGLE_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/typing-extensions[${PYTHON_USEDEP}]
-   dev-python/sympy[${PYTHON_USEDEP}]
-   ')
-"
-DEPEND="${RDEPEND}
-   $(python_gen_cond_dep '
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   ')
-"
-
-src_prepare() {
-   eapply \
-   "${FILESDIR}"/${PN}-2.1.1-dontbuildagain.patch \
-   
"${FILESDIR}"/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch
 \
-   "${FILESDIR}"/${PN}-2.0.0-global-dlopen.patch \
-   "${FILESDIR}"/pytorch-1.7.1-torch_shm_manager.patch \
-   "${FILESDIR}"/${PN}-1.13.0-setup.patch \
-   "${FILESDIR}"/${PN}-2.2.1-emptyso.patch \
-
-   # Set build dir for pytorch's setup
-   sed -i \
-   -e "/BUILD_DIR/s|build|/var/lib/caffe2/|" \
-   tools/setup_helpers/env.py \
-   || die
-   distutils-r1_src_prepare
-
-   hprefixify tools/setup_helpers/env.py
-}
-
-python_compile() {
-   PYTORCH_BUILD_VERSION=${PV} \
-   PYTORCH_BUILD_NUMBER=0 \
-   USE_SYSTEM_LIBS=ON \
-   CMAKE_BUILD_DIR="${BUILD_DIR}" \
-   distutils-r1_python_compile develop sdist
-}
-
-python_install() {
-   USE_SYSTEM_LIBS=ON distutils-r1_python_install
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pytorch/

2024-09-15 Thread Alfredo Tupone
commit: 7d2a681fc6ad2e976cdf553088e86751ecbada1c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep 15 17:02:44 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep 15 17:32:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2a681f

sci-libs/pytorch: add 2.4.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/pytorch/Manifest |  1 +
 sci-libs/pytorch/pytorch-2.4.1.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/sci-libs/pytorch/Manifest b/sci-libs/pytorch/Manifest
index f34355be2e16..16bc3b0635f6 100644
--- a/sci-libs/pytorch/Manifest
+++ b/sci-libs/pytorch/Manifest
@@ -2,3 +2,4 @@ DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587
 DIST pytorch-2.4.0.tar.gz 115031093 BLAKE2B 
d206477963977011627df284efa01482fbf57e9fcb5f58f51d679c742b8e5dde6aa6affd8745ab817fcd09477d129a81e74e07be576b5d3585eaca1c735b8e01
 SHA512 
804d25944035f33de6591fd942fbda44d3de037717a4397d38a97474b01775d30eaf93d16dd708a832c0119050d24d73b90990fd3e3773be79d26ada25244d22
+DIST pytorch-2.4.1.tar.gz 115029469 BLAKE2B 
c2909ff27d527bc57cba56b780d3b8cd07a043ab045caa6c6b27857a16f9ad10aaab2116b26226b1e46ee08ffb44007965d914464418e4ae14ca48c3f3f383bb
 SHA512 
7e9b4485e242eaf0d648765c6621d73d95e7107b766646a098175436d1ab2e2b864badd0757a3bab6b7c318233f2120bad9ac07b39bb9e357897919580c87631

diff --git a/sci-libs/pytorch/pytorch-2.4.1.ebuild 
b/sci-libs/pytorch/pytorch-2.4.1.ebuild
new file mode 100644
index ..31e3b0439a9d
--- /dev/null
+++ b/sci-libs/pytorch/pytorch-2.4.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_EXT=1
+inherit distutils-r1 prefix
+
+DESCRIPTION="Tensors and Dynamic neural networks in Python"
+HOMEPAGE="https://pytorch.org/";
+SRC_URI="https://github.com/pytorch/${PN}/archive/refs/tags/v${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+RDEPEND="
+   ${PYTHON_DEPS}
+   ~sci-libs/caffe2-${PV}[${PYTHON_SINGLE_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/typing-extensions[${PYTHON_USEDEP}]
+   dev-python/sympy[${PYTHON_USEDEP}]
+   ')
+"
+DEPEND="${RDEPEND}
+   $(python_gen_cond_dep '
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   ')
+"
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}"/${PN}-2.4.0-dontbuildagain.patch \
+   
"${FILESDIR}"/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch
 \
+   "${FILESDIR}"/${PN}-2.4.0-global-dlopen.patch \
+   "${FILESDIR}"/pytorch-2.4.0-torch_shm_manager.patch \
+   "${FILESDIR}"/${PN}-1.13.0-setup.patch \
+   "${FILESDIR}"/${PN}-2.2.1-emptyso.patch \
+
+   # Set build dir for pytorch's setup
+   sed -i \
+   -e "/BUILD_DIR/s|build|/var/lib/caffe2/|" \
+   tools/setup_helpers/env.py \
+   || die
+   distutils-r1_src_prepare
+
+   hprefixify tools/setup_helpers/env.py
+}
+
+python_compile() {
+   PYTORCH_BUILD_VERSION=${PV} \
+   PYTORCH_BUILD_NUMBER=0 \
+   USE_SYSTEM_LIBS=ON \
+   CMAKE_BUILD_DIR="${BUILD_DIR}" \
+   distutils-r1_python_compile develop sdist
+}
+
+python_install() {
+   USE_SYSTEM_LIBS=ON distutils-r1_python_install
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/

2024-09-15 Thread Alfredo Tupone
commit: 5f25c1e96259f72ba80d6a2bf09de758819dd207
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep 15 16:52:09 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep 15 17:32:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f25c1e9

sci-libs/caffe2: add 2.4.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/Manifest|   1 +
 sci-libs/caffe2/caffe2-2.4.1.ebuild | 296 
 2 files changed, 297 insertions(+)

diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index d190ba229493..dd1a52237d51 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -3,3 +3,4 @@ DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587
 DIST pytorch-2.4.0.tar.gz 115031093 BLAKE2B 
d206477963977011627df284efa01482fbf57e9fcb5f58f51d679c742b8e5dde6aa6affd8745ab817fcd09477d129a81e74e07be576b5d3585eaca1c735b8e01
 SHA512 
804d25944035f33de6591fd942fbda44d3de037717a4397d38a97474b01775d30eaf93d16dd708a832c0119050d24d73b90990fd3e3773be79d26ada25244d22
+DIST pytorch-2.4.1.tar.gz 115029469 BLAKE2B 
c2909ff27d527bc57cba56b780d3b8cd07a043ab045caa6c6b27857a16f9ad10aaab2116b26226b1e46ee08ffb44007965d914464418e4ae14ca48c3f3f383bb
 SHA512 
7e9b4485e242eaf0d648765c6621d73d95e7107b766646a098175436d1ab2e2b864badd0757a3bab6b7c318233f2120bad9ac07b39bb9e357897919580c87631

diff --git a/sci-libs/caffe2/caffe2-2.4.1.ebuild 
b/sci-libs/caffe2/caffe2-2.4.1.ebuild
new file mode 100644
index ..6af5a5c2e4c4
--- /dev/null
+++ b/sci-libs/caffe2/caffe2-2.4.1.ebuild
@@ -0,0 +1,296 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+ROCM_VERSION=6.1
+inherit python-single-r1 cmake cuda flag-o-matic prefix rocm toolchain-funcs
+
+MYPN=pytorch
+MYP=${MYPN}-${PV}
+
+DESCRIPTION="A deep learning framework"
+HOMEPAGE="https://pytorch.org/";
+SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz
+   -> ${MYP}.tar.gz
+   https://dev.gentoo.org/~tupone/distfiles/${PN}-patches-20240809.tar.gz";
+
+S="${WORKDIR}"/${MYP}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cuda distributed fbgemm flash gloo mkl mpi nnpack +numpy onednn openblas 
opencl openmp qnnpack rocm xnnpack"
+RESTRICT="test"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   mpi? ( distributed )
+   gloo? ( distributed )
+   ?? ( cuda rocm )
+   rocm? (
+   || ( ${ROCM_REQUIRED_USE} )
+   !flash
+   )
+"
+
+# CUDA 12 not supported yet: https://github.com/pytorch/pytorch/issues/91122
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-cpp/gflags:=
+   >=dev-cpp/glog-0.5.0
+   dev-libs/cpuinfo
+   dev-libs/libfmt
+   dev-cpp/opentelemetry-cpp
+   dev-libs/protobuf:=
+   dev-libs/pthreadpool
+   dev-libs/sleef
+   virtual/lapack
+   sci-libs/onnx
+   sci-libs/foxi
+   cuda? (
+   dev-libs/cudnn
+   >=dev-libs/cudnn-frontend-1.0.3:0/8
+   =dev-libs/FBGEMM-2023.12.01 )
+   gloo? ( sci-libs/gloo[cuda?] )
+   mpi? ( virtual/mpi )
+   nnpack? ( sci-libs/NNPACK )
+   numpy? ( $(python_gen_cond_dep '
+   dev-python/numpy[${PYTHON_USEDEP}]
+   ') )
+   onednn? ( dev-libs/oneDNN )
+   opencl? ( virtual/opencl )
+   qnnpack? (
+   !sci-libs/QNNPACK
+   dev-cpp/gemmlowp
+   )
+   rocm? (
+   =dev-util/hip-6.1*
+   =dev-libs/rccl-6.1*[${ROCM_USEDEP}]
+   =sci-libs/rocThrust-6.1*[${ROCM_USEDEP}]
+   =sci-libs/rocPRIM-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipBLAS-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipFFT-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipSPARSE-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipRAND-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipCUB-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipSOLVER-6.1*[${ROCM_USEDEP}]
+   =sci-libs/miopen-6.1*[${ROCM_USEDEP}]
+   =dev-util/roctracer-6.1*[${ROCM_USEDEP}]
+
+   =sci-libs/hipBLASLt-6

[gentoo-commits] repo/gentoo:master commit in: dev-libs/sleef/

2024-09-15 Thread Alfredo Tupone
commit: 7e72b3e1ec48c2e8ede51f9d6fcf629575479f2e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep 15 16:56:33 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep 15 17:32:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e72b3e1

dev-libs/sleef: enable selecting simd is (for x86/amd64)

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/sleef/sleef-3.6.1-r2.ebuild | 47 
 1 file changed, 47 insertions(+)

diff --git a/dev-libs/sleef/sleef-3.6.1-r2.ebuild 
b/dev-libs/sleef/sleef-3.6.1-r2.ebuild
new file mode 100644
index ..a96143b5fae7
--- /dev/null
+++ b/dev-libs/sleef/sleef-3.6.1-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Implements vectorized versions of C standard math functions"
+HOMEPAGE="https://sleef.org/";
+SRC_URI="https://github.com/shibatch/${PN}/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f 
cpu_flags_x86_fma4 cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? ( >=dev-libs/mpfr-4.2 )
+"
+
+PATCHES=( "${FILESDIR}"/${P}-musl.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DSLEEF_DISABLE_FFTW=ON
+   -DSLEEF_BUILD_QUAD=ON
+   -DSLEEF_BUILD_TESTS=$(usex test ON OFF)
+   -DSLEEF_DISABLE_AVX=$(usex cpu_flags_x86_avx OFF ON)
+   -DSLEEF_DISABLE_AVX2=$(usex cpu_flags_x86_avx2 OFF ON)
+   -DSLEEF_DISABLE_AVX512F=$(usex cpu_flags_x86_avx512f OFF ON)
+   -DSLEEF_DISABLE_FMA4=$(usex cpu_flags_x86_fma4 OFF ON)
+   -DSLEEF_DISABLE_SSE2=$(usex cpu_flags_x86_sse2 OFF ON)
+   -DSLEEF_DISABLE_SSE4=$(usex cpu_flags_x86_sse4_1 OFF ON)
+   )
+
+   cmake_src_configure
+}
+
+src_test() {
+
+   local myctestargs=(
+   -E "iut(y)?purec(fma)?_scalar"
+   )
+   cmake_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/

2024-09-11 Thread Alfredo Tupone
commit: 26540bfb78d841a1586f63532b4313dce618f4a5
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Sep 11 15:30:38 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Wed Sep 11 15:31:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26540bfb

dev-util/astyle: add 3.6.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-util/astyle/Manifest|  2 +
 dev-util/astyle/astyle-3.6.1.ebuild | 88 +
 2 files changed, 90 insertions(+)

diff --git a/dev-util/astyle/Manifest b/dev-util/astyle/Manifest
index 259fc80a29e0..a611d53cfaf1 100644
--- a/dev-util/astyle/Manifest
+++ b/dev-util/astyle/Manifest
@@ -1,3 +1,5 @@
 DIST astyle-3.4.9.tar.bz2 229873 BLAKE2B 
f698ec0f3447caf64f324760f9d9feabeb9588f603fb1bfd60b5272cc12525e8c942c084b325f7be1bfe93663de360727ddf8bdc65d38c84512852106cb2f70b
 SHA512 
6538e1e9464564819bd1d8eef041de063a74e8974d2cc5942046a03fa70bd5472c20438bfd270dcf1f00d250d961129ce53b5ad18646505837e176c4e0e3f00a
 DIST astyle-3.4.9.tar.bz2.asc 488 BLAKE2B 
a5ed720e7c87f3603ba514e0fd15fb3a6687d913ec6cb41323aa5b1b38e76ac4ece310307ad23f8ba4c5d3e7b0cc00b78684d0c219fc50cd9e5db9c327c4f04b
 SHA512 
b9f18e2c20b431b98859b996c52b31edbd9368d3a7ada1324f3139984f5480af860981f3b72802f548f2a73e53232f35fc2256a8a3eb7cc6a31685921682d9e4
+DIST astyle-3.6.1.tar.bz2 230500 BLAKE2B 
827bfdc14de670ada49556b564d50cf96e015a7e982e939e564faf7eaee4dfd3698257051b3a43ad0c2933307fa7ede727bf9ed8625b9761e6ae338b4b120a16
 SHA512 
b62fcedc6afe683fc466e86f572d3b39df59fd03c951406c6efff44b893c26df74ede315ffeec1a336f79773f7e1503361365f61e10fa1e07e97c036bd076320
+DIST astyle-3.6.1.tar.bz2.asc 488 BLAKE2B 
9af44cf696b3f7d62649a8f0ce9ae296263e5de5cd5032f96ef90f83fb762c1de92c91e470839e11dda228be14706406eb6eb31cdc06c9e74f42f4edc524ef91
 SHA512 
b297e6d4cf3fe6599ac25a8d792865f62e4fb5f917101d6615dd18b87840bc52e5e9be83b1fa25e85cc80a2838b28fbefecda2b70c3e73bff650447f3c8a8951
 DIST astyle_3.1_linux.tar.gz 185589 BLAKE2B 
d0bc9bf3403de89d207f33ac885c7cd57fd1e71314c947e1593ee24ade9ce36c83c6fd8e7021f44d8d3b344ea3add63fa5a7b246c40f10193dc38b51e7ad36bc
 SHA512 
2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2

diff --git a/dev-util/astyle/astyle-3.6.1.ebuild 
b/dev-util/astyle/astyle-3.6.1.ebuild
new file mode 100644
index ..401c4b1a41b8
--- /dev/null
+++ b/dev-util/astyle/astyle-3.6.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andresimon.asc
+
+inherit toolchain-funcs java-pkg-opt-2 verify-sig
+
+DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and 
Java source code"
+HOMEPAGE="https://astyle.sourceforge.net/ https://gitlab.com/saalen/astyle";
+SRC_URI="
+   https://downloads.sourceforge.net/astyle/${P}.tar.bz2
+   http://www.andre-simon.de/zip/${P}.tar.bz2
+   verify-sig? ( http://www.andre-simon.de/zip/${P}.tar.bz2.asc )
+"
+
+LICENSE="MIT"
+SLOT="0/3.2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
+IUSE="examples java static-libs"
+
+COMMON_DEPEND="
+   app-arch/xz-utils
+"
+DEPEND="${COMMON_DEPEND}
+   java? ( >=virtual/jdk-1.8:* )
+"
+RDEPEND="${COMMON_DEPEND}
+   java? ( >=virtual/jre-1.8:* )
+"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-andresimon )"
+
+src_prepare() {
+   if use java ; then
+   java-pkg-opt-2_src_prepare
+   sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= 
$(java-pkg_get-jni-cflags):" \
+   -e "s:ar crs:$(tc-getAR) crs:" \
+   -i build/gcc/Makefile || die
+   else
+   default
+   fi
+}
+
+src_configure() {
+   tc-export CXX
+   default
+}
+
+src_compile() {
+   # ../build/clang/Makefile is identical except for CXX line.
+   emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \
+   ${PN} \
+   shared \
+   $(usev java) \
+   $(usev static-libs static)
+}
+
+src_install() {
+   doheader src/${PN}.h
+
+   pushd src/bin >/dev/null || die
+   dobin ${PN}
+
+   local libastylename="lib${PN}.so.${SLOT##*/}.0"
+   local libastylejname="lib${PN}j.so.${SLOT##*/}.0"
+   local libdestdir="/usr/$(get_libdir)"
+
+   dolib.so "${libastylename}"
+   dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(ver_cut 1 
${SLOT##*/})"
+   dosym "${libastylename}" "${libdestdir}/lib${PN}.so"
+   if use java ; then
+   dolib.so "${libastylejname}"
+   dosym "${libastylejname}" 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/sleef/, dev-libs/sleef/files/

2024-09-09 Thread Alfredo Tupone
commit: a8754edb45dc26c67e8fc99eea3a0b9463668730
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Sep  9 16:48:25 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Sep  9 16:49:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8754edb

dev-libs/sleef: musl porting

Closes: https://bugs.gentoo.org/939347
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/sleef/files/sleef-3.6.1-musl.patch | 11 +++
 dev-libs/sleef/sleef-3.6.1-r1.ebuild|  2 ++
 2 files changed, 13 insertions(+)

diff --git a/dev-libs/sleef/files/sleef-3.6.1-musl.patch 
b/dev-libs/sleef/files/sleef-3.6.1-musl.patch
new file mode 100644
index ..9fc5ca865b89
--- /dev/null
+++ b/dev-libs/sleef/files/sleef-3.6.1-musl.patch
@@ -0,0 +1,11 @@
+--- a/src/libm-tester/tester2simdsp.c  2024-09-09 18:40:10.340986358 +0200
 b/src/libm-tester/tester2simdsp.c  2024-09-09 18:40:43.240620974 +0200
+@@ -892,7 +892,7 @@
+   double u0 = countULPsp(t = vget(xacoshf(vd), e), frx);
+   
+   if ((fabs(d) < sqrt(FLT_MAX) && u0 > 1.0001) ||
+-(d >=  sqrt(FLT_MAX) && !(u0 <= 1.0001 || (isinff(t) && t > 0))) ||
++(d >=  sqrt(FLT_MAX) && !(u0 <= 1.0001 || (isinf(t) && t > 0))) ||
+ (d <= -sqrt(FLT_MAX) && !isnan(t))) {
+   printf(ISANAME " acoshf arg=%.20g ulp=%.20g\n", d, u0);
+   fflush(stdout); ecnt++;

diff --git a/dev-libs/sleef/sleef-3.6.1-r1.ebuild 
b/dev-libs/sleef/sleef-3.6.1-r1.ebuild
index 11911f2e2f68..52829e8b 100644
--- a/dev-libs/sleef/sleef-3.6.1-r1.ebuild
+++ b/dev-libs/sleef/sleef-3.6.1-r1.ebuild
@@ -20,6 +20,8 @@ BDEPEND="
test? ( >=dev-libs/mpfr-4.2 )
 "
 
+PATCHES=( "${FILESDIR}"/${P}-musl.patch )
+
 src_configure() {
local mycmakeargs=(
-DSLEEF_DISABLE_FFTW=ON



[gentoo-commits] repo/gentoo:master commit in: dev-libs/sleef/

2024-09-09 Thread Alfredo Tupone
commit: 1b0dc460610714867d122b9f52fd505d7e90763f
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Sep  9 10:22:06 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Sep  9 10:22:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0dc460

dev-libs/sleef: update CMAKE var name

Closes: https://bugs.gentoo.org/939341
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/sleef/{sleef-3.6.1.ebuild => sleef-3.6.1-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/sleef/sleef-3.6.1.ebuild 
b/dev-libs/sleef/sleef-3.6.1-r1.ebuild
similarity index 87%
rename from dev-libs/sleef/sleef-3.6.1.ebuild
rename to dev-libs/sleef/sleef-3.6.1-r1.ebuild
index 9d490a1a98d0..11911f2e2f68 100644
--- a/dev-libs/sleef/sleef-3.6.1.ebuild
+++ b/dev-libs/sleef/sleef-3.6.1-r1.ebuild
@@ -22,9 +22,9 @@ BDEPEND="
 
 src_configure() {
local mycmakeargs=(
-   -DDISABLE_FFTW=ON
-   -DBUILD_QUAD=ON
-   -DBUILD_TESTS=$(usex test ON OFF)
+   -DSLEEF_DISABLE_FFTW=ON
+   -DSLEEF_BUILD_QUAD=ON
+   -DSLEEF_BUILD_TESTS=$(usex test ON OFF)
)
 
cmake_src_configure



[gentoo-commits] repo/gentoo:master commit in: profiles/

2024-09-08 Thread Alfredo Tupone
commit: 7286759e001a17c692d0406ef44124f433862b15
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep  8 18:38:25 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep  8 18:40:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7286759e

profiles: last rite for dev-ml/stdune and friends

Signed-off-by: Alfredo Tupone  gentoo.org>

 profiles/package.mask | 8 
 1 file changed, 8 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 3ed140cf9506..7f5f7b4d779e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,14 @@
 
 #--- END OF EXAMPLES ---
 
+# Alfredo Tupone  (2024-06-09)
+# These packages are no more needed. Use dev-ml/dune-private-libs
+# that include these
+# remove on 2024-10-08. Bug #939339
+dev-ml/stdune
+dev-ml/ordering
+dev-ml/dyn
+
 # Michał Górny  (2024-09-08)
 # Does not build anymore.  No upstream activity since 2021.
 # Removal on 2024-10-08.  Bug #932532.



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/

2024-09-08 Thread Alfredo Tupone
commit: 52ad8297357293e2e0992e85ada3b7ee5a70284f
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep  8 17:17:48 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep  8 17:18:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ad8297

dev-ml/dune-private-libs: drop 3.10.0, 3.13.1-r3

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dune-private-libs/Manifest  |  2 --
 .../dune-private-libs-3.10.0.ebuild| 36 ---
 .../dune-private-libs-3.13.1-r3.ebuild | 40 --
 3 files changed, 78 deletions(-)

diff --git a/dev-ml/dune-private-libs/Manifest 
b/dev-ml/dune-private-libs/Manifest
index 07ed9773b1b6..11a5b6eec098 100644
--- a/dev-ml/dune-private-libs/Manifest
+++ b/dev-ml/dune-private-libs/Manifest
@@ -1,5 +1,3 @@
 DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 
27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d
 SHA512 
4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77
 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 
3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152
 SHA512 
df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
-DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.10.0.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.10.0.ebuild
deleted file mode 100644
index b8d5b743c22b..
--- a/dev-ml/dune-private-libs/dune-private-libs-3.10.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune multiprocessing
-
-DESCRIPTION="Private libraries of Dune"
-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.5"
-DEPEND="
-   >=dev-ml/csexp-1.5:=[ocamlopt?]
-   dev-ml/pp:=[ocamlopt?]
-   ~dev-ml/dyn-${PV}:=[ocamlopt?]
-   ~dev-ml/stdune-${PV}:=[ocamlopt?]
-   >=dev-lang/ocaml-4.08
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || 
die
-}

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r3.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r3.ebuild
deleted file mode 100644
index b8de85c41fbe..
--- a/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Private libraries of Dune"
-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.5"
-DEPEND="
-   dev-ml/csexp:=[ocamlopt?]
-"
-RDEPEND="${DEPEND}
-   !dev-ml/stdune
-   !dev-ml/dyn
-   !dev-ml/ordering
-"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ordering dyn stdune ${PN}
-}
-
-src_install() {
-   dune-install ordering dyn stdune ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/sleef/

2024-09-08 Thread Alfredo Tupone
commit: ce95705e071ec0367d36f547c2733e1d04c3c5cc
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep  8 16:13:16 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep  8 16:14:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce95705e

dev-libs/sleef: add 3.6.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/sleef/Manifest   |  1 +
 dev-libs/sleef/sleef-3.6.1.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/dev-libs/sleef/Manifest b/dev-libs/sleef/Manifest
index 7ca5bfa2e46b..7036f919d1c4 100644
--- a/dev-libs/sleef/Manifest
+++ b/dev-libs/sleef/Manifest
@@ -1 +1,2 @@
 DIST sleef-3.5.1.tar.gz 1210108 BLAKE2B 
e10e23cb830252dd2ed34e24bfd79b5e812640572afedad899cccd462019c7a4e41c7b3b9f0ff5a77549fc45dbc51ae0ebeeada4c38f011cdac0262d2982ade8
 SHA512 
e8e4e5028db52998c6b82bd462622c08d670e4e85273327f1c3bdbd900827dd7793b217c2876ca1229b6f672493bb96f40140e14366390cccea0e6780689e128
+DIST sleef-3.6.1.tar.gz 1628079 BLAKE2B 
b4d0c25d1f1425da8cc7ea038810b5bd9601502678c2e53695ff6b38aa2a8522f3f69eb5f949ff60b9e800935e7ab586005dc704c6337f257fa11f9c0569b2b5
 SHA512 
05ec78763fc89a0ad782b442aad643b75da8787bd7a69e3a2a55ece7883baa1d88a1a342768ccba46997f20eca976d625f24a8c424376d21d84aaa595804fba5

diff --git a/dev-libs/sleef/sleef-3.6.1.ebuild 
b/dev-libs/sleef/sleef-3.6.1.ebuild
new file mode 100644
index ..9d490a1a98d0
--- /dev/null
+++ b/dev-libs/sleef/sleef-3.6.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Implements vectorized versions of C standard math functions"
+HOMEPAGE="https://sleef.org/";
+SRC_URI="https://github.com/shibatch/${PN}/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? ( >=dev-libs/mpfr-4.2 )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DDISABLE_FFTW=ON
+   -DBUILD_QUAD=ON
+   -DBUILD_TESTS=$(usex test ON OFF)
+   )
+
+   cmake_src_configure
+}
+
+src_test() {
+
+   local myctestargs=(
+   -E "iut(y)?purec(fma)?_scalar"
+   )
+   cmake_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cudnn-frontend/

2024-09-08 Thread Alfredo Tupone
commit: 4931459cfe15a1cec209f9d1cfa2bb23c98824c7
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep  8 12:30:25 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep  8 12:30:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4931459c

dev-libs/cudnn-frontend: add 1.4.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/cudnn-frontend/Manifest|  1 +
 dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild | 20 
 2 files changed, 21 insertions(+)

diff --git a/dev-libs/cudnn-frontend/Manifest b/dev-libs/cudnn-frontend/Manifest
index 87fb519735df..5abdb5da3981 100644
--- a/dev-libs/cudnn-frontend/Manifest
+++ b/dev-libs/cudnn-frontend/Manifest
@@ -3,3 +3,4 @@ DIST cudnn-frontend-0.7.3.tar.gz 18685637 BLAKE2B 
77ce32fb84cca43a431c6ad0d7be96
 DIST cudnn-frontend-0.9.2.tar.gz 18582081 BLAKE2B 
d8611231f73f3716bca8c2d851439355121ca2460dd46cf8149632fa53094b7b2a2e9d6840dfcd2c1da113f8b6f06c15559c90c6c5333b36d5c29bd9997733e1
 SHA512 
0cc326e8395183ab3bc2d90a2155a80318daa9c1d6b30522efc42716bd7000ba036d802a8080a1a6a1f3c017a514f2bed936df57a7cab92c8fcd0136f4312912
 DIST cudnn-frontend-1.0.3.tar.gz 423596 BLAKE2B 
a7bf970dac5e9977a1c80609cdd169ec5764f366880030329372ec0ac49668ddf67ee33a4a19df6b9f799832fa857f62f94e27ea055f3549ac209ab9f564c28a
 SHA512 
2ad346c52e03589e9edcc0ef8ee0fe48fdc6f73aa8136f9f3729796d5ce60718b486fc8a1036fbdcee2cc899c633a11f1fce9204417a0fb14333a4b51a749db0
 DIST cudnn-frontend-1.1.2.tar.gz 436616 BLAKE2B 
9749219fd176fa8eba50e3ab6c63940dce95a095a850bfd9747f47cc91e077792c184d8d0629be31865eab6d6cda627c948de744d5f6d6d9522c1a91931d26f5
 SHA512 
88407f75ec82c2e04fe72148090f0f56a56a088dccd6beab850df6f761ad8ed7527391c80e667dd2073b8313d0416dbd28eca92dd18a538a3fdbc420c13f552c
+DIST cudnn-frontend-1.4.0.tar.gz 607171 BLAKE2B 
2c90239d7aad6a346c40c4a41b2bdfacc4717df020b9e845135068eec8f2043a6096b2d398d8ee46e05e5936ab5c4fe2529a5432083cdf00456ed11842591b43
 SHA512 
36026e4d2da2d7287dcdd4a4e0c9516ecc6b954a0dc11f115678e85280a223f557b420f1760ed6efa85acf3b0c3bcba82befb3d8c761a4989e73ddcdbbef8e79

diff --git a/dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild 
b/dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild
new file mode 100644
index ..10648668e6c9
--- /dev/null
+++ b/dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A c++ wrapper for the cudnn backend API"
+HOMEPAGE="https://github.com/NVIDIA/cudnn-frontend";
+SRC_URI="https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/8"
+KEYWORDS="~amd64"
+
+RDEPEND="=dev-libs/cudnn-8*"
+DEPEND="${RDEPEND}"
+
+src_install() {
+   insinto /opt/cuda/targets/x86_64-linux
+   doins -r include
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-site/

2024-09-07 Thread Alfredo Tupone
commit: 028571cff27b6dab739c65e0469e559cb0512935
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Sep  8 06:45:55 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Sep  8 06:46:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=028571cf

dev-ml/dune-site: drop 3.10.0, 3.13.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dune-site/Manifest|  2 --
 dev-ml/dune-site/dune-site-3.10.0.ebuild | 31 ---
 dev-ml/dune-site/dune-site-3.13.1.ebuild | 32 
 3 files changed, 65 deletions(-)

diff --git a/dev-ml/dune-site/Manifest b/dev-ml/dune-site/Manifest
index f3e01b729c27..0c7a900e152e 100644
--- a/dev-ml/dune-site/Manifest
+++ b/dev-ml/dune-site/Manifest
@@ -1,4 +1,2 @@
 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 
3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152
 SHA512 
df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
-DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23

diff --git a/dev-ml/dune-site/dune-site-3.10.0.ebuild 
b/dev-ml/dune-site/dune-site-3.10.0.ebuild
deleted file mode 100644
index 026b796bf660..
--- a/dev-ml/dune-site/dune-site-3.10.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune multiprocessing
-
-DESCRIPTION="Embed locations informations inside executable and libraries"
-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="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm ~arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   ~dev-ml/dune-private-libs-${PV}:=[ocamlopt=]
-"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune build -p ${PN} @install -j $(makeopts_jobs) --display short || die
-}

diff --git a/dev-ml/dune-site/dune-site-3.13.1.ebuild 
b/dev-ml/dune-site/dune-site-3.13.1.ebuild
deleted file mode 100644
index c4983f46bea7..
--- a/dev-ml/dune-site/dune-site-3.13.1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Embed locations informations inside executable and libraries"
-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="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   >=dev-ml/dune-3.5
-   ~dev-ml/dune-private-libs-${PV}:=[ocamlopt=]
-"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-configurator/

2024-09-07 Thread Alfredo Tupone
commit: 2079b99ce136e1d6c212409bd650293b6d2ed083
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Sep  7 20:13:46 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Sep  7 20:14:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2079b99c

dev-ml/dune-configurator: drop 3.6.1, 3.7.1, 3.10.0, 3.11.1, 3.13.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dune-configurator/Manifest  |  5 ---
 .../dune-configurator-3.10.0.ebuild| 39 --
 .../dune-configurator-3.11.1.ebuild| 39 --
 .../dune-configurator-3.13.1.ebuild| 39 --
 .../dune-configurator-3.6.1.ebuild | 39 --
 .../dune-configurator-3.7.1.ebuild | 39 --
 6 files changed, 200 deletions(-)

diff --git a/dev-ml/dune-configurator/Manifest 
b/dev-ml/dune-configurator/Manifest
index b1a8f56fd48a..11a5b6eec098 100644
--- a/dev-ml/dune-configurator/Manifest
+++ b/dev-ml/dune-configurator/Manifest
@@ -1,8 +1,3 @@
 DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 
27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d
 SHA512 
4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77
 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 
3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152
 SHA512 
df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
-DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
-DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23
-DIST dune-3.6.1.tar.gz 1843804 BLAKE2B 
1e7bf67b596f60a553f00cfd8287ce36ef4ff5b8d8f16465df3f3b7b6d332ceef5101057df9389aeb9ceb4dc7f23bc69320412aebba7587deeb933a0f8ddca46
 SHA512 
2db83116a3d0995c8d0dfd6a1581d214f657a7d90c30dea04d5370327e13c575fed6ce74106a79c2e2fe0c02aa2912ae7a9f4e49c36985fb613b6a41de0700c9
-DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/dune-configurator/dune-configurator-3.10.0.ebuild 
b/dev-ml/dune-configurator/dune-configurator-3.10.0.ebuild
deleted file mode 100644
index 61c47864a4a6..
--- a/dev-ml/dune-configurator/dune-configurator-3.10.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune multiprocessing
-
-DESCRIPTION="Helper library for gathering system configuration"
-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.5"
-DEPEND="
-   >=dev-ml/csexp-1.5:=[ocamlopt?]
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-
-   # This enables dune-configurator to use the vendored csexp module
-   sed -i 's/stdune.csexp/dune-configurator.csexp/' \
-   vendor/csexp/src/dune || die
-}
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || 
die
-}

di

[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune/

2024-09-06 Thread Alfredo Tupone
commit: cd4c26fc5153f16bf7f54a08df423c5a90ec5f23
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Sep  6 20:28:25 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Sep  6 20:28:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4c26fc

dev-ml/dune: drop 3.6.2, 3.7.0, 3.7.1, 3.10.0, 3.11.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dune/Manifest   |  5 ---
 dev-ml/dune/dune-3.10.0.ebuild | 72 --
 dev-ml/dune/dune-3.11.1.ebuild | 70 
 dev-ml/dune/dune-3.6.2.ebuild  | 68 ---
 dev-ml/dune/dune-3.7.0.ebuild  | 68 ---
 dev-ml/dune/dune-3.7.1.ebuild  | 68 ---
 6 files changed, 351 deletions(-)

diff --git a/dev-ml/dune/Manifest b/dev-ml/dune/Manifest
index 41b50422137b..90b337f874e8 100644
--- a/dev-ml/dune/Manifest
+++ b/dev-ml/dune/Manifest
@@ -1,10 +1,5 @@
 DIST dune-2.8.4.tar.gz 1372925 BLAKE2B 
5b6d6738a0dc701d852e6cc59a1998f64c006d233f43a804b0b9b677a6eadda25aa20f52799c90910d361e4bc565636a50d218ad5d0a9927239adc5be36b3889
 SHA512 
13b36eb6a943f9513987a23dab467b2e449cc3a4de35227f8323c3c724b27f19daac500602141ab22a0457924c8484ce27a7f73e46a72e796d30fb1c3253
 DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 
27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d
 SHA512 
4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77
 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 
3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152
 SHA512 
df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
-DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23
-DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
-DIST dune-3.7.0.tar.gz 2010139 BLAKE2B 
045fc6ee033325b074aac869c32b55f243bc561b796adfb83011f7ef95352bc0d8161fbb563744286ef145323b59a2854534c4e366532894a1ba5ff78a615f32
 SHA512 
f83d55939513cf292d89cbc38dbe2431cf453c5d5cfdab2239946e2845d10ea57be8643bb8047fe82499bb21561e861dcd8b749c55a1ba18377996c6a0b48239
-DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/dune/dune-3.10.0.ebuild b/dev-ml/dune/dune-3.10.0.ebuild
deleted file mode 100644
index 7ce496828320..
--- a/dev-ml/dune/dune-3.10.0.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multiprocessing elisp-common
-
-DESCRIPTION="A composable build system for OCaml"
-HOMEPAGE="https://github.com/ocaml/dune";
-SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
-IUSE="emacs"
-RESTRICT="strip test"
-
-RDEPEND="
-   >=dev-lang/ocaml-4.08:=
-   emacs? ( >=app-editors/emacs-23.1:* )
-"
-DEPEND="${RDEPEND}&quo

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gloo/, sci-libs/gloo/files/

2024-09-06 Thread Alfredo Tupone
commit: 0e7f41fb57f3aae0cb7473b161eb9a2d37adb6bf
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Sep  6 20:08:06 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Sep  6 20:08:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7f41fb

sci-libs/gloo: gcc15

Closes: https://bugs.gentoo.org/939097
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/gloo/files/gloo-2023.12.03-gcc15.patch | 10 ++
 sci-libs/gloo/gloo-2023.12.03.ebuild|  1 +
 2 files changed, 11 insertions(+)

diff --git a/sci-libs/gloo/files/gloo-2023.12.03-gcc15.patch 
b/sci-libs/gloo/files/gloo-2023.12.03-gcc15.patch
new file mode 100644
index ..d68b4e551053
--- /dev/null
+++ b/sci-libs/gloo/files/gloo-2023.12.03-gcc15.patch
@@ -0,0 +1,10 @@
+--- a/gloo/types.h 2024-09-06 22:05:07.308213847 +0200
 b/gloo/types.h 2024-09-06 22:05:32.598941783 +0200
+@@ -5,6 +5,7 @@
+ #pragma once
+ 
+ #include 
++#include 
+ 
+ #ifdef __CUDA_ARCH__
+ #include 

diff --git a/sci-libs/gloo/gloo-2023.12.03.ebuild 
b/sci-libs/gloo/gloo-2023.12.03.ebuild
index 16201cde8c0d..bb2bc3e914c1 100644
--- a/sci-libs/gloo/gloo-2023.12.03.ebuild
+++ b/sci-libs/gloo/gloo-2023.12.03.ebuild
@@ -38,6 +38,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2022.05.18-gentoo.patch
"${FILESDIR}"/${PN}-2023.01.17-cuda.patch
"${FILESDIR}"/${PN}-2023.01.17-ssl3.patch
+   "${FILESDIR}"/${P}-gcc15.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorpipe/files/, sci-libs/tensorpipe/

2024-09-06 Thread Alfredo Tupone
commit: e734e6b99cc2405a1afea8bb036230d2b13d6ed1
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Sep  6 20:02:28 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Sep  6 20:03:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e734e6b9

sci-libs/tensorpipe: gcc-15

Closes: https://bugs.gentoo.org/939120
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch | 10 ++
 sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild |  7 ---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch 
b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch
new file mode 100644
index ..e22dfbe5025b
--- /dev/null
+++ b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch
@@ -0,0 +1,10 @@
+--- a/tensorpipe/common/allocator.h2024-09-06 21:57:32.806149494 +0200
 b/tensorpipe/common/allocator.h2024-09-06 21:57:54.018918083 +0200
+@@ -13,6 +13,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ 

diff --git a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild 
b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
index 0ff4c6216eef..7783066e9de0 100644
--- a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
+++ b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,8 @@ HOMEPAGE="https://github.com/pytorch/tensorpipe/";
 SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
-> ${P}.tar.gz"
 
+S="${WORKDIR}"/${PN}-${CommitId}
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -28,11 +30,10 @@ DEPEND="${RDEPEND}
dev-libs/libnop
 "
 
-S="${WORKDIR}"/${PN}-${CommitId}
-
 PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-musl.patch
+   "${FILESDIR}"/${P}-gcc15.patch
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/, sci-libs/caffe2/files/

2024-09-05 Thread Alfredo Tupone
commit: f3d19697e96e0ce4d32484dc6ebf88c139ac710c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Sep  5 07:06:30 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Sep  5 07:07:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d19697

sci-libs/caffe2: fix for gcc-15

Closes: https://bugs.gentoo.org/939069
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/caffe2-2.4.0-r1.ebuild   |  1 +
 sci-libs/caffe2/files/caffe2-2.4.0-cstdint.patch | 10 ++
 2 files changed, 11 insertions(+)

diff --git a/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild 
b/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild
index d8e42de52185..e990c18926b2 100644
--- a/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild
+++ b/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild
@@ -126,6 +126,7 @@ PATCHES=(
../patches/${PN}-2.3.0-fix-libcpp.patch
"${FILESDIR}"/${PN}-2.4.0-libfmt-11.patch
"${FILESDIR}"/${P}-cpp-httplib.patch
+   "${FILESDIR}"/${P}-cstdint.patch
 )
 
 src_prepare() {

diff --git a/sci-libs/caffe2/files/caffe2-2.4.0-cstdint.patch 
b/sci-libs/caffe2/files/caffe2-2.4.0-cstdint.patch
new file mode 100644
index ..f248ab031eb0
--- /dev/null
+++ b/sci-libs/caffe2/files/caffe2-2.4.0-cstdint.patch
@@ -0,0 +1,10 @@
+--- a/caffe2/utils/string_utils.cc 2024-09-05 08:29:06.930438069 +0200
 b/caffe2/utils/string_utils.cc 2024-09-05 08:29:28.398137596 +0200
+@@ -3,6 +3,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ namespace caffe2 {
+ 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/onnx/

2024-09-04 Thread Alfredo Tupone
commit: a81812c1f82f324843c383eda80c30f495ebfe50
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Sep  4 16:15:05 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Wed Sep  4 16:15:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81812c1

sci-libs/onnx: rdepend on abseil-cpp:=

Closes: https://bugs.gentoo.org/939018
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/onnx/Manifest |  1 -
 ...onnx-1.16.0-r1.ebuild => onnx-1.16.1-r1.ebuild} |  4 +-
 sci-libs/onnx/onnx-1.16.1.ebuild   | 71 --
 3 files changed, 2 insertions(+), 74 deletions(-)

diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 65f50bc1fcf2..5b59ba271455 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,2 +1 @@
-DIST onnx-1.16.0.tar.gz 12428161 BLAKE2B 
b0d16212c527078fcbe46af8efaf8bfccb0a22825cfee3c88728314599bc90f5b43ae407cc9ec10300ed19367dff769a5d6ba29d2faa61fd8e27029e2d64e83a
 SHA512 
ef641447d8d6c4ed9f083793fe14a8568d6aa7b9b7e7b859a4082e9b892acd801230da2027d097ceaa0d68bbd37b2422b89bb7d1d55d5c3b5955c0f9c7c657c5
 DIST onnx-1.16.1.tar.gz 12428832 BLAKE2B 
15a7db2fa263914957c671bd8e94eb8b80afeba0b396e8b54f8fb2deda2965885055efae7a6f6e402eb085b5795025020f650132023ba3d4df1f395d99ec353c
 SHA512 
0ae1b36563ddeaa9947bf452eb20b83174e4c2bc4696b61768f096c401666323343fac0f699f756da99d3c29df15a0bd78fe3fa51da15f133617d7310c5b28d4

diff --git a/sci-libs/onnx/onnx-1.16.0-r1.ebuild 
b/sci-libs/onnx/onnx-1.16.1-r1.ebuild
similarity index 97%
rename from sci-libs/onnx/onnx-1.16.0-r1.ebuild
rename to sci-libs/onnx/onnx-1.16.1-r1.ebuild
index 16f073d9b4d3..0e8227eb2487 100644
--- a/sci-libs/onnx/onnx-1.16.0-r1.ebuild
+++ b/sci-libs/onnx/onnx-1.16.1-r1.ebuild
@@ -22,9 +22,9 @@ RDEPEND="
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
dev-libs/protobuf:=
+   dev-cpp/abseil-cpp:=
 "
-DEPEND="${RDEPEND}
-   dev-cpp/abseil-cpp"
+DEPEND="${RDEPEND}"
 
 src_prepare() {
eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch

diff --git a/sci-libs/onnx/onnx-1.16.1.ebuild b/sci-libs/onnx/onnx-1.16.1.ebuild
deleted file mode 100644
index 16f073d9b4d3..
--- a/sci-libs/onnx/onnx-1.16.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx";
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
-   -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE="disableStaticReg"
-RESTRICT="test"
-
-RDEPEND="
-   dev-python/protobuf-python[${PYTHON_USEDEP}]
-   dev-python/pybind11[${PYTHON_USEDEP}]
-   dev-libs/protobuf:=
-"
-DEPEND="${RDEPEND}
-   dev-cpp/abseil-cpp"
-
-src_prepare() {
-   eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch
-   cmake_src_prepare
-   distutils-r1_src_prepare
-}
-
-python_configure_all()
-{
-   mycmakeargs=(
-   -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
-   -DONNX_USE_LITE_PROTO=ON
-   -DONNX_BUILD_SHARED_LIBS=ON
-   -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON 
OFF)
-   )
-   cmake_src_configure
-}
-
-src_configure() {
-   distutils-r1_src_configure
-}
-
-src_compile() {
-   mycmakeargs=(
-   -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
-   -DONNX_USE_LITE_PROTO=ON
-   -DONNX_BUILD_SHARED_LIBS=ON
-   -DONNX_DISABLE_STATIC_REGISTRATION=$(usex disableStaticReg ON 
OFF)
-   )
-   CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
-}
-
-python_compile_all() {
-   cmake_src_compile
-}
-
-python_install_all() {
-   cmake_src_install
-   distutils-r1_python_install_all
-}
-
-src_install() {
-   distutils-r1_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/files/, sci-libs/caffe2/

2024-09-03 Thread Alfredo Tupone
commit: c347f7335b65811fbf73dad70d68b84b6788b764
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Sep  4 04:40:36 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Wed Sep  4 04:58:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c347f733

sci-libs/caffe2: req cpp-httplib

Closes: https://bugs.gentoo.org/937635
Closes: https://bugs.gentoo.org/937788
Signed-off-by: Alfredo Tupone  gentoo.org>

 .../caffe2/{caffe2-2.4.0.ebuild => caffe2-2.4.0-r1.ebuild}  |  6 +-
 sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch| 13 +
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/sci-libs/caffe2/caffe2-2.4.0.ebuild 
b/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild
similarity index 98%
rename from sci-libs/caffe2/caffe2-2.4.0.ebuild
rename to sci-libs/caffe2/caffe2-2.4.0-r1.ebuild
index 81a8906ea669..d8e42de52185 100644
--- a/sci-libs/caffe2/caffe2-2.4.0.ebuild
+++ b/sci-libs/caffe2/caffe2-2.4.0-r1.ebuild
@@ -86,7 +86,10 @@ RDEPEND="
amdgpu_targets_gfx941? ( 
=sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx941] )
amdgpu_targets_gfx942? ( 
=sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx942] )
)
-   distributed? ( sci-libs/tensorpipe[cuda?] )
+   distributed? (
+   sci-libs/tensorpipe[cuda?]
+   dev-cpp/cpp-httplib
+   )
xnnpack? ( >=sci-libs/XNNPACK-2024.02.29 )
mkl? ( sci-libs/mkl )
openblas? ( sci-libs/openblas )
@@ -122,6 +125,7 @@ PATCHES=(
../patches/${PN}-2.3.0-fix-rocm-gcc14-clamp.patch
../patches/${PN}-2.3.0-fix-libcpp.patch
"${FILESDIR}"/${PN}-2.4.0-libfmt-11.patch
+   "${FILESDIR}"/${P}-cpp-httplib.patch
 )
 
 src_prepare() {

diff --git a/sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch 
b/sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch
new file mode 100644
index ..5d684a4a4738
--- /dev/null
+++ b/sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch
@@ -0,0 +1,13 @@
+--- a/torch/lib/libshm/CMakeLists.txt  2024-09-04 06:09:51.943752841 +0200
 b/torch/lib/libshm/CMakeLists.txt  2024-09-04 06:10:52.243821438 +0200
+@@ -24,6 +24,10 @@
+   CXX_STANDARD 17)
+ target_link_libraries(shm PRIVATE ${TORCH_CPU_LIB})
+ 
++if (USE_DISTRIBUTED)
++  target_link_libraries(shm PRIVATE cpp-httplib)
++endif()
++
+ if(UNIX AND NOT APPLE)
+   include(CheckLibraryExists)
+   find_package(Threads REQUIRED)



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/

2024-09-03 Thread Alfredo Tupone
commit: 084ecf16c2a03b111df71cb66b4c9d35f4975919
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Sep  3 13:23:07 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Tue Sep  3 13:23:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084ecf16

dev-ml/dune-private-libs: drop 2.8.4, 3.6.2, 3.7.1, 3.11.1-r3

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dune-private-libs/Manifest  |   4 -
 .../dune-private-libs-2.8.4.ebuild | 119 -
 .../dune-private-libs-3.11.1-r3.ebuild |  40 ---
 .../dune-private-libs-3.6.2.ebuild |  36 ---
 .../dune-private-libs-3.7.1.ebuild |  36 ---
 5 files changed, 235 deletions(-)

diff --git a/dev-ml/dune-private-libs/Manifest 
b/dev-ml/dune-private-libs/Manifest
index 4f329369c670..07ed9773b1b6 100644
--- a/dev-ml/dune-private-libs/Manifest
+++ b/dev-ml/dune-private-libs/Manifest
@@ -1,9 +1,5 @@
-DIST dune-2.8.4.tar.gz 1372925 BLAKE2B 
5b6d6738a0dc701d852e6cc59a1998f64c006d233f43a804b0b9b677a6eadda25aa20f52799c90910d361e4bc565636a50d218ad5d0a9927239adc5be36b3889
 SHA512 
13b36eb6a943f9513987a23dab467b2e449cc3a4de35227f8323c3c724b27f19daac500602141ab22a0457924c8484ce27a7f73e46a72e796d30fb1c3253
 DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 
27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d
 SHA512 
4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77
 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 
3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152
 SHA512 
df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23
-DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
-DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/dune-private-libs/dune-private-libs-2.8.4.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-2.8.4.ebuild
deleted file mode 100644
index 17169982c7f9..
--- a/dev-ml/dune-private-libs/dune-private-libs-2.8.4.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="A composable build system for OCaml"
-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 x86"
-IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   ~dev-ml/dune-${PV}
-   test? (
-   dev-ml/core_bench
-   dev-ml/menhir
-   dev-ml/opam
-   dev-ml/ppx_expect
-   )
-"
-DEPEND="
-   dev-ml/csexp:=[ocamlopt?]
-   dev-ml/findlib:=[ocamlopt?]
-   >=dev-lang/ocaml-4.09:=
-"
-RDEPEND="${DEPEND}"

[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-site/

2024-09-02 Thread Alfredo Tupone
commit: 12ab958081ec8ab6ce3516053d74c9820ff9d980
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Sep  2 18:50:02 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Sep  2 18:50:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ab9580

dev-ml/dune-site: drop 3.6.2, 3.7.1, 3.11.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dune-site/Manifest|  3 ---
 dev-ml/dune-site/dune-site-3.11.1.ebuild | 31 ---
 dev-ml/dune-site/dune-site-3.6.2.ebuild  | 31 ---
 dev-ml/dune-site/dune-site-3.7.1.ebuild  | 31 ---
 4 files changed, 96 deletions(-)

diff --git a/dev-ml/dune-site/Manifest b/dev-ml/dune-site/Manifest
index 2b3b5583f199..f3e01b729c27 100644
--- a/dev-ml/dune-site/Manifest
+++ b/dev-ml/dune-site/Manifest
@@ -1,7 +1,4 @@
 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 
3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152
 SHA512 
df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23
-DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
-DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/dune-site/dune-site-3.11.1.ebuild 
b/dev-ml/dune-site/dune-site-3.11.1.ebuild
deleted file mode 100644
index 189a22209544..
--- a/dev-ml/dune-site/dune-site-3.11.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Embed locations informations inside executable and libraries"
-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="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   ~dev-ml/dune-private-libs-${PV}:=[ocamlopt=]
-"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ${PN}
-}

diff --git a/dev-ml/dune-site/dune-site-3.6.2.ebuild 
b/dev-ml/dune-site/dune-site-3.6.2.ebuild
deleted file mode 100644
index d93c7b05f97d..
--- a/dev-ml/dune-site/dune-site-3.6.2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune multiprocessing
-
-DESCRIPTION="Embed locations informations inside executable and libraries"
-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="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   ~dev-ml/dune-private-libs-${PV}:=[ocamlopt=]
-"
-DEPEND="${RDEPEND}"
-
-src_con

[gentoo-commits] repo/gentoo:master commit in: sci-libs/kineto/

2024-08-12 Thread Alfredo Tupone
commit: fdffdbae9bcdf81b3fed3ba46e6c7505707c0d77
Author: Alfred Wingate  protonmail  com>
AuthorDate: Mon Aug 12 00:16:57 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Aug 12 19:42:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdffdbae

sci-libs/kineto: disable py3.9

noop change

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38109
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/kineto/kineto-0.4.0_p20240525.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild 
b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
index bf65eb454709..2c0e437f0197 100644
--- a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
+++ b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..13} )
+PYTHON_COMPAT=( python3_{10..13} )
 inherit python-any-r1 cmake prefix
 
 CommitId=be1317644c68b4bfc4646024a6b221066e430031



[gentoo-commits] repo/gentoo:master commit in: sci-libs/kineto/files/, sci-libs/kineto/

2024-08-12 Thread Alfredo Tupone
commit: 8d38aaad1a7e20f4877768e6a665a7b9bc29ed05
Author: Alfred Wingate  protonmail  com>
AuthorDate: Mon Aug 12 00:10:10 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Aug 12 19:42:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d38aaad

sci-libs/kineto: backport libfmt-11 build fix

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Alfredo Tupone  gentoo.org>

 .../files/kineto-0.4.0_p20240525-libfmt-11.patch   | 91 ++
 sci-libs/kineto/kineto-0.4.0_p20240525.ebuild  |  1 +
 2 files changed, 92 insertions(+)

diff --git a/sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch 
b/sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch
new file mode 100644
index ..d9ad7a3dbae9
--- /dev/null
+++ b/sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch
@@ -0,0 +1,91 @@
+https://github.com/pytorch/kineto/commit/eb34f147f2af821da931c18457c26b076c8491dd
+https://github.com/pytorch/kineto/pull/959
+https://github.com/pytorch/kineto/issues/958
+
+From eb34f147f2af821da931c18457c26b076c8491dd Mon Sep 17 00:00:00 2001
+From: Aaron Gokaslan 
+Date: Fri, 12 Jul 2024 09:23:33 -0700
+Subject: [PATCH] Update libfmt to 11-0-0. Closes #958. (#959)
+
+Summary:
+Fixes https://github.com/pytorch/kineto/issues/958
+
+Pull Request resolved: https://github.com/pytorch/kineto/pull/959
+
+Reviewed By: davidberard98, yoyoyocmu
+
+Differential Revision: D59637583
+
+Pulled By: aaronenyeshi
+
+fbshipit-source-id: 48def339ed3097ecb4746d7870203040ac535858
+--- a/src/Config.cpp
 b/src/Config.cpp
+@@ -12,6 +12,7 @@
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/src/CuptiRangeProfilerConfig.cpp
 b/src/CuptiRangeProfilerConfig.cpp
+@@ -12,6 +12,7 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+ 
+ 
+--- a/src/DeviceProperties.cpp
 b/src/DeviceProperties.cpp
+@@ -9,6 +9,7 @@
+ #include "DeviceProperties.h"
+ 
+ #include 
++#include 
+ #include 
+ 
+ #if defined(HAS_CUPTI)
+--- a/src/EventProfiler.cpp
 b/src/EventProfiler.cpp
+@@ -10,6 +10,7 @@
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/test/CuptiActivityProfilerTest.cpp
 b/test/CuptiActivityProfilerTest.cpp
+@@ -7,6 +7,7 @@
+  */
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/test/CuptiRangeProfilerConfigTest.cpp
 b/test/CuptiRangeProfilerConfigTest.cpp
+@@ -10,6 +10,7 @@
+ #include "src/CuptiRangeProfilerConfig.h"
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/test/CuptiRangeProfilerTest.cpp
 b/test/CuptiRangeProfilerTest.cpp
+@@ -16,6 +16,9 @@
+ #include 
+ #endif
+ 
++#include 
++#include 
++
+ #include "include/libkineto.h"

diff --git a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild 
b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
index ecabcbb39cff..bf65eb454709 100644
--- a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
+++ b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
@@ -32,6 +32,7 @@ RESTRICT="!test? ( test )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.4.0-gcc13.patch
+   "${FILESDIR}"/kineto-0.4.0_p20240525-libfmt-11.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/files/, sci-libs/caffe2/

2024-08-09 Thread Alfredo Tupone
commit: e3b7cde9d825c40eba0c1ee43a71d9455aa77c2c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Aug  9 16:12:10 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  9 16:13:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3b7cde9

sci-libs/caffe2: update SRC_URI

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/Manifest   |   2 +-
 sci-libs/caffe2/caffe2-2.2.2-r1.ebuild |  23 +-
 sci-libs/caffe2/caffe2-2.3.0-r3.ebuild |  33 +--
 sci-libs/caffe2/caffe2-2.3.1.ebuild|  33 +--
 sci-libs/caffe2/caffe2-2.4.0.ebuild|   2 +-
 .../caffe2/files/caffe2-1.12.0-glog-0.6.0.patch|  29 ---
 .../caffe2/files/caffe2-1.13.0-install-dirs.patch  | 121 ---
 .../caffe2/files/caffe2-1.13.1-tensorpipe.patch|  10 -
 .../files/caffe2-2.0.0-cudnn_include_fix.patch |  12 --
 sci-libs/caffe2/files/caffe2-2.0.0-gcc13.patch |  41 
 .../files/caffe2-2.1.2-fix-openmp-link.patch   |  15 --
 sci-libs/caffe2/files/caffe2-2.1.2-fix-rpath.patch |  12 --
 .../files/caffe2-2.1.2-rocm-fix-std-cpp17.patch|  68 --
 sci-libs/caffe2/files/caffe2-2.2.1-gentoo.patch| 195 -
 sci-libs/caffe2/files/caffe2-2.2.2-musl.patch  |  13 --
 sci-libs/caffe2/files/caffe2-2.3.0-CMakeFix.patch  |  11 -
 .../files/caffe2-2.3.0-cudnn_include_fix.patch |  11 -
 .../files/caffe2-2.3.0-exclude-aotriton.patch  |  35 ---
 .../caffe2-2.3.0-fix-gcc-clang-abi-compat.patch|  17 --
 .../caffe2/files/caffe2-2.3.0-fix-libcpp.patch |  24 ---
 .../files/caffe2-2.3.0-fix-rocm-gcc14-clamp.patch  |  18 --
 .../files/caffe2-2.3.0-optional-hipblaslt.patch| 235 -
 .../files/caffe2-2.3.0-rocm-fix-std-cpp17.patch|  68 --
 23 files changed, 48 insertions(+), 980 deletions(-)

diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index 0ab8e6d1b824..d190ba229493 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -1,4 +1,4 @@
-DIST caffe2-20240809.tar.gz 15242 BLAKE2B 
77503c61487e7d85cca5afcab9a6e638f9833a70861845638cf1b62bc492d7b6650e6db81d53ebb2f39c6313509250d339f725f04d03ec6dd23dd0cf70843d8c
 SHA512 
74b3b0b6671b655ecac93f7436c4ed7cb0157a83aafbf6afcc0811e11cef341cd8f638db1a111bcbb01e1a6dd4daf3a36b96d7a8ce90f04c2fa091bd6e3a142b
+DIST caffe2-patches-20240809.tar.gz 15242 BLAKE2B 
77503c61487e7d85cca5afcab9a6e638f9833a70861845638cf1b62bc492d7b6650e6db81d53ebb2f39c6313509250d339f725f04d03ec6dd23dd0cf70843d8c
 SHA512 
74b3b0b6671b655ecac93f7436c4ed7cb0157a83aafbf6afcc0811e11cef341cd8f638db1a111bcbb01e1a6dd4daf3a36b96d7a8ce90f04c2fa091bd6e3a142b
 DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07929a32565cd57d7cc5b2d9888e9ae71ca301853752fe8f31d174d04c9974eb9ed2f3d452360a50ccf024f200726a
 SHA512 
7990e0f9484038c3458c0bda2c863bf2b19e56edab81fc5938c6e0f08b17558287f853bb67350e8cca8f42bec0f1d4ba0e94e50a145db8da44bdd4bd703d91d0
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587

diff --git a/sci-libs/caffe2/caffe2-2.2.2-r1.ebuild 
b/sci-libs/caffe2/caffe2-2.2.2-r1.ebuild
index 6649975ddf2d..773808bc4f76 100644
--- a/sci-libs/caffe2/caffe2-2.2.2-r1.ebuild
+++ b/sci-libs/caffe2/caffe2-2.2.2-r1.ebuild
@@ -13,7 +13,8 @@ MYP=${MYPN}-${PV}
 DESCRIPTION="A deep learning framework"
 HOMEPAGE="https://pytorch.org/";
 SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz
-   -> ${MYP}.tar.gz"
+   -> ${MYP}.tar.gz
+   https://dev.gentoo.org/~tupone/distfiles/${PN}-patches-20240809.tar.gz";
 
 S="${WORKDIR}"/${MYP}
 
@@ -97,16 +98,16 @@ DEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-2.2.1-gentoo.patch
-   "${FILESDIR}"/${PN}-1.13.0-install-dirs.patch
-   "${FILESDIR}"/${PN}-1.12.0-glog-0.6.0.patch
-   "${FILESDIR}"/${PN}-1.13.1-tensorpipe.patch
-   "${FILESDIR}"/${PN}-2.0.0-gcc13.patch
-   "${FILESDIR}"/${PN}-2.0.0-cudnn_include_fix.patch
-   "${FILESDIR}"/${PN}-2.1.2-fix-rpath.patch
-   "${FILESDIR}"/${PN}-2.1.2-fix-openmp-link.patch
-   "${FILESDIR}"/${PN}-2.1.2-rocm-fix-std-cpp17.patch
-   "${FILESDIR}"/${P}-musl.patch
+   ../patches/${PN}-2.2.1-gentoo.patch
+   ../patc

[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/, sci-libs/caffe2/files/

2024-08-09 Thread Alfredo Tupone
commit: 81a12cf2fbf6fea73d91928f6362599f7bc4741f
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Aug  9 15:29:59 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  9 15:34:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a12cf2

sci-libs/caffe2: update SRC_URI

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/Manifest   |   1 +
 sci-libs/caffe2/caffe2-2.4.0.ebuild|  27 +--
 .../files/caffe2-2.4.0-exclude-aotriton.patch  |  65 ---
 .../files/caffe2-2.4.0-fix-openmp-link.patch   |  14 --
 sci-libs/caffe2/files/caffe2-2.4.0-gentoo.patch| 211 -
 .../caffe2/files/caffe2-2.4.0-install-dirs.patch   |  70 ---
 .../files/caffe2-2.4.0-rocm-fix-std-cpp17.patch|  50 -
 7 files changed, 15 insertions(+), 423 deletions(-)

diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index f34355be2e16..0ab8e6d1b824 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -1,3 +1,4 @@
+DIST caffe2-20240809.tar.gz 15242 BLAKE2B 
77503c61487e7d85cca5afcab9a6e638f9833a70861845638cf1b62bc492d7b6650e6db81d53ebb2f39c6313509250d339f725f04d03ec6dd23dd0cf70843d8c
 SHA512 
74b3b0b6671b655ecac93f7436c4ed7cb0157a83aafbf6afcc0811e11cef341cd8f638db1a111bcbb01e1a6dd4daf3a36b96d7a8ce90f04c2fa091bd6e3a142b
 DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07929a32565cd57d7cc5b2d9888e9ae71ca301853752fe8f31d174d04c9974eb9ed2f3d452360a50ccf024f200726a
 SHA512 
7990e0f9484038c3458c0bda2c863bf2b19e56edab81fc5938c6e0f08b17558287f853bb67350e8cca8f42bec0f1d4ba0e94e50a145db8da44bdd4bd703d91d0
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587

diff --git a/sci-libs/caffe2/caffe2-2.4.0.ebuild 
b/sci-libs/caffe2/caffe2-2.4.0.ebuild
index b4384eb7df11..730ea4d365f2 100644
--- a/sci-libs/caffe2/caffe2-2.4.0.ebuild
+++ b/sci-libs/caffe2/caffe2-2.4.0.ebuild
@@ -13,7 +13,8 @@ MYP=${MYPN}-${PV}
 DESCRIPTION="A deep learning framework"
 HOMEPAGE="https://pytorch.org/";
 SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz
-   -> ${MYP}.tar.gz"
+   -> ${MYP}.tar.gz
+   https://dev.gentoo.org/~tupone/distfiles/caffe2-20240809.tar.gz";
 
 S="${WORKDIR}"/${MYP}
 
@@ -108,18 +109,18 @@ DEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-2.4.0-gentoo.patch
-   "${FILESDIR}"/${PN}-2.4.0-install-dirs.patch
-   "${FILESDIR}"/${PN}-1.12.0-glog-0.6.0.patch
-   "${FILESDIR}"/${PN}-1.13.1-tensorpipe.patch
-   "${FILESDIR}"/${PN}-2.3.0-cudnn_include_fix.patch
-   "${FILESDIR}"/${PN}-2.1.2-fix-rpath.patch
-   "${FILESDIR}"/${PN}-2.4.0-fix-openmp-link.patch
-   "${FILESDIR}"/${PN}-2.4.0-rocm-fix-std-cpp17.patch
-   "${FILESDIR}"/${PN}-2.2.2-musl.patch
-   "${FILESDIR}"/${PN}-2.4.0-exclude-aotriton.patch
-   "${FILESDIR}"/${PN}-2.3.0-fix-rocm-gcc14-clamp.patch
-   "${FILESDIR}"/${PN}-2.3.0-fix-libcpp.patch
+   ../patches/${PN}-2.4.0-gentoo.patch
+   ../patches/${PN}-2.4.0-install-dirs.patch
+   ../patches/${PN}-1.12.0-glog-0.6.0.patch
+   ../patches/${PN}-1.13.1-tensorpipe.patch
+   ../patches/${PN}-2.3.0-cudnn_include_fix.patch
+   ../patches/${PN}-2.1.2-fix-rpath.patch
+   ../patches/${PN}-2.4.0-fix-openmp-link.patch
+   ../patches/${PN}-2.4.0-rocm-fix-std-cpp17.patch
+   ../patches/${PN}-2.2.2-musl.patch
+   ../patches/${PN}-2.4.0-exclude-aotriton.patch
+   ../patches/${PN}-2.3.0-fix-rocm-gcc14-clamp.patch
+   ../patches/${PN}-2.3.0-fix-libcpp.patch
 )
 
 src_prepare() {

diff --git a/sci-libs/caffe2/files/caffe2-2.4.0-exclude-aotriton.patch 
b/sci-libs/caffe2/files/caffe2-2.4.0-exclude-aotriton.patch
deleted file mode 100644
index 72ab792b2278..
--- a/sci-libs/caffe2/files/caffe2-2.4.0-exclude-aotriton.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-Disables aotriton download when both USE_FLASH_ATTENTION and 
USE_MEM_EFF_ATTENTION cmake flags are OFF
-Backports upstream PR to 2.3.0: https://github.com/pytorch/pytorch/pull/130197
 a/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp
-+++ b/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp
-@@ -24,7 +24

[gentoo-commits] repo/gentoo:master commit in: sci-libs/kineto/

2024-08-08 Thread Alfredo Tupone
commit: d19faaeaeb03a94746862b82a8820a5fabf72de2
Author: Sv. Lockal  gmail  com>
AuthorDate: Thu Aug  8 01:52:49 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  8 16:22:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19faaea

sci-libs/kineto: add 0.4.0_p20240525

Changes:
* explicitly disable tests: it requires nvcc (left for nvidia users)
* new version is set to commit for caffe2 2.4.0 submodule

Signed-off-by: Sv. Lockal  gmail.com>
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/kineto/Manifest  |  1 +
 sci-libs/kineto/kineto-0.4.0_p20240525.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/sci-libs/kineto/Manifest b/sci-libs/kineto/Manifest
index 5306787a3e16..ecca9794d523 100644
--- a/sci-libs/kineto/Manifest
+++ b/sci-libs/kineto/Manifest
@@ -1 +1,2 @@
 DIST kineto-0.4.0_p20231127.tar.gz 8234629 BLAKE2B 
ac6e13340817eb283e387e699e70e5113571b258ee3ebf72f2d4a54a6349be22d84701ddec67fbc72d12be3fb0c321a71c8dd64a7f8a6d679522c49f21304fbc
 SHA512 
316db3db624ae36720c0fcabb81f70c31b94ea64f18bc103aeadb75a25e06e113a774a3ec0c769881960ad61f3c2210172ccde1c451df653e7c430fbe89e4d9a
+DIST kineto-0.4.0_p20240525.tar.gz 8243259 BLAKE2B 
677529d327254c26000271a6c845356604598fb05ba57befd0e5cbd0f112f6776d2851ea1e2a7671a38ee6cb06df45db68ff0435fcddbf69496db43f5ec1e7ee
 SHA512 
41a08c7da9eea7d12402f80a5550c9d4df79798719cc52b12a507828c8c896ba28a37c35d8adf809ca72589e1d84965d5ef6dd01f3f8dc1c803c5ed67b03a43a

diff --git a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild 
b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
new file mode 100644
index ..ecabcbb39cff
--- /dev/null
+++ b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..13} )
+inherit python-any-r1 cmake prefix
+
+CommitId=be1317644c68b4bfc4646024a6b221066e430031
+
+DESCRIPTION="part of the PyTorch Profiler"
+HOMEPAGE="https://github.com/pytorch/kineto";
+SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
+   -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${CommitId}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+   dev-libs/libfmt
+   dev-libs/dynolog
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   test? ( dev-cpp/gtest )
+   ${PYTHON_DEPS}
+"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.4.0-gcc13.patch
+)
+
+src_prepare() {
+   cd libkineto
+   cmake_src_prepare
+}
+
+src_configure() {
+   cd libkineto
+   local mycmakeargs=(
+   -DLIBKINETO_THIRDPARTY_DIR="${EPREFIX}"/usr/include/
+   -DKINETO_BUILD_TESTS=OFF # tests require cuda toolkit
+   )
+   eapply $(prefixify_ro "${FILESDIR}"/${PN}-0.4.0_p20231031-gentoo.patch)
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/dynolog/files/, dev-libs/dynolog/

2024-08-08 Thread Alfredo Tupone
commit: 9560300b7a9c4572a3147f3f409aacb4d98a6196
Author: Sv. Lockal  gmail  com>
AuthorDate: Thu Aug  8 03:38:09 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  8 16:22:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9560300b

dev-libs/dynolog: fix compilation with libc++

Signed-off-by: Sv. Lockal  gmail.com>
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild  |  1 +
 dev-libs/dynolog/files/dynolog-0.3.1_p20230126-libcxx.patch | 13 +
 2 files changed, 14 insertions(+)

diff --git a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild 
b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild
index 806fe0946869..0df5a58659f9 100644
--- a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild
+++ b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild
@@ -71,6 +71,7 @@ PATCHES=(
"${FILESDIR}"/${P}-noWerror.patch
"${FILESDIR}"/${P}-riscv.patch
"${FILESDIR}"/${P}-musl.patch
+   "${FILESDIR}"/${P}-libcxx.patch
 )
 
 CMAKE_SKIP_TESTS=( "Defs.CpuSet" "KernelCollecterTest.NetworkStatsTest" )

diff --git a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-libcxx.patch 
b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-libcxx.patch
new file mode 100644
index ..64e51ae8c633
--- /dev/null
+++ b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-libcxx.patch
@@ -0,0 +1,13 @@
+dynolog mixes high_resolution_clock with system_clock, which is not allowed
+Upstream PR: https://github.com/facebookincubator/dynolog/pull/276
+--- a/hbt/src/common/Defs.h
 b/hbt/src/common/Defs.h
+@@ -40,7 +40,7 @@ template 
+ TStream& LogCtxt(TStream& oss) {
+   oss << "pid: " << gettid() << " on ";
+   // Put date and time.
+-  auto p = std::chrono::high_resolution_clock::now();
++  auto p = std::chrono::system_clock::now();
+   auto t_c = std::chrono::system_clock::to_time_t(p);
+   oss << std::put_time(std::localtime(&t_c), "%F %T");
+   // Put microseconds.



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pytorch/files/, sci-libs/pytorch/

2024-08-08 Thread Alfredo Tupone
commit: a2db294c0aa48d06c1bfb1df039cb4710bbc2848
Author: Sv. Lockal  gmail  com>
AuthorDate: Thu Aug  8 03:59:39 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  8 16:22:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2db294c

sci-libs/pytorch: add 2.4.0

No new patches, 3 patches required manual conflict resolution

Signed-off-by: Sv. Lockal  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38013
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/pytorch/Manifest  |  1 +
 .../files/pytorch-2.4.0-dontbuildagain.patch   | 17 ++
 .../files/pytorch-2.4.0-global-dlopen.patch| 20 +++
 .../files/pytorch-2.4.0-torch_shm_manager.patch| 11 
 sci-libs/pytorch/pytorch-2.4.0.ebuild  | 66 ++
 5 files changed, 115 insertions(+)

diff --git a/sci-libs/pytorch/Manifest b/sci-libs/pytorch/Manifest
index 246ab4d21a1a..f34355be2e16 100644
--- a/sci-libs/pytorch/Manifest
+++ b/sci-libs/pytorch/Manifest
@@ -1,3 +1,4 @@
 DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07929a32565cd57d7cc5b2d9888e9ae71ca301853752fe8f31d174d04c9974eb9ed2f3d452360a50ccf024f200726a
 SHA512 
7990e0f9484038c3458c0bda2c863bf2b19e56edab81fc5938c6e0f08b17558287f853bb67350e8cca8f42bec0f1d4ba0e94e50a145db8da44bdd4bd703d91d0
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587
+DIST pytorch-2.4.0.tar.gz 115031093 BLAKE2B 
d206477963977011627df284efa01482fbf57e9fcb5f58f51d679c742b8e5dde6aa6affd8745ab817fcd09477d129a81e74e07be576b5d3585eaca1c735b8e01
 SHA512 
804d25944035f33de6591fd942fbda44d3de037717a4397d38a97474b01775d30eaf93d16dd708a832c0119050d24d73b90990fd3e3773be79d26ada25244d22

diff --git a/sci-libs/pytorch/files/pytorch-2.4.0-dontbuildagain.patch 
b/sci-libs/pytorch/files/pytorch-2.4.0-dontbuildagain.patch
new file mode 100644
index ..4fe5b0bdeb86
--- /dev/null
+++ b/sci-libs/pytorch/files/pytorch-2.4.0-dontbuildagain.patch
@@ -0,0 +1,17 @@
+--- a/setup.py
 b/setup.py
+@@ -473,14 +473,6 @@ def build_deps():
+ check_pydep("yaml", "pyyaml")
+ build_python = not BUILD_LIBTORCH_WHL
+ 
+-build_caffe2(
+-version=version,
+-cmake_python_library=cmake_python_library,
+-build_python=build_python,
+-rerun_cmake=RERUN_CMAKE,
+-cmake_only=CMAKE_ONLY,
+-cmake=cmake,
+-)
+ 
+ if CMAKE_ONLY:
+ report(

diff --git a/sci-libs/pytorch/files/pytorch-2.4.0-global-dlopen.patch 
b/sci-libs/pytorch/files/pytorch-2.4.0-global-dlopen.patch
new file mode 100644
index ..e72ed94e6888
--- /dev/null
+++ b/sci-libs/pytorch/files/pytorch-2.4.0-global-dlopen.patch
@@ -0,0 +1,20 @@
+--- a/torch/__init__.py
 b/torch/__init__.py
+@@ -223,7 +223,7 @@ def _load_global_deps() -> None:
+ if library_path:
+ global_deps_lib_path = os.path.join(library_path, 'lib', lib_name)
+ try:
+-ctypes.CDLL(global_deps_lib_path, mode=ctypes.RTLD_GLOBAL)
++ctypes.CDLL(lib_name, mode=ctypes.RTLD_GLOBAL)
+ except OSError as err:
+ # Can only happen for wheel with cuda libs as PYPI deps
+ # As PyTorch is not purelib, but nvidia-*-cu12 is
+@@ -245,7 +245,7 @@ def _load_global_deps() -> None:
+ raise err
+ for lib_folder, lib_name in cuda_libs.items():
+ _preload_cuda_deps(lib_folder, lib_name)
+-ctypes.CDLL(global_deps_lib_path, mode=ctypes.RTLD_GLOBAL)
++ctypes.CDLL(lib_name, mode=ctypes.RTLD_GLOBAL)
+ 
+ if library_path:
+ # loading libtorch_global_deps first due its special logic

diff --git a/sci-libs/pytorch/files/pytorch-2.4.0-torch_shm_manager.patch 
b/sci-libs/pytorch/files/pytorch-2.4.0-torch_shm_manager.patch
new file mode 100644
index ..b1303d141dce
--- /dev/null
+++ b/sci-libs/pytorch/files/pytorch-2.4.0-torch_shm_manager.patch
@@ -0,0 +1,11 @@
+--- a/torch/__init__.py
 b/torch/__init__.py
+@@ -1691,7 +1691,7 @@ py_float = float
+ py_int = int
+ 
+ # Shared memory manager needs to know the exact location of manager executable
+-_C._initExtension(_manager_path())
++_C._initExtension(b"/usr/bin/torch_shm_manager")
+ del _manager_path
+ 
+ # Appease the type checker: it can't deal with direct setting of globals().

diff --git a/sci-libs/pytorch/pytorch

[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/, sci-libs/caffe2/files/

2024-08-08 Thread Alfredo Tupone
commit: 7354afd9d872a15c6bdf1ee831db7f7f131fca01
Author: Sv. Lockal  gmail  com>
AuthorDate: Thu Aug  8 03:44:50 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  8 16:22:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7354afd9

sci-libs/caffe2: add 2.4.0

Changes:
* This version has no integration with ffmpeg/opencv anymore
* qnnpack ceased to exist as a separate library. Now it is a part of c10 
sources. Splitting it to sci-libs/QNNPACK would require some major effort, 
while it is very unlikely that some non-pytorch project would use it. Therefore 
it is now bundled and sci-libs/QNNPACK added as a conflicting library (to be 
sunset in the future).
* sci-libs/hipBLASLt "is optional" patch was dropped, as it is now deeply 
integrated with caffe2. However it should not be a problem as 
sci-libs/hipBLASLt has "no kernels" mode where it compiles as a stub library 
(useful for all non-server GPUs)
* sci-libs/XNNPACK bumped; old xnnpack is not compatible
* sci-libs/kineto bumped; old kineto is not compatible
* no new patches, but 5 old patches require manual conflict resolution
* '-fclang-abi-compat=17' patch in previous release was incomplete; new version 
should handle clang+hipcc combination

Signed-off-by: Sv. Lockal  gmail.com>
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/Manifest   |   1 +
 sci-libs/caffe2/caffe2-2.4.0.ebuild| 289 +
 .../files/caffe2-2.4.0-exclude-aotriton.patch  |  65 +
 .../files/caffe2-2.4.0-fix-openmp-link.patch   |  14 +
 sci-libs/caffe2/files/caffe2-2.4.0-gentoo.patch| 211 +++
 .../caffe2/files/caffe2-2.4.0-install-dirs.patch   |  70 +
 .../files/caffe2-2.4.0-rocm-fix-std-cpp17.patch|  50 
 7 files changed, 700 insertions(+)

diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index 246ab4d21a1a..f34355be2e16 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -1,3 +1,4 @@
 DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07929a32565cd57d7cc5b2d9888e9ae71ca301853752fe8f31d174d04c9974eb9ed2f3d452360a50ccf024f200726a
 SHA512 
7990e0f9484038c3458c0bda2c863bf2b19e56edab81fc5938c6e0f08b17558287f853bb67350e8cca8f42bec0f1d4ba0e94e50a145db8da44bdd4bd703d91d0
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
 DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587
+DIST pytorch-2.4.0.tar.gz 115031093 BLAKE2B 
d206477963977011627df284efa01482fbf57e9fcb5f58f51d679c742b8e5dde6aa6affd8745ab817fcd09477d129a81e74e07be576b5d3585eaca1c735b8e01
 SHA512 
804d25944035f33de6591fd942fbda44d3de037717a4397d38a97474b01775d30eaf93d16dd708a832c0119050d24d73b90990fd3e3773be79d26ada25244d22

diff --git a/sci-libs/caffe2/caffe2-2.4.0.ebuild 
b/sci-libs/caffe2/caffe2-2.4.0.ebuild
new file mode 100644
index ..b4384eb7df11
--- /dev/null
+++ b/sci-libs/caffe2/caffe2-2.4.0.ebuild
@@ -0,0 +1,289 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+ROCM_VERSION=6.1
+inherit python-single-r1 cmake cuda flag-o-matic prefix rocm toolchain-funcs
+
+MYPN=pytorch
+MYP=${MYPN}-${PV}
+
+DESCRIPTION="A deep learning framework"
+HOMEPAGE="https://pytorch.org/";
+SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz
+   -> ${MYP}.tar.gz"
+
+S="${WORKDIR}"/${MYP}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cuda distributed fbgemm flash gloo mkl mpi nnpack +numpy onednn openblas 
opencl openmp qnnpack rocm xnnpack"
+RESTRICT="test"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   mpi? ( distributed )
+   gloo? ( distributed )
+   ?? ( cuda rocm )
+   rocm? (
+   || ( ${ROCM_REQUIRED_USE} )
+   !flash
+   )
+"
+
+# CUDA 12 not supported yet: https://github.com/pytorch/pytorch/issues/91122
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-cpp/gflags:=
+   >=dev-cpp/glog-0.5.0
+   dev-libs/cpuinfo
+   dev-libs/libfmt
+   dev-cpp/opentelemetry-cpp
+   dev-libs/protobuf:=
+   dev-libs/pthreadpool
+   dev-libs/sleef
+   virtual/lapack
+   sci-libs/onnx
+   sci-libs/foxi
+   cuda? (
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/

2024-08-03 Thread Alfredo Tupone
commit: b2e71ec0dd02a36929fccfd8e55e0b718410a1e6
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Aug  3 11:12:07 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Aug  3 11:12:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e71ec0

dev-ml/dune-private-libs: block stdune/ordering/dyn

Closes: https://bugs.gentoo.org/937224
Signed-off-by: Alfredo Tupone  gentoo.org>

 ...ate-libs-3.11.1-r2.ebuild => dune-private-libs-3.11.1-r3.ebuild} | 6 +-
 ...ate-libs-3.13.1-r2.ebuild => dune-private-libs-3.13.1-r3.ebuild} | 6 +-
 ...ate-libs-3.16.0-r2.ebuild => dune-private-libs-3.16.0-r3.ebuild} | 6 +-
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r2.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r3.ebuild
similarity index 90%
rename from dev-ml/dune-private-libs/dune-private-libs-3.11.1-r2.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.11.1-r3.ebuild
index aa0d715b7781..b8de85c41fbe 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r2.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r3.ebuild
@@ -21,7 +21,11 @@ BDEPEND=">=dev-ml/dune-3.5"
 DEPEND="
dev-ml/csexp:=[ocamlopt?]
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+   !dev-ml/stdune
+   !dev-ml/dyn
+   !dev-ml/ordering
+"
 
 src_configure() {
:

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r2.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r3.ebuild
similarity index 90%
rename from dev-ml/dune-private-libs/dune-private-libs-3.13.1-r2.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.13.1-r3.ebuild
index aa0d715b7781..b8de85c41fbe 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r2.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r3.ebuild
@@ -21,7 +21,11 @@ BDEPEND=">=dev-ml/dune-3.5"
 DEPEND="
dev-ml/csexp:=[ocamlopt?]
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+   !dev-ml/stdune
+   !dev-ml/dyn
+   !dev-ml/ordering
+"
 
 src_configure() {
:

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r2.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r3.ebuild
similarity index 90%
rename from dev-ml/dune-private-libs/dune-private-libs-3.16.0-r2.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.16.0-r3.ebuild
index 8cbbc65ce8b1..073bf6fdcb07 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r2.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r3.ebuild
@@ -21,7 +21,11 @@ BDEPEND=">=dev-ml/dune-3.12"
 DEPEND="
dev-ml/csexp:=[ocamlopt?]
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+   !dev-ml/stdune
+   !dev-ml/dyn
+   !dev-ml/ordering
+"
 
 src_configure() {
:



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/

2024-08-02 Thread Alfredo Tupone
commit: c478878e6cc8467cd7ca1ab2b30fe8ac370c3a00
Author: Hiroki Tokunaga  gmail  com>
AuthorDate: Fri Aug  2 14:45:52 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  2 17:10:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c478878e

dev-ml/dune-private-libs: install ordering, dyn, and stdune too

Signed-off-by: Hiroki Tokunaga  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37926
Signed-off-by: Alfredo Tupone  gentoo.org>

 ...ivate-libs-3.11.1-r1.ebuild => dune-private-libs-3.11.1-r2.ebuild} | 4 
 ...ivate-libs-3.13.1-r1.ebuild => dune-private-libs-3.13.1-r2.ebuild} | 4 
 ...ivate-libs-3.16.0-r1.ebuild => dune-private-libs-3.16.0-r2.ebuild} | 4 
 3 files changed, 12 insertions(+)

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r1.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r2.ebuild
similarity index 91%
rename from dev-ml/dune-private-libs/dune-private-libs-3.11.1-r1.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.11.1-r2.ebuild
index aed975f9adf0..aa0d715b7781 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r1.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r2.ebuild
@@ -30,3 +30,7 @@ src_configure() {
 src_compile() {
dune-compile ordering dyn stdune ${PN}
 }
+
+src_install() {
+   dune-install ordering dyn stdune ${PN}
+}

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r1.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r2.ebuild
similarity index 91%
rename from dev-ml/dune-private-libs/dune-private-libs-3.13.1-r1.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.13.1-r2.ebuild
index aed975f9adf0..aa0d715b7781 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r1.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r2.ebuild
@@ -30,3 +30,7 @@ src_configure() {
 src_compile() {
dune-compile ordering dyn stdune ${PN}
 }
+
+src_install() {
+   dune-install ordering dyn stdune ${PN}
+}

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r1.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r2.ebuild
similarity index 91%
rename from dev-ml/dune-private-libs/dune-private-libs-3.16.0-r1.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.16.0-r2.ebuild
index 89ff8e2f11a6..8cbbc65ce8b1 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r1.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r2.ebuild
@@ -30,3 +30,7 @@ src_configure() {
 src_compile() {
dune-compile ordering dyn stdune ${PN}
 }
+
+src_install() {
+   dune-install ordering dyn stdune ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dyn/

2024-08-02 Thread Alfredo Tupone
commit: fd73b072bc096a40b00db5ef90ecda8170245390
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Aug  2 12:09:28 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  2 12:09:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd73b072

dev-ml/dyn: drop 3.11.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dyn/Manifest  |  1 -
 dev-ml/dyn/dyn-3.11.1.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/dev-ml/dyn/Manifest b/dev-ml/dyn/Manifest
index 717642c57235..e03842497f86 100644
--- a/dev-ml/dyn/Manifest
+++ b/dev-ml/dyn/Manifest
@@ -1,4 +1,3 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/dyn/dyn-3.11.1.ebuild b/dev-ml/dyn/dyn-3.11.1.ebuild
deleted file mode 100644
index 0d360e888937..
--- a/dev-ml/dyn/dyn-3.11.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Dynamic type"
-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.5"
-DEPEND="~dev-ml/ordering-${PV}:="
-
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/ordering/

2024-08-02 Thread Alfredo Tupone
commit: 81b924ce000ffc268acbf82071de6ee9d7bc69da
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Aug  2 12:10:31 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  2 12:10:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b924ce

dev-ml/ordering: drop 3.11.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/ordering/Manifest   |  1 -
 dev-ml/ordering/ordering-3.11.1.ebuild | 29 -
 2 files changed, 30 deletions(-)

diff --git a/dev-ml/ordering/Manifest b/dev-ml/ordering/Manifest
index 717642c57235..e03842497f86 100644
--- a/dev-ml/ordering/Manifest
+++ b/dev-ml/ordering/Manifest
@@ -1,4 +1,3 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/ordering/ordering-3.11.1.ebuild 
b/dev-ml/ordering/ordering-3.11.1.ebuild
deleted file mode 100644
index 66c9a48a8b2b..
--- a/dev-ml/ordering/ordering-3.11.1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Element ordering"
-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.5"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/stdune/

2024-08-02 Thread Alfredo Tupone
commit: 683b1fb6bae0aa5e2d6f7309c5066bb95099d15b
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Aug  2 12:08:16 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  2 12:08:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=683b1fb6

dev-ml/stdune: drop 3.11.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/stdune/Manifest |  1 -
 dev-ml/stdune/stdune-3.11.1.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/dev-ml/stdune/Manifest b/dev-ml/stdune/Manifest
index 717642c57235..e03842497f86 100644
--- a/dev-ml/stdune/Manifest
+++ b/dev-ml/stdune/Manifest
@@ -1,4 +1,3 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
-DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/stdune/stdune-3.11.1.ebuild 
b/dev-ml/stdune/stdune-3.11.1.ebuild
deleted file mode 100644
index 07ca8e710512..
--- a/dev-ml/stdune/stdune-3.11.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Dune's unstable standard library"
-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.5"
-DEPEND="
-   ~dev-ml/dyn-${PV}:=[ocamlopt?]
-   ~dev-ml/ordering-${PV}:=[ocamlopt?]
-   !

[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/

2024-08-02 Thread Alfredo Tupone
commit: 6b67e490ea7b2e52cdacb310c9c5b72594bceadd
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Aug  2 12:00:40 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  2 12:01:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b67e490

dev-ml/dune-private-libs: collaps ordering dyn stdune in here

Signed-off-by: Alfredo Tupone  gentoo.org>

 ...rivate-libs-3.11.1.ebuild => dune-private-libs-3.11.1-r1.ebuild} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.11.1.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r1.ebuild
similarity index 87%
rename from dev-ml/dune-private-libs/dune-private-libs-3.11.1.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.11.1-r1.ebuild
index c2d1796c6f5e..aed975f9adf0 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.11.1.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.11.1-r1.ebuild
@@ -18,7 +18,9 @@ IUSE="+ocamlopt"
 RESTRICT="test"
 
 BDEPEND=">=dev-ml/dune-3.5"
-DEPEND="~dev-ml/dyn-${PV}:=[ocamlopt?]"
+DEPEND="
+   dev-ml/csexp:=[ocamlopt?]
+"
 RDEPEND="${DEPEND}"
 
 src_configure() {
@@ -26,5 +28,5 @@ src_configure() {
 }
 
 src_compile() {
-   dune-compile ${PN}
+   dune-compile ordering dyn stdune ${PN}
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-configurator/

2024-08-02 Thread Alfredo Tupone
commit: 7b5d640d308f91564e9de1d2aee415ca9b2cbca6
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Aug  2 07:17:48 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Aug  2 07:18:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5d640d

dev-ml/dune-configurator: drop 2.8.4

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dune-configurator/Manifest  |   1 -
 .../dune-configurator-2.8.4.ebuild | 116 -
 2 files changed, 117 deletions(-)

diff --git a/dev-ml/dune-configurator/Manifest 
b/dev-ml/dune-configurator/Manifest
index 0e16a19d89e7..b1a8f56fd48a 100644
--- a/dev-ml/dune-configurator/Manifest
+++ b/dev-ml/dune-configurator/Manifest
@@ -1,4 +1,3 @@
-DIST dune-2.8.4.tar.gz 1372925 BLAKE2B 
5b6d6738a0dc701d852e6cc59a1998f64c006d233f43a804b0b9b677a6eadda25aa20f52799c90910d361e4bc565636a50d218ad5d0a9927239adc5be36b3889
 SHA512 
13b36eb6a943f9513987a23dab467b2e449cc3a4de35227f8323c3c724b27f19daac500602141ab22a0457924c8484ce27a7f73e46a72e796d30fb1c3253
 DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 
27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d
 SHA512 
4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77
 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 
3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152
 SHA512 
df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de

diff --git a/dev-ml/dune-configurator/dune-configurator-2.8.4.ebuild 
b/dev-ml/dune-configurator/dune-configurator-2.8.4.ebuild
deleted file mode 100644
index 17c58e633847..
--- a/dev-ml/dune-configurator/dune-configurator-2.8.4.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="A composable build system for OCaml"
-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="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~dev-ml/dune-private-libs-${PV}:=[ocamlopt?]
-   dev-ml/csexp:=[ocamlopt?]
-   dev-ml/result:=[ocamlopt?]
-"
-DEPEND="${RDEPEND}
-   test? (
-   dev-ml/core_bench
-   dev-ml/menhir
-   dev-ml/opam
-   dev-ml/ppx_expect
-   )
-"
-# TODO for test deps:
-# Add cram?
-# Add dev-ml/js_of_ocaml once dev-ml/ocaml-base64 is ported to Dune
-# Add coq?
-
-src_prepare() {
-   default
-
-   # Keep this list in sync with dev-ml/dune-private-libs
-   local bad_tests=(
-   # List of tests calling git, mercurial, etc
-   test/blackbox-tests/test-cases/dune-project-meta/main.t
-   test/blackbox-tests/test-cases/meta-template-version-bug.t
-   test/blackbox-tests/test-cases/subst/project-name-restriction.t
-   test/blackbox-tests/test-cases/subst/with-opam-file.t
-   test/blackbox-tests/test-cases/subst.t
-   test/blackbox-tests/test-cases/subst/unicode.t
-   test/blackbox-tests/test-cases/subst/from-project-file.t
-   test/blackbox-tests/test-cases/trace-file.t
-   otherlibs/build-info/test/run.t
-   test/expect-tests/vcs_tests.ml
-
-   # Strange failures, seemingly from newer versions of deps
-   
test/blackbox-tests/test-cases/merlin/allow_approximate_merlin_warn.t
-   test/blackbox-tests/test-cases/merlin/merlin-tests.t
-   test/blackbox-tests/test-cases/merlin/github4125.t
-   test/blackbox-tests/test-cases/install-dry-run.t
-   test/blackbox-tests/test-cases/c-flags.t
-   test/blackbox-tests/test-cases/install-libdir.t
-   test/blackbox-tests/test-cases/dune-cache/trim.t
-
-   # Strange failures about opam not being initialised
-   test/blackbox-tests/test-cases/merlin/merlin-from-subdir.t
-   test/blackbox-tests/test-cases/merlin/symlinks.t
-   test/blackbox-tests/test-cases/merlin/src-dirs-of-deps.t
- 

[gentoo-commits] repo/gentoo:master commit in: dev-ml/ordering/

2024-08-01 Thread Alfredo Tupone
commit: 1cb5aca631bd41c25f11dbbf212b9431fbceeda3
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Aug  1 18:43:51 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  1 18:43:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb5aca6

dev-ml/ordering: drop 3.13.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/ordering/Manifest   |  1 -
 dev-ml/ordering/ordering-3.13.1.ebuild | 29 -
 2 files changed, 30 deletions(-)

diff --git a/dev-ml/ordering/Manifest b/dev-ml/ordering/Manifest
index 61a3f0d1c460..717642c57235 100644
--- a/dev-ml/ordering/Manifest
+++ b/dev-ml/ordering/Manifest
@@ -1,5 +1,4 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
 DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
-DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/ordering/ordering-3.13.1.ebuild 
b/dev-ml/ordering/ordering-3.13.1.ebuild
deleted file mode 100644
index 66c9a48a8b2b..
--- a/dev-ml/ordering/ordering-3.13.1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Element ordering"
-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.5"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/stdune/

2024-08-01 Thread Alfredo Tupone
commit: 7123799160a15e12d9984af8fbceb84b697e540d
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Aug  1 18:42:15 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  1 18:42:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71237991

dev-ml/stdune: drop 3.13.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/stdune/Manifest |  1 -
 dev-ml/stdune/stdune-3.13.1.ebuild | 36 
 2 files changed, 37 deletions(-)

diff --git a/dev-ml/stdune/Manifest b/dev-ml/stdune/Manifest
index 61a3f0d1c460..717642c57235 100644
--- a/dev-ml/stdune/Manifest
+++ b/dev-ml/stdune/Manifest
@@ -1,5 +1,4 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
 DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
-DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/stdune/stdune-3.13.1.ebuild 
b/dev-ml/stdune/stdune-3.13.1.ebuild
deleted file mode 100644
index 83f97fbbd72b..
--- a/dev-ml/stdune/stdune-3.13.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Dune's unstable standard library"
-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.5"
-DEPEND="
-   ~dev-ml/dyn-${PV}:=[ocamlopt?]
-   ~dev-ml/ordering-${PV}:=[ocamlopt?]
-   dev-ml/pp:=[ocamlopt?]
-   dev-ml/csexp:=[ocamlopt?]
-   !

[gentoo-commits] repo/gentoo:master commit in: dev-ml/dyn/

2024-08-01 Thread Alfredo Tupone
commit: 8d83b4690691f96a3ebffcac7f1d193e3f1a24ca
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Aug  1 18:43:02 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  1 18:43:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d83b469

dev-ml/dyn: drop 3.13.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dyn/Manifest  |  1 -
 dev-ml/dyn/dyn-3.13.1.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/dev-ml/dyn/Manifest b/dev-ml/dyn/Manifest
index 61a3f0d1c460..717642c57235 100644
--- a/dev-ml/dyn/Manifest
+++ b/dev-ml/dyn/Manifest
@@ -1,5 +1,4 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
 DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
-DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
 DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/dyn/dyn-3.13.1.ebuild b/dev-ml/dyn/dyn-3.13.1.ebuild
deleted file mode 100644
index bbe8279e144b..
--- a/dev-ml/dyn/dyn-3.13.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Dynamic type"
-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.5"
-DEPEND="~dev-ml/ordering-${PV}:=[ocamlopt?]"
-
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/

2024-08-01 Thread Alfredo Tupone
commit: aa8bbb9277b659137bdc31217868733b359a83f2
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Aug  1 18:39:13 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  1 18:39:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8bbb92

dev-ml/dune-private-libs: collaps ordering dyn stdune in here

Signed-off-by: Alfredo Tupone  gentoo.org>

 ...private-libs-3.13.1.ebuild => dune-private-libs-3.13.1-r1.ebuild} | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.13.1.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r1.ebuild
similarity index 83%
rename from dev-ml/dune-private-libs/dune-private-libs-3.13.1.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.13.1-r1.ebuild
index 7af637f64081..aed975f9adf0 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.13.1.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.13.1-r1.ebuild
@@ -20,9 +20,6 @@ RESTRICT="test"
 BDEPEND=">=dev-ml/dune-3.5"
 DEPEND="
dev-ml/csexp:=[ocamlopt?]
-   dev-ml/pp:=[ocamlopt?]
-   ~dev-ml/dyn-${PV}:=[ocamlopt?]
-   ~dev-ml/stdune-${PV}:=[ocamlopt?]
 "
 RDEPEND="${DEPEND}"
 
@@ -31,5 +28,5 @@ src_configure() {
 }
 
 src_compile() {
-   dune-compile ${PN}
+   dune-compile ordering dyn stdune ${PN}
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/unison/

2024-08-01 Thread Alfredo Tupone
commit: d7a1fee2e71ffdccc1956a996d24fc2675a926a5
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Aug  1 18:26:58 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  1 18:28:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a1fee2

net-misc/unison: ignore TextRel on 32 bits

Closes: https://bugs.gentoo.org/926546
Signed-off-by: Alfredo Tupone  gentoo.org>

 net-misc/unison/unison-2.53.5-r1.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/net-misc/unison/unison-2.53.5-r1.ebuild 
b/net-misc/unison/unison-2.53.5-r1.ebuild
index d1619282f060..2c3522204b35 100644
--- a/net-misc/unison/unison-2.53.5-r1.ebuild
+++ b/net-misc/unison/unison-2.53.5-r1.ebuild
@@ -86,6 +86,11 @@ src_test() {
 }
 
 src_install() {
+   # OCaml generates textrels on 32-bit arches
+   if use arm || use ppc || use x86 ; then
+   export QA_TEXTRELS='.*'
+   fi
+
# install manually, since it's just too much
# work to force the Makefile to do the right thing.
cd "${S}/src" || die



[gentoo-commits] repo/gentoo:master commit in: dev-ml/utop/

2024-08-01 Thread Alfredo Tupone
commit: 15c8f56fce3f462e344554d34effeade612cbbac
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Aug  1 08:10:55 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Aug  1 08:12:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c8f56f

dev-ml/utop: add alcotest deps

Closes: https://bugs.gentoo.org/936002
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/utop/{utop-2.14.0.ebuild => utop-2.14.0-r1.ebuild} | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ml/utop/utop-2.14.0.ebuild b/dev-ml/utop/utop-2.14.0-r1.ebuild
similarity index 93%
rename from dev-ml/utop/utop-2.14.0.ebuild
rename to dev-ml/utop/utop-2.14.0-r1.ebuild
index 788125604fb3..5439a2c47f25 100644
--- a/dev-ml/utop/utop-2.14.0.ebuild
+++ b/dev-ml/utop/utop-2.14.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/ocaml-community/utop/archive/${PV}.tar.gz -> ${P}.ta
 LICENSE="BSD"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86"
-IUSE="emacs +ocamlopt"
+IUSE="emacs +ocamlopt test"
 
 ELISP_DEPEND="
emacs? (
@@ -37,8 +37,11 @@ BDEPEND="
dev-ml/cppo
dev-ml/findlib
${ELISP_DEPEND}
+   test? ( dev-ml/alcotest )
 "
 
+RESTRICT="!test? ( test )"
+
 SITEFILE="50${PN}-gentoo.el"
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-ml/stdcompat/

2024-07-30 Thread Alfredo Tupone
commit: 2b004e50b70d37d8ee0e89a46e8e88c4d6416a28
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Jul 30 21:18:55 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Tue Jul 30 21:19:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b004e50

dev-ml/stdcompat: regenerate autotools files

Closes: https://bugs.gentoo.org/936152
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/stdcompat/{stdcompat-19.ebuild => stdcompat-19-r1.ebuild} | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-ml/stdcompat/stdcompat-19.ebuild 
b/dev-ml/stdcompat/stdcompat-19-r1.ebuild
similarity index 87%
rename from dev-ml/stdcompat/stdcompat-19.ebuild
rename to dev-ml/stdcompat/stdcompat-19-r1.ebuild
index edb7ebbf80a0..731c0bed6669 100644
--- a/dev-ml/stdcompat/stdcompat-19.ebuild
+++ b/dev-ml/stdcompat/stdcompat-19-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit autotools
+
 DESCRIPTION="Compatibility module for OCaml standard library"
 HOMEPAGE="https://github.com/thierry-martinez/stdcompat";
 
SRC_URI="https://github.com/thierry-martinez/stdcompat/releases/download/v${PV}/${P}.tar.gz";
@@ -22,6 +24,11 @@ BDEPEND="
 # Do not complain about CFLAGS etc since ml projects do not use them.
 QA_FLAGS_IGNORED='.*'
 
+src_prepare() {
+   default
+   eautoreconf
+}
+
 src_configure () {
econf --libdir="${EPREFIX}"/usr/$(get_libdir)/ocaml
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ml/num/

2024-07-29 Thread Alfredo Tupone
commit: 28494b7a30132d895d48c5fbda9d2cd5adbe2974
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Jul 30 05:05:04 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Tue Jul 30 05:06:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28494b7a

dev-ml/num: fix parallel build

Closes: https://bugs.gentoo.org/936155
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/num/num-1.5.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-ml/num/num-1.5.ebuild b/dev-ml/num/num-1.5.ebuild
index baaacdcf8f0e..f8dc825a611d 100644
--- a/dev-ml/num/num-1.5.ebuild
+++ b/dev-ml/num/num-1.5.ebuild
@@ -20,6 +20,10 @@ BDEPEND="${RDEPEND}"
 DEPEND="dev-ml/findlib:=[ocamlopt?]"
 
 src_compile() {
+   emake CFLAGS="${CFLAGS}" \
+   NATDYNLINK="$(usex ocamlopt true false)" \
+   NATIVE_COMPILER="$(usex ocamlopt true false)" \
+   -C src num_top.ml
emake CFLAGS="${CFLAGS}" \
NATDYNLINK="$(usex ocamlopt true false)" \
NATIVE_COMPILER="$(usex ocamlopt true false)"



[gentoo-commits] repo/gentoo:master commit in: dev-ml/core_unix/files/

2024-07-29 Thread Alfredo Tupone
commit: 9daab71f57a84a92e672d78101d4a796a55f8014
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 29 08:52:01 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 29 08:52:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9daab71f

dev-ml/core_unix: fix musl build

Closes: https://bugs.gentoo.org/936394
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/core_unix/files/core_unix-0.15.2-musl.patch | 12 
 1 file changed, 12 insertions(+)

diff --git a/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch 
b/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch
index fb1101426ba2..f9c3d23b3db9 100644
--- a/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch
+++ b/dev-ml/core_unix/files/core_unix-0.15.2-musl.patch
@@ -9,3 +9,15 @@
ssize_t ret;
if (total_len > THREAD_IO_CUTOFF || contains_mmapped(v_iovecs, count)) {
  Begin_roots1(v_iovecs);
+--- a/linux_ext/src/linux_ext_stubs.c  2024-05-29 19:59:43.955479960 +0200
 b/linux_ext/src/linux_ext_stubs.c  2024-05-29 20:00:26.661018190 +0200
+@@ -243,7 +243,8 @@
+   int count = Int_val(v_count);
+   ssize_t ret;
+   struct iovec *iovecs = caml_stat_alloc(sizeof(struct iovec) * count);
+-  struct msghdr msghdr = { NULL, 0, NULL, 0, NULL, 0, 0 };
++  struct msghdr msghdr;
++  memset(&msghdr, 0, sizeof(msghdr));
+   msghdr.msg_iov = iovecs;
+   msghdr.msg_iovlen = count;
+   for (--count; count >= 0; --count) {



[gentoo-commits] repo/gentoo:master commit in: dev-ml/core/

2024-07-29 Thread Alfredo Tupone
commit: f9c2c91608cb68545d969568ee89838f8893e6a5
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 29 08:45:57 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 29 08:46:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c2c916

dev-ml/core: sameslot for more packages

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/core/{core-0.15.1-r2.ebuild => core-0.15.1-r3.ebuild} | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-ml/core/core-0.15.1-r2.ebuild 
b/dev-ml/core/core-0.15.1-r3.ebuild
similarity index 83%
rename from dev-ml/core/core-0.15.1-r2.ebuild
rename to dev-ml/core/core-0.15.1-r3.ebuild
index e35a27104a0d..d75c2b08a435 100644
--- a/dev-ml/core/core-0.15.1-r2.ebuild
+++ b/dev-ml/core/core-0.15.1-r3.ebuild
@@ -33,11 +33,11 @@ RDEPEND="
dev-ml/ppx_let:=
dev-ml/ppx_log:=
dev-ml/ppx_jane:${SLOT}
-   dev-ml/ppx_module_timer:=
-   dev-ml/ppx_optional:=
-   dev-ml/ppx_pipebang:=
-   dev-ml/ppx_sexp_message:=
-   dev-ml/ppx_sexp_value:=
+   dev-ml/ppx_module_timer:${SLOT}[ocamlopt?]
+   dev-ml/ppx_optional:${SLOT}[ocamlopt?]
+   dev-ml/ppx_pipebang:${SLOT}[ocamlopt?]
+   dev-ml/ppx_sexp_message:${SLOT}[ocamlopt?]
+   dev-ml/ppx_sexp_value:${SLOT}[ocamlopt?]
dev-ml/ppx_stable:${SLOT}[ocamlopt?]
dev-ml/ppx_string:${SLOT}[ocamlopt?]
dev-ml/ppx_ignore_instrumentation:${SLOT}[ocamlopt?]



[gentoo-commits] repo/gentoo:master commit in: dev-ml/core/

2024-07-29 Thread Alfredo Tupone
commit: f30fee04978409985fb87f710d7866fc6c532bcc
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 29 07:23:12 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 29 07:23:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30fee04

dev-ml/core: sameslot for ppx_stable

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/core/core-0.15.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/core/core-0.15.1-r2.ebuild 
b/dev-ml/core/core-0.15.1-r2.ebuild
index 0099117c1a0b..e35a27104a0d 100644
--- a/dev-ml/core/core-0.15.1-r2.ebuild
+++ b/dev-ml/core/core-0.15.1-r2.ebuild
@@ -38,7 +38,7 @@ RDEPEND="
dev-ml/ppx_pipebang:=
dev-ml/ppx_sexp_message:=
dev-ml/ppx_sexp_value:=
-   dev-ml/ppx_stable:=
+   dev-ml/ppx_stable:${SLOT}[ocamlopt?]
dev-ml/ppx_string:${SLOT}[ocamlopt?]
dev-ml/ppx_ignore_instrumentation:${SLOT}[ocamlopt?]
dev-ml/typerep:${SLOT}[ocamlopt?]



[gentoo-commits] repo/gentoo:master commit in: dev-ml/core/

2024-07-29 Thread Alfredo Tupone
commit: f38313e113fd4973d4380ba569d4acacce0ffe07
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 29 07:18:34 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 29 07:18:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38313e1

dev-ml/core: sameslot for ppx_string

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/core/core-0.15.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/core/core-0.15.1-r2.ebuild 
b/dev-ml/core/core-0.15.1-r2.ebuild
index e0a0ccb6052b..0099117c1a0b 100644
--- a/dev-ml/core/core-0.15.1-r2.ebuild
+++ b/dev-ml/core/core-0.15.1-r2.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
dev-ml/ppx_sexp_message:=
dev-ml/ppx_sexp_value:=
dev-ml/ppx_stable:=
-   dev-ml/ppx_string:=
+   dev-ml/ppx_string:${SLOT}[ocamlopt?]
dev-ml/ppx_ignore_instrumentation:${SLOT}[ocamlopt?]
dev-ml/typerep:${SLOT}[ocamlopt?]
 "



[gentoo-commits] repo/gentoo:master commit in: dev-ml/core/

2024-07-29 Thread Alfredo Tupone
commit: f09efc0fdb5cfa3271f628d0d8508e786fecab50
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 29 07:15:32 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 29 07:15:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09efc0f

dev-ml/core: use sameslot for ppx_ignore_instrumentation

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/core/core-0.15.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/core/core-0.15.1-r2.ebuild 
b/dev-ml/core/core-0.15.1-r2.ebuild
index 9ea8e233daea..e0a0ccb6052b 100644
--- a/dev-ml/core/core-0.15.1-r2.ebuild
+++ b/dev-ml/core/core-0.15.1-r2.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-ml/ppx_sexp_value:=
dev-ml/ppx_stable:=
dev-ml/ppx_string:=
-   dev-ml/ppx_ignore_instrumentation:=
+   dev-ml/ppx_ignore_instrumentation:${SLOT}[ocamlopt?]
dev-ml/typerep:${SLOT}[ocamlopt?]
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-ml/core/

2024-07-29 Thread Alfredo Tupone
commit: a059b7b2bc86611b2c50e8ebc7a6db58e6fd4cd2
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 29 07:10:08 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 29 07:10:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a059b7b2

dev-ml/core: use sameslot for typerep

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/core/{core-0.15.1-r1.ebuild => core-0.15.1-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ml/core/core-0.15.1-r1.ebuild 
b/dev-ml/core/core-0.15.1-r2.ebuild
similarity index 93%
rename from dev-ml/core/core-0.15.1-r1.ebuild
rename to dev-ml/core/core-0.15.1-r2.ebuild
index b090bc8654f4..9ea8e233daea 100644
--- a/dev-ml/core/core-0.15.1-r1.ebuild
+++ b/dev-ml/core/core-0.15.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -41,6 +41,6 @@ RDEPEND="
dev-ml/ppx_stable:=
dev-ml/ppx_string:=
dev-ml/ppx_ignore_instrumentation:=
-   dev-ml/typerep:=
+   dev-ml/typerep:${SLOT}[ocamlopt?]
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-ml/alcotest/

2024-07-28 Thread Alfredo Tupone
commit: a74ae5947dab1055838613480ce6d363f1463e93
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Jul 28 16:55:18 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Jul 28 16:55:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a74ae594

dev-ml/alcotest: add 1.8.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/alcotest/Manifest  |  1 +
 dev-ml/alcotest/alcotest-1.8.0.ebuild | 38 +++
 2 files changed, 39 insertions(+)

diff --git a/dev-ml/alcotest/Manifest b/dev-ml/alcotest/Manifest
index 3f88394b43b0..2fd8044df443 100644
--- a/dev-ml/alcotest/Manifest
+++ b/dev-ml/alcotest/Manifest
@@ -1,3 +1,4 @@
 DIST alcotest-1.4.0.tar.gz 279675 BLAKE2B 
3cc50ab37a16948ceca9b5e6aa885fa50bbe0722c6132ed4991fb64c568253d9913287d1b9e5547f59a210d6803e2a83565f02950fb12cb91ed9f8e24d7864c1
 SHA512 
adb73c8b2be6f47cb406bbc49dba7dc86e990a60e2e68302592a24dcc24e11e76e2aa6fc2f003c1e4fdbb79744df6ab601daff9540cd7b0096ac9f9bff18098c
 DIST alcotest-1.5.0.tar.gz 288227 BLAKE2B 
6af28f2516888273903bbb7750ba583778c54447157ece29ad8053323492dddfde9b901699be26c868f1f3835ad89d6f163176033f52ffdccc82fa2609e57b64
 SHA512 
9f496d1b14a78a9cba5dfde71cbda41d3090d2083bc9895dc9d9f54876b86630079219e678f13f6ffd382deb2a1a298b61b2a222fc65d25d4a242d8c280b4784
 DIST alcotest-1.7.0.tar.gz 293433 BLAKE2B 
83a9b1bb3a6d9ec09de739e77a6e1085bbca328f5be39f6ab28931a7bc16d223d571917f924598ddcc399910f986df95eb72ae61f28512221d9de6174ffe3988
 SHA512 
6e29cc39109f5d83a175578f48ff1b48fdf13913b7cdd332823a660c681ab0cd5dec41b1036102b023d7c74620decf964458926abed56ae835e4e565014e
+DIST alcotest-1.8.0.tar.gz 296522 BLAKE2B 
63ad6a8349a1ed0b0a61db7b816b30a020bda23374a5672543b758a227079d7129b2b3bd3e40cc8b71bb753c366116d0e9f7aea57011986099f1c129fcda7a55
 SHA512 
bcbb43d8f67e5250823f4cf92db81bef6ee71a399f9c12c4c1e343d043b885da8571593a59c07ae140a0222f8a5a66eef328206c0636e349e628520831be62db

diff --git a/dev-ml/alcotest/alcotest-1.8.0.ebuild 
b/dev-ml/alcotest/alcotest-1.8.0.ebuild
new file mode 100644
index ..42994cde53ad
--- /dev/null
+++ b/dev-ml/alcotest/alcotest-1.8.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="A lightweight and colourful test framework"
+HOMEPAGE="https://github.com/mirage/alcotest/";
+SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND="
+   dev-ml/astring:=
+   dev-ml/async:=[ocamlopt?]
+   dev-ml/async_kernel:=[ocamlopt?]
+   >=dev-ml/async_unix-0.15.0:=[ocamlopt?]
+   dev-ml/base:=[ocamlopt?]
+   >=dev-ml/cmdliner-1.2:=[ocamlopt?]
+   >=dev-ml/core-0.15.0:=[ocamlopt?]
+   >=dev-ml/core_unix-0.15.0:=[ocamlopt?]
+   dev-ml/duration:=[ocamlopt?]
+   dev-ml/fmt:=[ocamlopt?]
+   dev-ml/lwt:=[ocamlopt?]
+   dev-ml/mirage-clock:=[ocamlopt?]
+   dev-ml/re:=[ocamlopt?]
+   dev-ml/result:=[ocamlopt?]
+   dev-ml/stdlib-shims:=[ocamlopt?]
+   dev-ml/logs:=[ocamlopt?]
+   dev-ml/uutf:=[ocamlopt?]
+   dev-ml/uuidm:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-ml/dune-3.0"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/files/, sci-libs/caffe2/

2024-07-27 Thread Alfredo Tupone
commit: ca2e68ab5527af67bf95684068758b4efbd5b5a5
Author: Sv. Lockal  gmail  com>
AuthorDate: Thu Jul 25 09:27:07 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 27 19:08:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca2e68ab

sci-libs/caffe2: update dependencies to fix rocm flag

pytorch 2.3.0 introduced 2 new direct dependencies: hipBLASLt and aotriton.

pytorch uses hipBLASLt to perform gemm operation on datacenter AMD Instinct 
GPUs. For other GPUs pytorch fallbacks to hipBLAS.
caffe2-2.3.x ebuilds now contain a patch to optionally disable this dependency, 
when none AMDGPU_TARGETS="gfx90a gfx940 gfx941 gfx942" is used.

pytorch uses aotriton to perform FlashAttention operation.
caffe2-2.3.x ebuilds now contain a patch which fully disables aotriton 
dependency, as there is no such package yet.
Technically aotriton can be compiled (with minor patches), but I suggest to 
wait for next releases.
It is a massive burden, as it depends on forked triton and forked clang (merge 
with upstream is not expected anytime soon).
aotriton is usually distributed as a huge static (!) library (but in next 
release library will be shared).

Minor fixes added for compatibility with libc++ (used in experimental llvm 
Gentoo profile), however other ebuilds also require minor patches
(in other words: right now ROCm ecosystem can be compiled with libc++, but only 
by people with experience in C++).

Closes: https://bugs.gentoo.org/931046
Signed-off-by: Sv. Lockal  gmail.com>
Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/caffe2-2.3.0-r3.ebuild |  45 ++--
 sci-libs/caffe2/caffe2-2.3.1.ebuild|  46 ++--
 .../files/caffe2-2.3.0-exclude-aotriton.patch  |  35 +++
 .../caffe2-2.3.0-fix-gcc-clang-abi-compat.patch|  17 ++
 .../caffe2/files/caffe2-2.3.0-fix-libcpp.patch |  24 +++
 .../files/caffe2-2.3.0-fix-rocm-gcc14-clamp.patch  |  18 ++
 .../files/caffe2-2.3.0-optional-hipblaslt.patch| 235 +
 7 files changed, 393 insertions(+), 27 deletions(-)

diff --git a/sci-libs/caffe2/caffe2-2.3.0-r3.ebuild 
b/sci-libs/caffe2/caffe2-2.3.0-r3.ebuild
index c01e904d8eb0..666800d8f4b6 100644
--- a/sci-libs/caffe2/caffe2-2.3.0-r3.ebuild
+++ b/sci-libs/caffe2/caffe2-2.3.0-r3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-ROCM_VERSION=5.7
+ROCM_VERSION=6.1
 inherit python-single-r1 cmake cuda flag-o-matic prefix rocm
 
 MYPN=pytorch
@@ -65,18 +65,23 @@ RDEPEND="
opencv? ( media-libs/opencv:= )
qnnpack? ( sci-libs/QNNPACK )
rocm? (
-   >=dev-util/hip-5.7
-   >=dev-libs/rccl-5.7[${ROCM_USEDEP}]
-   >=sci-libs/rocThrust-5.7[${ROCM_USEDEP}]
-   >=sci-libs/rocPRIM-5.7[${ROCM_USEDEP}]
-   >=sci-libs/hipBLAS-5.7[${ROCM_USEDEP}]
-   >=sci-libs/hipFFT-5.7[${ROCM_USEDEP}]
-   >=sci-libs/hipSPARSE-5.7[${ROCM_USEDEP}]
-   >=sci-libs/hipRAND-5.7[${ROCM_USEDEP}]
-   >=sci-libs/hipCUB-5.7[${ROCM_USEDEP}]
-   >=sci-libs/hipSOLVER-5.7[${ROCM_USEDEP}]
-   >=sci-libs/miopen-5.7[${ROCM_USEDEP}]
-   >=dev-util/roctracer-5.7[${ROCM_USEDEP}]
+   =dev-util/hip-6.1*
+   =dev-libs/rccl-6.1*[${ROCM_USEDEP}]
+   =sci-libs/rocThrust-6.1*[${ROCM_USEDEP}]
+   =sci-libs/rocPRIM-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipBLAS-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipFFT-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipSPARSE-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipRAND-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipCUB-6.1*[${ROCM_USEDEP}]
+   =sci-libs/hipSOLVER-6.1*[${ROCM_USEDEP}]
+   =sci-libs/miopen-6.1*[${ROCM_USEDEP}]
+   =dev-util/roctracer-6.1*[${ROCM_USEDEP}]
+
+   amdgpu_targets_gfx90a? ( 
=sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx90a] )
+   amdgpu_targets_gfx940? ( 
=sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx940] )
+   amdgpu_targets_gfx941? ( 
=sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx941] )
+   amdgpu_targets_gfx942? ( 
=sci-libs/hipBLASLt-6.1*[amdgpu_targets_gfx942] )
)
distributed? ( sci-libs/tensorpipe[cuda?] )
xnnpack? ( >=sci-libs/XNNPACK-2022.12.22 )
@@ -111,6 +116,11 @@ PATCHES=(
"${FILESDIR}"/${P}-rocm-fix-std-cpp17.patch
"${FILESDIR}"/${PN}-2.2.2-musl.patch
"${FILESDIR}"/${P}-CMakeFix.patch
+   "${FILESDIR}"/${PN}-2.3.0-exclude-aotriton.patch
+   "${FILESDIR}"/${PN}-2.3.0-fix-rocm-gcc14-clamp.patch
+   "${FILESDIR}"/${PN}-2.3.0-optional-hipblaslt.patch
+   "${FILESDIR}"/${PN}-2.3.0-fix-libcpp.patch
+   "${FILESDIR}"/${PN}-2.3.0-fix-gcc-clang-abi-compat.patch
 )

[gentoo-commits] repo/gentoo:master commit in: profiles/base/

2024-07-27 Thread Alfredo Tupone
commit: bc7200889449eff6eaa076219f1e3b6e5a130d95
Author: Sv. Lockal  gmail  com>
AuthorDate: Sat Jul 27 18:44:26 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 27 19:08:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc720088

profiles/base: remove mask for ">=sci-libs/caffe2-2.3.0 rocm" due to fix

Bug: https://bugs.gentoo.org/931046
Signed-off-by: Sv. Lockal  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37751
Signed-off-by: Alfredo Tupone  gentoo.org>

 profiles/base/package.use.mask | 4 
 1 file changed, 4 deletions(-)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 27e84bf006b0..b3d6e7f547fd 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -32,10 +32,6 @@ dev-lang/python jit
 # bug #887223, bug #891367, bug #903891, bug #917139
 dev-lang/ruby static-libs
 
-# Alfredo Tupone  (2024-05-28)
-# Not working, bug #931046
->=sci-libs/caffe2-2.3.0 rocm
-
 # Sam James  (2024-05-09)
 # Experimental option upstream which seems undertested and underdocumented.
 # Fails to build with stricter C compilers too (bug #919685).



[gentoo-commits] repo/gentoo:master commit in: dev-libs/oneDNN/

2024-07-27 Thread Alfredo Tupone
commit: 3a54b92587750a8824786bdbbf007c7ad2c1be85
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jul 27 09:51:56 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 27 09:52:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a54b925

dev-libs/oneDNN: add 3.5.2

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-libs/oneDNN/Manifest|   1 +
 dev-libs/oneDNN/oneDNN-3.5.2.ebuild | 133 
 2 files changed, 134 insertions(+)

diff --git a/dev-libs/oneDNN/Manifest b/dev-libs/oneDNN/Manifest
index 91135bddafbb..04d404c0c9b4 100644
--- a/dev-libs/oneDNN/Manifest
+++ b/dev-libs/oneDNN/Manifest
@@ -1,4 +1,5 @@
 DIST oneDNN-3.3.6.tar.gz 11579147 BLAKE2B 
280103e99a90ee450ff1077bac6408f25f1ed32d86f908210b7e6a897692478a766e8d709dc3a42b06d90659aa9396a537708ea34c03c2da229c8e7a119d2c1e
 SHA512 
02f51f61823300fb6beba833b4644c9eae5e3f7741453cf0a09d55f7cad9fc86d63e4bb1f17cbf92c37e8ecf1af109f300e110ff6191c1d26cd1350fe1f8d14f
 DIST oneDNN-3.4.3.tar.gz 12866333 BLAKE2B 
c1fe1d485ed174e08e6eada6d26eb1c94a99667343fc47a8492e34c66ee85e576ae71308805b76e87774446d2fa7c9496dd16546a5d592c654a9e10db0a1e582
 SHA512 
eb60137ee0196cd82e1e0300ba1c58afbedb342d9619c474d399946c7dcb34f8ca1211fad1070cd531189340b2ac1f3926ec4a95f72be8aef485e5f54a795bda
 DIST oneDNN-3.4.tar.gz 12858442 BLAKE2B 
56af66755b133d8f6590d3712b4d8c7e331c5b6e4d92f99c7773a6be64331fa2a03159cf96ab4d979d0586c2bf060757895393eca5a2b06af2cfe80b80642aff
 SHA512 
8a4ae6251e12ee641a432011da8360e08866ac005a5930d3a6278ce470d8b4a88afbd5538504274ca5e0bf053845efb41c834acaab83121d9d986a41f31ff718
+DIST oneDNN-3.5.2.tar.gz 13190514 BLAKE2B 
4d274fcdc9d30de4df5d6c949932e65f1ddefa56d96ec87c60aee2122cd8f250bbe6dfffb329ca9e413dd13fdb5478d3470076f0913cc53b1d418a2997f88377
 SHA512 
80b6eda44fc600eff8b98ce58937b98440ab3cf18e0022df366e417189ae42e722e6b11f9c2c01049313bd9d3f7e74eff8efc6ac8590b602d16b32265dd74578
 DIST oneDNN-3.5.tar.gz 13189199 BLAKE2B 
3e7df5feb6c95cb60a65352bfe606fddd17f4dae322762ca0682e8afab27dce9018252bfac7b06f0154bc79a66c6ce3adb387f94c2fcd561fe695d43b732d6c5
 SHA512 
3acb935c8e826586b54e573650ac842e7bcd5a44d2578241c169a31cf9f56d9e5bc0fd6f9de4617d5dc497e5626f88e6d00f06be2161ba2b0af94569dfdcae94

diff --git a/dev-libs/oneDNN/oneDNN-3.5.2.ebuild 
b/dev-libs/oneDNN/oneDNN-3.5.2.ebuild
new file mode 100644
index ..f63e938f040c
--- /dev/null
+++ b/dev-libs/oneDNN/oneDNN-3.5.2.ebuild
@@ -0,0 +1,133 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="${WORKDIR}/${P}_build"
+
+# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way).
+# Removing of CMake modules is disabled.
+CMAKE_REMOVE_MODULES_LIST=( none )
+
+# There is additional sphinx documentation but we are missing dependency 
doxyrest.
+inherit cmake docs multiprocessing toolchain-funcs
+
+DESCRIPTION="oneAPI Deep Neural Network Library"
+HOMEPAGE="https://github.com/oneapi-src/oneDNN";
+SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test mkl cblas static-libs +openmp"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   mkl? ( sci-libs/mkl )
+   cblas? ( !mkl? ( virtual/cblas ) )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   openmp? (
+   || (
+   sys-devel/gcc[openmp]
+   sys-devel/clang-runtime[openmp]
+   )
+   )
+"
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+   if ! use openmp ; then
+   ewarn "WARNING: oneDNN is being built with sequential runtime."
+   ewarn "Proceeding might lead to highly sub-optimal performance."
+   ewarn "Conside enabling \"openmp\" USE flag."
+   fi
+
+   local mycmakeargs=(
+   -DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED)
+   -DDNNL_CPU_RUNTIME=$(usex openmp OMP SEQ)
+   -DDNNL_GPU_RUNTIME=NONE
+   -DDNNL_BUILD_EXAMPLES=OFF
+   -DDNNL_BUILD_TESTS="$(usex test)"
+   -DDNNL_ENABLE_CONCURRENT_EXEC=OFF
+   -DDNNL_ENABLE_JIT_PROFILING=ON
+   -DDNNL_ENABLE_ITT_TASKS=ON
+   -DDNNL_ENABLE_PRIMITIVE_CACHE=ON
+   -DDNNL_ENABLE_MAX_CPU_ISA=ON
+   -DDNNL_ENABLE_CPU_ISA_HINTS=ON
+   -DDNNL_ENABLE_WORKLOAD=TRAINING
+   -DDNNL_ENABLE_PRIMITIVE=ALL
+   -DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL
+

[gentoo-commits] repo/gentoo:master commit in: mail-filter/maildrop/files/, mail-filter/maildrop/

2024-07-26 Thread Alfredo Tupone
commit: b2458332b5628cff1a0a5eda3b9ee41b22bd2dec
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 26 19:18:09 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 26 19:18:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2458332

mail-filter/maildrop: add 3.1.7

Signed-off-by: Alfredo Tupone  gentoo.org>

 mail-filter/maildrop/Manifest  |   1 +
 .../maildrop/files/maildrop-3.1.7-testsuite.patch  |  68 ++
 .../maildrop/files/maildrop-3.1.7-valgrind.patch   |  31 +
 mail-filter/maildrop/maildrop-3.1.7.ebuild | 151 +
 4 files changed, 251 insertions(+)

diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest
index 5951b1492bb5..f956e56f745f 100644
--- a/mail-filter/maildrop/Manifest
+++ b/mail-filter/maildrop/Manifest
@@ -2,3 +2,4 @@ DIST maildrop-3.0.2.tar.bz2 2129406 BLAKE2B 
10572c9c0fcb7a31f10fdfb005562afd425d
 DIST maildrop-3.1.4.tar.bz2 2156148 BLAKE2B 
e7de4e30ee23d8d2f88de7b0398a41c84af6d34207e9f26fd7b22e7ac1b5171c309c6304b312a75e621bc860e5a2d3f59613e47ff5a73ae6412761179f787f53
 SHA512 
b8f373e142c61ba9cdf32fd939aa7fc5c24ec873f734be048e94561e35977b6fb663ff4a1c35fc22dc7dc2075e04e4c4a09e37c0e7c7c0dd96555fcda9c7fd26
 DIST maildrop-3.1.5.tar.bz2 2156334 BLAKE2B 
374c0436a0e5954171bf942d824123d610057269739f5f76f4353b75065a964fe92d95a80209a07187d3ebcfe59a6d92d54c71fa52325fc4968e10c1b8eeaada
 SHA512 
f722cbdf9aeb628ff68dcd280de5d7d37a3fae3692b7de5483cf0563631ff9b2eba9ef9baf3b3e3f6108d40e19b55dabddacaa3a064e6b71210b18f200bc67b7
 DIST maildrop-3.1.6.tar.bz2 2156136 BLAKE2B 
fddb718e81d66a393f3bce720edb73c3638c255504d90f7613c05910a3a96ca2ad9ab350167096a2677d51770d26799f8bd89f287dda464163f82c5da8d8b28a
 SHA512 
93364747c603d1d566f756e7ba8b10fd38d10749b269f1bf64596a56fe2b06f529f4b59b6256a5be0c44169f2c8cc9dcd7de91b3cc03288719ffee5db330b1d5
+DIST maildrop-3.1.7.tar.bz2 2156082 BLAKE2B 
734380f8b76882a7b9c04203e971c72544eba6fc0b0a74ed4f48f5c3c1b5c2f2817fa8eff7268c934b840471a554ffe9ce159fc9c232a3c9b717f956c8862474
 SHA512 
972f3891d6f1daca97971d6cc3e09e4f78ce7bf8bb4520ed2836b8d7d9394546d403a0dd709e6b2e34706f67aae2563523bbc0953a9971cc2107fc0838fa095e

diff --git a/mail-filter/maildrop/files/maildrop-3.1.7-testsuite.patch 
b/mail-filter/maildrop/files/maildrop-3.1.7-testsuite.patch
new file mode 100644
index ..5f6b6605ecd5
--- /dev/null
+++ b/mail-filter/maildrop/files/maildrop-3.1.7-testsuite.patch
@@ -0,0 +1,68 @@
+Force en_US locale for certain tests.
+
+--- maildrop-3.0.0/libs/maildrop/Makefile.am
 maildrop-3.0.0/libs/maildrop/Makefile.am
+@@ -71,12 +71,14 @@
+   maildrop.lsm testsuite.txt.idn testsuite2
+ 
+ check-am: testsuite
++if HAS_EN_US
+   VALGRIND="`which valgrind 2>/dev/null`"; export VALGRIND; \
+   @SHELL@ ./testsuite >testsuite.diff || exit 1; \
+   sed '/^Message envelope sender/d'  /dev/null
++  return $?
++}
++AC_MSG_CHECKING([for en_US.utf8])
++AM_CONDITIONAL([HAS_EN_US], [check_en_US])
++AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
++
+ dnl Checks for library functions.
+ 
+ AC_FUNC_CLOSEDIR_VOID
+--- maildrop-3.0.0/libs/rfc2045/Makefile.am
 maildrop-3.0.0/libs/rfc2045/Makefile.am
+@@ -84,7 +84,10 @@
+ endif
+ 
+ check-am:
++if HAS_EN_US
+   @SHELL@ $(srcdir)/testsuite | cmp -s - $(srcdir)/$(TESTSUITE)
+   @SHELL@ $(srcdir)/testsuitemm | cmp -s - $(srcdir)/testsuitemm.txt
+   @SHELL@ $(srcdir)/testrfc3676parsersuite | diff -U 3 
$(srcdir)/testrfc3676parsersuite.txt -
+   ./testrfc6533parser
++endif
++
+--- maildrop-3.0.0/libs/rfc2045/configure.ac
 maildrop-3.0.0/libs/rfc2045/configure.ac
+@@ -62,6 +62,15 @@
+ AC_CHECK_FUNC(strncasecmp,,CFLAGS="$CFLAGS -Dstrncasecmp=strnicmp")
+ AC_CHECK_FUNC(strcasecmp,,CFLAGS="$CFLAGS -Dstrcasecmp=stricmp")
+ 
++dnl check for en_US locale
++check_en_US() {
++  locale -a | grep en_US.utf8 > /dev/null
++  return $?
++}
++AC_MSG_CHECKING([for en_US.utf8])
++AM_CONDITIONAL([HAS_EN_US], [check_en_US])
++AM_COND_IF([HAS_EN_US],[AC_MSG_RESULT([yes])],[AC_MSG_RESULT([not found])])
++
+ AC_ARG_WITH(package, [], package="$withval",
+   [
+   package="$PACKAGE"

diff --git a/mail-filter/maildrop/files/maildrop-3.1.7-valgrind.patch 
b/mail-filter/maildrop/files/maildrop-3.1.7-valgrind.patch
new file mode 100644
index ..d0056625576c
--- /dev/null
+++ b/mail-filter/maildrop/files/maildrop-3.1.7-valgrind.patch
@@ -0,0 +1,31 @@
+--- a/libs/maildrop/Makefile.am2024-02-18 06:43:15.291095955 +0100
 b/libs/maildrop/Makefile.am2024-02-18 06:43:37.317830695 +0100
+@@ -77,7 +77,7 @@
+   sed '/^Message envelope sender/d' &1 | cmp - $(srcdir)/testsuite2.txt
+   LC_ALL=C; export LC_ALL; ./maildirkwtest | cmp -s - 
$(srcdir)/maildirkwtest.txt
+   LC_ALL=C; export

[gentoo-commits] repo/gentoo:master commit in: profiles/base/

2024-07-22 Thread Alfredo Tupone
commit: cbe83897c865a5c756747a977a9d27d44f5663cb
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Jul 23 05:39:00 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Tue Jul 23 05:44:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe83897

Revert "profiles/base: enable rocm on caffe2"

This reverts commit 02c9f5d0ade25b3117d965a070f172e52f76e7a5.

Signed-off-by: Alfredo Tupone  gentoo.org>

 profiles/base/package.use.mask | 4 
 1 file changed, 4 insertions(+)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 3205f67f4d48..14a1400b0a9b 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -28,6 +28,10 @@ dev-lang/python jit
 # bug #887223, bug #891367, bug #903891, bug #917139
 dev-lang/ruby static-libs
 
+# Alfredo Tupone  (2024-05-28)
+# Not working, bug #931046
+>=sci-libs/caffe2-2.3.0 rocm
+
 # Sam James  (2024-05-09)
 # Experimental option upstream which seems undertested and underdocumented.
 # Fails to build with stricter C compilers too (bug #919685).



[gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/

2024-07-22 Thread Alfredo Tupone
commit: 3176c1b32da0c6f3f9981fc4e606e6a5d9c9fd7e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 22 17:11:34 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 22 17:13:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3176c1b3

sci-libs/caffe2: fix deps

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/caffe2/caffe2-2.3.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-libs/caffe2/caffe2-2.3.1.ebuild 
b/sci-libs/caffe2/caffe2-2.3.1.ebuild
index 51bab7c5dac7..6355d0083336 100644
--- a/sci-libs/caffe2/caffe2-2.3.1.ebuild
+++ b/sci-libs/caffe2/caffe2-2.3.1.ebuild
@@ -70,6 +70,7 @@ RDEPEND="
=sci-libs/rocThrust-5.7*[${ROCM_USEDEP}]
=sci-libs/rocPRIM-5.7*[${ROCM_USEDEP}]
=sci-libs/hipBLAS-5.7*[${ROCM_USEDEP}]
+   sci-libs/hipBLASLt
=sci-libs/hipFFT-5.7*[${ROCM_USEDEP}]
=sci-libs/hipSPARSE-5.7*[${ROCM_USEDEP}]
=sci-libs/hipRAND-5.7*[${ROCM_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: profiles/base/

2024-07-22 Thread Alfredo Tupone
commit: 02c9f5d0ade25b3117d965a070f172e52f76e7a5
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 22 16:49:11 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 22 16:50:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c9f5d0

profiles/base: enable rocm on caffe2

Bug: https://bugs.gentoo.org/931046
Signed-off-by: Alfredo Tupone  gentoo.org>

 profiles/base/package.use.mask | 4 
 1 file changed, 4 deletions(-)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 14a1400b0a9b..3205f67f4d48 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -28,10 +28,6 @@ dev-lang/python jit
 # bug #887223, bug #891367, bug #903891, bug #917139
 dev-lang/ruby static-libs
 
-# Alfredo Tupone  (2024-05-28)
-# Not working, bug #931046
->=sci-libs/caffe2-2.3.0 rocm
-
 # Sam James  (2024-05-09)
 # Experimental option upstream which seems undertested and underdocumented.
 # Fails to build with stricter C compilers too (bug #919685).



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-format/

2024-07-19 Thread Alfredo Tupone
commit: 12af05fffe69170a30ddbe51c8b9bfc326d4299f
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 17:24:49 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 17:24:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12af05ff

dev-ml/opam-format: drop 2.0.9, 2.0.10

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-format/Manifest  |  2 --
 dev-ml/opam-format/opam-format-2.0.10.ebuild | 47 
 dev-ml/opam-format/opam-format-2.0.9.ebuild  | 47 
 3 files changed, 96 deletions(-)

diff --git a/dev-ml/opam-format/Manifest b/dev-ml/opam-format/Manifest
index 13cb1b80d395..a98b60e89254 100644
--- a/dev-ml/opam-format/Manifest
+++ b/dev-ml/opam-format/Manifest
@@ -1,5 +1,3 @@
-DIST opam-2.0.10.tar.gz 641739 BLAKE2B 
7cd201fe6bed2ae81fc8d9d0a7063b284621e579713c2b8672a5ea37cd7516a030367664823c75594a789136ffe5b313818fa120fb64e499b8276706700df776
 SHA512 
49218a14c3b7e2f47052c1fb6907b54086f5af4adb43d120065c77f2c573d72136ac64f55f577a613eb43ebe29fbe14f9ac0e25756209ca7a572aa35a4410a5d
-DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e513736a27904a4e471d1eaf432db72998251ac786cb8fbf1ad425fff42b772c5d26934e0929aae75c0946d4659
 SHA512 
0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc

diff --git a/dev-ml/opam-format/opam-format-2.0.10.ebuild 
b/dev-ml/opam-format/opam-format-2.0.10.ebuild
deleted file mode 100644
index ef61d2b92d0b..
--- a/dev-ml/opam-format/opam-format-2.0.10.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# We are opam
-OPAM_INSTALLER_DEP=" "
-inherit dune
-
-DESCRIPTION="Core libraries for opam"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV}"
-OPAM_INSTALLER="${S}/opam-installer"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~dev-ml/opam-core-${PV}:=
-   dev-ml/re:=
-   dev-ml/opam-file-format:=
-   >=dev-ml/dose3-6.0:=
-"
-DEPEND="${RDEPEND}
-   dev-ml/cppo"
-BDEPEND="test? (
-   sys-apps/bubblewrap
-   dev-ml/mccs
-)"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}

diff --git a/dev-ml/opam-format/opam-format-2.0.9.ebuild 
b/dev-ml/opam-format/opam-format-2.0.9.ebuild
deleted file mode 100644
index e9c7e673404f..
--- a/dev-ml/opam-format/opam-format-2.0.9.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# We are opam
-OPAM_INSTALLER_DEP=" "
-inherit dune
-
-DESCRIPTION="Core libraries for opam"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV}"
-OPAM_INSTALLER="${S}/opam-installer"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~d

[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-solver/

2024-07-19 Thread Alfredo Tupone
commit: 9622981523e6cf6f8b41407bf9e2dd1426185a33
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 17:22:18 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 17:22:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96229815

dev-ml/opam-solver: drop 2.0.9, 2.0.10

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-solver/Manifest  |  2 --
 dev-ml/opam-solver/opam-solver-2.0.10.ebuild | 42 
 dev-ml/opam-solver/opam-solver-2.0.9.ebuild  | 42 
 3 files changed, 86 deletions(-)

diff --git a/dev-ml/opam-solver/Manifest b/dev-ml/opam-solver/Manifest
index 13cb1b80d395..a98b60e89254 100644
--- a/dev-ml/opam-solver/Manifest
+++ b/dev-ml/opam-solver/Manifest
@@ -1,5 +1,3 @@
-DIST opam-2.0.10.tar.gz 641739 BLAKE2B 
7cd201fe6bed2ae81fc8d9d0a7063b284621e579713c2b8672a5ea37cd7516a030367664823c75594a789136ffe5b313818fa120fb64e499b8276706700df776
 SHA512 
49218a14c3b7e2f47052c1fb6907b54086f5af4adb43d120065c77f2c573d72136ac64f55f577a613eb43ebe29fbe14f9ac0e25756209ca7a572aa35a4410a5d
-DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e513736a27904a4e471d1eaf432db72998251ac786cb8fbf1ad425fff42b772c5d26934e0929aae75c0946d4659
 SHA512 
0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc

diff --git a/dev-ml/opam-solver/opam-solver-2.0.10.ebuild 
b/dev-ml/opam-solver/opam-solver-2.0.10.ebuild
deleted file mode 100644
index 3e8c086a960a..
--- a/dev-ml/opam-solver/opam-solver-2.0.10.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam solver"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~dev-ml/opam-format-${PV}:=
-   dev-ml/opam-file-format:=
-   dev-ml/re:=
-   >=dev-ml/mccs-1.1.4:=
-   >=dev-ml/dose3-6.0:=
-   dev-ml/cudf:=
-"
-DEPEND="${RDEPEND}
-   test? ( dev-ml/opam-client )"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}

diff --git a/dev-ml/opam-solver/opam-solver-2.0.9.ebuild 
b/dev-ml/opam-solver/opam-solver-2.0.9.ebuild
deleted file mode 100644
index 5cd0e4230cb6..
--- a/dev-ml/opam-solver/opam-solver-2.0.9.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam solver"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~dev-ml/opam-format-${PV}:=
-   dev-ml/opam-file-format:=
-   dev-ml/re:=
-   >=dev-ml/mccs-1.1.4:=
-   >=dev-ml/dose3-6.0:=
-   dev-ml/cudf:=
-"
-DEPEND="${RDEPEND}
-   test?

[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-repository/

2024-07-19 Thread Alfredo Tupone
commit: 4e81cebf5877cdfcf2a7701229a6b62390fbb8f2
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 17:20:07 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 17:20:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e81cebf

dev-ml/opam-repository: drop 2.0.9, 2.0.10

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-repository/Manifest|  2 --
 .../opam-repository/opam-repository-2.0.10.ebuild  | 39 --
 .../opam-repository/opam-repository-2.0.9.ebuild   | 39 --
 3 files changed, 80 deletions(-)

diff --git a/dev-ml/opam-repository/Manifest b/dev-ml/opam-repository/Manifest
index 13cb1b80d395..a98b60e89254 100644
--- a/dev-ml/opam-repository/Manifest
+++ b/dev-ml/opam-repository/Manifest
@@ -1,5 +1,3 @@
-DIST opam-2.0.10.tar.gz 641739 BLAKE2B 
7cd201fe6bed2ae81fc8d9d0a7063b284621e579713c2b8672a5ea37cd7516a030367664823c75594a789136ffe5b313818fa120fb64e499b8276706700df776
 SHA512 
49218a14c3b7e2f47052c1fb6907b54086f5af4adb43d120065c77f2c573d72136ac64f55f577a613eb43ebe29fbe14f9ac0e25756209ca7a572aa35a4410a5d
-DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e513736a27904a4e471d1eaf432db72998251ac786cb8fbf1ad425fff42b772c5d26934e0929aae75c0946d4659
 SHA512 
0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc

diff --git a/dev-ml/opam-repository/opam-repository-2.0.10.ebuild 
b/dev-ml/opam-repository/opam-repository-2.0.10.ebuild
deleted file mode 100644
index 5cf5aea1620d..
--- a/dev-ml/opam-repository/opam-repository-2.0.10.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam repository libraries"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   ~dev-ml/opam-format-${PV}:=
-   dev-ml/re:=
-   >=dev-ml/dose3-6.0:=
-   dev-ml/opam-file-format:=
-"
-DEPEND="${RDEPEND}"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}

diff --git a/dev-ml/opam-repository/opam-repository-2.0.9.ebuild 
b/dev-ml/opam-repository/opam-repository-2.0.9.ebuild
deleted file mode 100644
index 588a5744eb82..
--- a/dev-ml/opam-repository/opam-repository-2.0.9.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam repository libraries"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   ~dev-ml/opam-format-${PV}:=
-   dev-ml/re:=
-   >=dev-ml/dose3-6.0:=
-   dev-ml/opam-file-format:=
-"
-DEPEND="${RDEPEND}"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-

[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-state/

2024-07-19 Thread Alfredo Tupone
commit: f2bdea5c0b25a47d8df35c7f35c8d457dbf6d43e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 17:17:45 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 17:18:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2bdea5c

dev-ml/opam-state: drop 2.0.9, 2.0.10

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-state/Manifest |  2 --
 dev-ml/opam-state/opam-state-2.0.10.ebuild | 38 --
 dev-ml/opam-state/opam-state-2.0.9.ebuild  | 38 --
 3 files changed, 78 deletions(-)

diff --git a/dev-ml/opam-state/Manifest b/dev-ml/opam-state/Manifest
index 13cb1b80d395..a98b60e89254 100644
--- a/dev-ml/opam-state/Manifest
+++ b/dev-ml/opam-state/Manifest
@@ -1,5 +1,3 @@
-DIST opam-2.0.10.tar.gz 641739 BLAKE2B 
7cd201fe6bed2ae81fc8d9d0a7063b284621e579713c2b8672a5ea37cd7516a030367664823c75594a789136ffe5b313818fa120fb64e499b8276706700df776
 SHA512 
49218a14c3b7e2f47052c1fb6907b54086f5af4adb43d120065c77f2c573d72136ac64f55f577a613eb43ebe29fbe14f9ac0e25756209ca7a572aa35a4410a5d
-DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e513736a27904a4e471d1eaf432db72998251ac786cb8fbf1ad425fff42b772c5d26934e0929aae75c0946d4659
 SHA512 
0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc

diff --git a/dev-ml/opam-state/opam-state-2.0.10.ebuild 
b/dev-ml/opam-state/opam-state-2.0.10.ebuild
deleted file mode 100644
index 0c7a4142bd32..
--- a/dev-ml/opam-state/opam-state-2.0.10.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam state libraries"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   dev-ml/re:=
-   dev-ml/opam-file-format:=
-   ~dev-ml/opam-repository-${PV}:=
-"
-DEPEND="${RDEPEND}"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}

diff --git a/dev-ml/opam-state/opam-state-2.0.9.ebuild 
b/dev-ml/opam-state/opam-state-2.0.9.ebuild
deleted file mode 100644
index 7ae602accc10..
--- a/dev-ml/opam-state/opam-state-2.0.9.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam state libraries"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-RESTRICT="test"
-
-RDEPEND="
-   dev-ml/re:=
-   dev-ml/opam-file-format:=
-   ~dev-ml/opam-repository-${PV}:=
-"
-DEPEND="${RDEPEND}"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-client/

2024-07-19 Thread Alfredo Tupone
commit: 87a6d394485d001b00cad1706100ad58bb4d082e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 17:10:14 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 17:10:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a6d394

dev-ml/opam-client: drop 2.0.9, 2.0.10

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-client/Manifest  |  2 --
 dev-ml/opam-client/opam-client-2.0.10.ebuild | 40 --
 dev-ml/opam-client/opam-client-2.0.9.ebuild  | 42 
 3 files changed, 84 deletions(-)

diff --git a/dev-ml/opam-client/Manifest b/dev-ml/opam-client/Manifest
index 13cb1b80d395..a98b60e89254 100644
--- a/dev-ml/opam-client/Manifest
+++ b/dev-ml/opam-client/Manifest
@@ -1,5 +1,3 @@
-DIST opam-2.0.10.tar.gz 641739 BLAKE2B 
7cd201fe6bed2ae81fc8d9d0a7063b284621e579713c2b8672a5ea37cd7516a030367664823c75594a789136ffe5b313818fa120fb64e499b8276706700df776
 SHA512 
49218a14c3b7e2f47052c1fb6907b54086f5af4adb43d120065c77f2c573d72136ac64f55f577a613eb43ebe29fbe14f9ac0e25756209ca7a572aa35a4410a5d
-DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e513736a27904a4e471d1eaf432db72998251ac786cb8fbf1ad425fff42b772c5d26934e0929aae75c0946d4659
 SHA512 
0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc

diff --git a/dev-ml/opam-client/opam-client-2.0.10.ebuild 
b/dev-ml/opam-client/opam-client-2.0.10.ebuild
deleted file mode 100644
index 9c36b48336f0..
--- a/dev-ml/opam-client/opam-client-2.0.10.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam client libraries"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-
-RDEPEND="
-   dev-ml/cmdliner:=
-   ~dev-ml/opam-repository-${PV}:=
-   ~dev-ml/opam-state-${PV}:=
-   ~dev-ml/opam-solver-${PV}:=
-   dev-ml/opam-file-format:=
-   dev-ml/re:=
-"
-DEPEND="${RDEPEND}"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}

diff --git a/dev-ml/opam-client/opam-client-2.0.9.ebuild 
b/dev-ml/opam-client/opam-client-2.0.9.ebuild
deleted file mode 100644
index f9f4e4a70902..
--- a/dev-ml/opam-client/opam-client-2.0.9.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="opam client libraries"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-ml/cmdliner:=
-   ~dev-ml/opam-repository-${PV}:=
-   ~dev-ml/opam-state-${PV}:=
-   ~dev-ml/opam-solver-${PV}:=
-   dev-ml/opam-file-format:=
-   dev-ml/re:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( sys-apps/b

[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam/

2024-07-19 Thread Alfredo Tupone
commit: dc9133789454649d9e7d1da205eecebcb671d61d
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 16:57:58 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 16:57:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc913378

dev-ml/opam: drop 2.0.9, 2.0.10-r1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam/Manifest  |  2 --
 dev-ml/opam/opam-2.0.10-r1.ebuild | 42 ---
 dev-ml/opam/opam-2.0.9.ebuild | 42 ---
 3 files changed, 86 deletions(-)

diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest
index ffedf8e25028..27c67bf50a23 100644
--- a/dev-ml/opam/Manifest
+++ b/dev-ml/opam/Manifest
@@ -1,5 +1,3 @@
-DIST opam-2.0.10.tar.gz 641739 BLAKE2B 
7cd201fe6bed2ae81fc8d9d0a7063b284621e579713c2b8672a5ea37cd7516a030367664823c75594a789136ffe5b313818fa120fb64e499b8276706700df776
 SHA512 
49218a14c3b7e2f47052c1fb6907b54086f5af4adb43d120065c77f2c573d72136ac64f55f577a613eb43ebe29fbe14f9ac0e25756209ca7a572aa35a4410a5d
-DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e513736a27904a4e471d1eaf432db72998251ac786cb8fbf1ad425fff42b772c5d26934e0929aae75c0946d4659
 SHA512 
0d8ee19ac0f3df9de4fd9cfa8daab1f7228f090f5e2e7e26bedf24d8c2ab377aade95048f2d7cd9ee9dbbe738729e26dc99f41f730fa2252df74953362464a22
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc

diff --git a/dev-ml/opam/opam-2.0.10-r1.ebuild 
b/dev-ml/opam/opam-2.0.10-r1.ebuild
deleted file mode 100644
index a4bf75322faa..
--- a/dev-ml/opam/opam-2.0.10-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="A source-based package manager for OCaml"
-HOMEPAGE="http://opam.ocaml.org/";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-
-RDEPEND="
-   dev-ml/cmdliner:=
-   dev-ml/cudf:=
-   >=dev-ml/dose3-6.0:=
-   dev-ml/extlib:=
-   ~dev-ml/opam-client-${PV}:=
-   dev-ml/opam-file-format:=
-   sys-apps/bubblewrap
-   dev-ml/re:="
-DEPEND="${RDEPEND}"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-src_prepare() {
-   default
-
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}

diff --git a/dev-ml/opam/opam-2.0.9.ebuild b/dev-ml/opam/opam-2.0.9.ebuild
deleted file mode 100644
index 8b483c415ef9..
--- a/dev-ml/opam/opam-2.0.9.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit dune
-
-DESCRIPTION="A source-based package manager for OCaml"
-HOMEPAGE="http://opam.ocaml.org/";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-IUSE="+ocamlopt"
-
-RDEPEND="
-   dev-ml/cmdliner:=
-   dev-ml/cudf:=
-   >=dev-ml/dose3-6.0:=
-   dev-ml/extlib:=
-   ~dev-ml/opam-client-${PV}:=
-   dev-ml/opam-file-format:=
-   sys-apps/bubblewrap
-   dev-ml/re:="
-DEPEND="${RDEPEND}"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCH

[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-installer/

2024-07-19 Thread Alfredo Tupone
commit: 74110ea6c033f2a3ec7978cca59675395ea9b0f1
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 16:55:01 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 16:55:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74110ea6

dev-ml/opam-installer: drop 2.0.9-r1, 2.0.10-r1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-installer/Manifest |  2 -
 .../opam-installer/opam-installer-2.0.10-r1.ebuild | 46 --
 .../opam-installer/opam-installer-2.0.9-r1.ebuild  | 46 --
 3 files changed, 94 deletions(-)

diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest
index b57d6f5c5748..99e9ff684080 100644
--- a/dev-ml/opam-installer/Manifest
+++ b/dev-ml/opam-installer/Manifest
@@ -1,6 +1,4 @@
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
-DIST opam-full-2.0.10.tar.gz 8173617 BLAKE2B 
6bf7a52835512b3de5bcf0de24f5ba3a322f718e6b590902add5ca162e449e40fa3c27cff7b042240441c031303b24cf6b1a100d7f7c3c0cc275d47e60c0bce1
 SHA512 
05c6bd7e08f131c910871867590a6eb95b488d943ebbb0f93212f2101f09f54dcffd5d6492c9e2edf0485e3ee681815c6353d43ef185bc934fc8afb84d02cf5f
-DIST opam-full-2.0.9.tar.gz 8029605 BLAKE2B 
c2ae06bdbbdbe9db270ec0027ec8d13a228f0af2ae5089476fa3a698d27e1f47abf2e3a15ecc9ca610717ba6b979b4ca76cce56c52f6592ae789b88fb5e5b68d
 SHA512 
9f44d878a2599a876f5e5b9b7457b6f446a5e59156ed3d449dcc29e40c44df8b69da619eabdf030e45526fba4bd9a00c65dec2c36552d2e03788596b0aceee85
 DIST opam-full-2.1.2.tar.gz 9442446 BLAKE2B 
fe5447fe8f9bcedb30bf455e93b54a37e950e2944f6f501545bdccf6d989de2da90106938efb6a12c1b9454ecefed5be9906d65a15a4d0244302ad7ccff170db
 SHA512 
fe12aaa27168435a978c472926d40697af0a7619a529c4bfacd0b71469dfcd534f43164bc74f60f740a735d38a869ae5e87e2414119f4f3fc1826315e8a075cd
 DIST opam-full-2.1.3.tar.gz 9618995 BLAKE2B 
6f33e70c2e59be87b643840128b46441828d3d83888f5d321ac23d33b2fbc4d3163cb4303ac82a7f863abcc9300227bbc48bca3b8db5d6fbcebf0e6cf8869a5d
 SHA512 
fe3a3c86335830944683a39a34a9eb385037476853ab3e2a82b8571a9e2021830cccf25cbd5bb891d239f6a47584c1b1d91aa445e6e2a814847346c5cc526ff1
 DIST opam-full-2.1.6.tar.gz 11704198 BLAKE2B 
20e74551760cadf1d911e72c34502e1e7e62003f8ebc83f3b9cb46c712e13fb5f85f41421cc74b051c2e348e0c0a17f4ea34bf655f7ec48cfcdab1e0d8a57a11
 SHA512 
2bb24db05dc39d6e8294c10b5a6bb2dd8f675a4d56e1dc9a2e9bc576f54d14a1709005219c25586df9382897ab7ba5ea0636765410f01c06958ec59be9f14b4c

diff --git a/dev-ml/opam-installer/opam-installer-2.0.10-r1.ebuild 
b/dev-ml/opam-installer/opam-installer-2.0.10-r1.ebuild
deleted file mode 100644
index a33b53110bc8..
--- a/dev-ml/opam-installer/opam-installer-2.0.10-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# We are opam
-OPAM_INSTALLER_DEP=" "
-OPAM_SKIP_VALIDATION=yes
-inherit opam
-
-DESCRIPTION="Core installer for opam packages"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz";
-S="${WORKDIR}/opam-full-${PV/_/-}"
-OPAM_INSTALLER="${S}/opam-installer"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
-
-# Cherry-picked from 
https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
-PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
-
-RDEPEND="
-   >=dev-lang/ocaml-4.02.3:=
-   dev-ml/cmdliner:=
-   ~dev-ml/opam-format-${PV}:=
-   >=dev-ml/dose3-6:=
-"
-DEPEND="${RDEPEND}
-   dev-ml/findlib"
-
-src_configure() {
-   econf \
-   --prefix="${EPREFIX}/usr" \
-   --with-mccs \
-   --docdir="${EPREFIX}/usr/share/doc/${PF}" \
-   --mandir="${EPREFIX}/usr/share/man"
-}
-
-src_compile() {
-   sed -e 's/DUNE = .*$/DUNE = /' -i Makefile.config
-   #passing -jX to the dune build leads to errors
-   #see: https://github.com/ocaml/opam/issues/3585
-   emake DUNE_PROMOTE_ARG="" -j1
-}

diff --git a/dev-ml/opam-installer/opam-installer-2.0.9-r1.ebuild 
b/dev-ml/opam-installer/opam-installer-2.0.9-r1.ebuild
deleted file mode 100644
index eab5b13a534a..
--- a/dev-ml/opam-installer/opam-installer-2.0.9-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# We are opam
-OPAM_INSTALLER_DEP=" "
-OPAM_SKIP

[gentoo-commits] repo/gentoo:master commit in: dev-ml/fmt/

2024-07-19 Thread Alfredo Tupone
commit: 6a7b3034f92793e255abfc0a5fd8309ef3a95fb5
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 16:49:35 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 16:49:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7b3034

dev-ml/fmt: update maintainers

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/fmt/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ml/fmt/metadata.xml b/dev-ml/fmt/metadata.xml
index 52bd8afcdc32..ce051f98ba6b 100644
--- a/dev-ml/fmt/metadata.xml
+++ b/dev-ml/fmt/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   m...@gentoo.org
+   ML
+   

dbuenzli/fmt




[gentoo-commits] repo/gentoo:master commit in: dev-ml/astring/

2024-07-19 Thread Alfredo Tupone
commit: 289bf1a1203540faf027665a55ef9d741f3b7bdd
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 16:47:31 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 16:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289bf1a1

dev-ml/astring: update maintainers

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/astring/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ml/astring/metadata.xml b/dev-ml/astring/metadata.xml
index 77058ca4dd9c..4ed639097398 100644
--- a/dev-ml/astring/metadata.xml
+++ b/dev-ml/astring/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   m...@gentoo.org
+   ML
+   

dbuenzli/astring

https://github.com/dbuenzli/astring/blob/master/CHANGES.md



[gentoo-commits] repo/gentoo:master commit in: sci-libs/pytorch/

2024-07-19 Thread Alfredo Tupone
commit: ff5482c8f95355ad284e0fee88b307a32aebfaaa
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 10:39:41 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 10:39:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5482c8

sci-libs/pytorch: add 2.3.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 sci-libs/pytorch/Manifest |  1 +
 sci-libs/pytorch/pytorch-2.3.1.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/sci-libs/pytorch/Manifest b/sci-libs/pytorch/Manifest
index d70fba8fc67b..246ab4d21a1a 100644
--- a/sci-libs/pytorch/Manifest
+++ b/sci-libs/pytorch/Manifest
@@ -1,2 +1,3 @@
 DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 
0be22f2ec4b9aac6f5e976664cae01facf07929a32565cd57d7cc5b2d9888e9ae71ca301853752fe8f31d174d04c9974eb9ed2f3d452360a50ccf024f200726a
 SHA512 
7990e0f9484038c3458c0bda2c863bf2b19e56edab81fc5938c6e0f08b17558287f853bb67350e8cca8f42bec0f1d4ba0e94e50a145db8da44bdd4bd703d91d0
 DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 
8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6
 SHA512 
67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
+DIST pytorch-2.3.1.tar.gz 117035696 BLAKE2B 
d419d7fa1342f1fb317ffce09ec9dc1447414627cc83d36578fe60f68c283c620b2b4d49f414cd206d537b90b16432a06cd1941662720db05d5e2b6c493325f5
 SHA512 
e1bcae44f9939fc7ccb1360a9b1970d92426f25e5de73e36964df3dd15ad5d8d9f5bd2f9a7dda6b8f64e2bba3674005bd869f542489cc442ad0125a02676f587

diff --git a/sci-libs/pytorch/pytorch-2.3.1.ebuild 
b/sci-libs/pytorch/pytorch-2.3.1.ebuild
new file mode 100644
index ..75fbde095842
--- /dev/null
+++ b/sci-libs/pytorch/pytorch-2.3.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_EXT=1
+inherit distutils-r1 prefix
+
+DESCRIPTION="Tensors and Dynamic neural networks in Python"
+HOMEPAGE="https://pytorch.org/";
+SRC_URI="https://github.com/pytorch/${PN}/archive/refs/tags/v${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+RDEPEND="
+   ${PYTHON_DEPS}
+   ~sci-libs/caffe2-${PV}[${PYTHON_SINGLE_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/typing-extensions[${PYTHON_USEDEP}]
+   dev-python/sympy[${PYTHON_USEDEP}]
+   ')
+"
+DEPEND="${RDEPEND}
+   $(python_gen_cond_dep '
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   ')
+"
+
+src_prepare() {
+   eapply \
+   "${FILESDIR}"/${PN}-2.1.1-dontbuildagain.patch \
+   
"${FILESDIR}"/pytorch-1.9.0-Change-library-directory-according-to-CMake-build.patch
 \
+   "${FILESDIR}"/${PN}-2.0.0-global-dlopen.patch \
+   "${FILESDIR}"/pytorch-1.7.1-torch_shm_manager.patch \
+   "${FILESDIR}"/${PN}-1.13.0-setup.patch \
+   "${FILESDIR}"/${PN}-2.2.1-emptyso.patch \
+
+   # Set build dir for pytorch's setup
+   sed -i \
+   -e "/BUILD_DIR/s|build|/var/lib/caffe2/|" \
+   tools/setup_helpers/env.py \
+   || die
+   distutils-r1_src_prepare
+
+   hprefixify tools/setup_helpers/env.py
+}
+
+python_compile() {
+   PYTORCH_BUILD_VERSION=${PV} \
+   PYTORCH_BUILD_NUMBER=0 \
+   USE_SYSTEM_LIBS=ON \
+   CMAKE_BUILD_DIR="${BUILD_DIR}" \
+   distutils-r1_python_compile develop sdist
+}
+
+python_install() {
+   USE_SYSTEM_LIBS=ON distutils-r1_python_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/

2024-07-18 Thread Alfredo Tupone
commit: c24ca6d54786ec895e2d16bacfe7c9c966299e12
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 06:26:57 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 06:31:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24ca6d5

dev-ml/dune-private-libs: collaps ordering dyn stdune in here

Signed-off-by: Alfredo Tupone  gentoo.org>

 ...-private-libs-3.16.0.ebuild => dune-private-libs-3.16.0-r1.ebuild} | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.16.0.ebuild 
b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r1.ebuild
similarity index 86%
rename from dev-ml/dune-private-libs/dune-private-libs-3.16.0.ebuild
rename to dev-ml/dune-private-libs/dune-private-libs-3.16.0-r1.ebuild
index b6e82e1adca1..89ff8e2f11a6 100644
--- a/dev-ml/dune-private-libs/dune-private-libs-3.16.0.ebuild
+++ b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r1.ebuild
@@ -20,8 +20,6 @@ RESTRICT="test"
 BDEPEND=">=dev-ml/dune-3.12"
 DEPEND="
dev-ml/csexp:=[ocamlopt?]
-   ~dev-ml/dyn-${PV}:=[ocamlopt?]
-   ~dev-ml/stdune-${PV}:=[ocamlopt?]
 "
 RDEPEND="${DEPEND}"
 
@@ -30,5 +28,5 @@ src_configure() {
 }
 
 src_compile() {
-   dune-compile ${PN}
+   dune-compile ordering dyn stdune ${PN}
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dyn/, dev-ml/ordering/, dev-ml/stdune/

2024-07-18 Thread Alfredo Tupone
commit: f1adeb13752f4987e0004253c88eb3a5af22b339
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Jul 19 06:30:24 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 19 06:31:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1adeb13

dev-ml/*: drop package version included in dune-private-libs

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dyn/Manifest|  1 -
 dev-ml/dyn/dyn-3.16.0.ebuild   | 31 --
 dev-ml/ordering/Manifest   |  1 -
 dev-ml/ordering/ordering-3.16.0.ebuild | 29 
 dev-ml/stdune/Manifest |  1 -
 dev-ml/stdune/stdune-3.16.0.ebuild | 35 --
 6 files changed, 98 deletions(-)

diff --git a/dev-ml/dyn/Manifest b/dev-ml/dyn/Manifest
index 6ac9178caca4..61a3f0d1c460 100644
--- a/dev-ml/dyn/Manifest
+++ b/dev-ml/dyn/Manifest
@@ -1,6 +1,5 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
 DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
-DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23
 DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 
7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e
 SHA512 
636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be
 DIST dune-3.7.1.tar.gz 2011275 BLAKE2B 
dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929
 SHA512 
d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b

diff --git a/dev-ml/dyn/dyn-3.16.0.ebuild b/dev-ml/dyn/dyn-3.16.0.ebuild
deleted file mode 100644
index a96b11c1fd35..
--- a/dev-ml/dyn/dyn-3.16.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="Dynamic type"
-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"
-DEPEND="~dev-ml/ordering-${PV}:=[ocamlopt?]"
-
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   :
-}
-
-src_compile() {
-   dune-compile ${PN}
-}

diff --git a/dev-ml/ordering/Manifest b/dev-ml/ordering/Manifest
index 6ac9178caca4..61a3f0d1c460 100644
--- a/dev-ml/ordering/Manifest
+++ b/dev-ml/ordering/Manifest
@@ -1,6 +1,5 @@
 DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 
5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230
 SHA512 
2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de
 DIST dune-3.11.1.tar.gz 2753844 BLAKE2B 
de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644
 SHA512 
8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4
 DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 
88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57
 SHA512 
910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
-DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5

[gentoo-commits] repo/gentoo:master commit in: app-misc/geneweb/

2024-07-18 Thread Alfredo Tupone
commit: 41e7869c9373bc510a94fe2fbac923a785f88e90
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Jul 18 20:38:22 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Jul 18 20:39:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e7869c

app-misc/geneweb: do not use camlp5-8.03

Closes: https://bugs.gentoo.org/935833
Signed-off-by: Alfredo Tupone  gentoo.org>

 .../{geneweb-7.0.0_p1-r1.ebuild => geneweb-7.0.0_p1-r2.ebuild}   | 5 +++--
 .../{geneweb-7.0.1_alpha2.ebuild => geneweb-7.0.1_alpha2-r1.ebuild}  | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-misc/geneweb/geneweb-7.0.0_p1-r1.ebuild 
b/app-misc/geneweb/geneweb-7.0.0_p1-r2.ebuild
similarity index 98%
rename from app-misc/geneweb/geneweb-7.0.0_p1-r1.ebuild
rename to app-misc/geneweb/geneweb-7.0.0_p1-r2.ebuild
index 821862c9a63e..beda6a654cd1 100644
--- a/app-misc/geneweb/geneweb-7.0.0_p1-r1.ebuild
+++ b/app-misc/geneweb/geneweb-7.0.0_p1-r2.ebuild
@@ -10,6 +10,8 @@ DESCRIPTION="Genealogy software program with a Web interface"
 HOMEPAGE="https://github.com/geneweb/geneweb";
 SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${TagId}.tar.gz";
 
+S="${WORKDIR}"/${PN}-${TagId}
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
@@ -28,6 +30,7 @@ DEPEND="
dev-ml/markup:=
dev-ml/jingoo:=
>=dev-ml/camlp5-8:=[ocamlopt?]
+   

[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-repository/, dev-ml/opam-format/, dev-ml/opam-state/, ...

2024-07-18 Thread Alfredo Tupone
commit: 2fe8efb95d54adcbb53c4372af052ce49c1fdf0b
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Jul 18 07:15:38 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Jul 18 07:16:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe8efb9

dev-ml/*: drop opam-2.1.5 & children

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-client/Manifest|  1 -
 dev-ml/opam-client/opam-client-2.1.5.ebuild| 43 -
 dev-ml/opam-core/Manifest  |  1 -
 dev-ml/opam-core/opam-core-2.1.5.ebuild| 46 --
 dev-ml/opam-format/Manifest|  1 -
 dev-ml/opam-format/opam-format-2.1.5.ebuild| 54 --
 dev-ml/opam-installer/Manifest |  1 -
 dev-ml/opam-installer/opam-installer-2.1.5.ebuild  | 42 -
 dev-ml/opam-repository/Manifest|  1 -
 .../opam-repository/opam-repository-2.1.5.ebuild   | 40 
 dev-ml/opam-solver/Manifest|  1 -
 dev-ml/opam-solver/opam-solver-2.1.5.ebuild| 43 -
 dev-ml/opam-state/Manifest |  1 -
 dev-ml/opam-state/opam-state-2.1.5.ebuild  | 39 
 dev-ml/opam/Manifest   |  1 -
 dev-ml/opam/opam-2.1.5.ebuild  | 44 --
 16 files changed, 359 deletions(-)

diff --git a/dev-ml/opam-client/Manifest b/dev-ml/opam-client/Manifest
index d1d1ef4c062e..13cb1b80d395 100644
--- a/dev-ml/opam-client/Manifest
+++ b/dev-ml/opam-client/Manifest
@@ -3,4 +3,3 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
-DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-client/opam-client-2.1.5.ebuild 
b/dev-ml/opam-client/opam-client-2.1.5.ebuild
deleted file mode 100644
index 19e091b78f8d..
--- a/dev-ml/opam-client/opam-client-2.1.5.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit dune
-
-DESCRIPTION="opam client libraries"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV/_/-}"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-IUSE="+ocamlopt test"
-RESTRICT="test" # sandbox not working
-
-RDEPEND="
-   dev-ml/cmdliner:=[ocamlopt?]
-   ~dev-ml/opam-repository-${PV}:=[ocamlopt?]
-   ~dev-ml/opam-state-${PV}:=[ocamlopt?]
-   ~dev-ml/opam-solver-${PV}:=[ocamlopt?]
-   dev-ml/opam-file-format:=[ocamlopt?]
-   dev-ml/re:=[ocamlopt?]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( sys-apps/bubblewrap )"
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9-33)))
-(release
- (flags (:standard -warn-error -3-9-33
-   EOF
-}
-
-src_compile() {
-   dune-compile ${PN}
-}

diff --git a/dev-ml/opam-core/Manifest b/dev-ml/opam-core/Manifest
index d1d1ef4c062e..13cb1b80d395 100644
--- a/dev-ml/opam-core/Manifest
+++ b/dev-ml/opam-core/Manifest
@@ -3,4 +3,3 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.p

[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam/

2024-07-17 Thread Alfredo Tupone
commit: 9c5c318cde6d3b023eac2e20b9edc8a231f97b6c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Jul 18 06:04:38 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Jul 18 06:06:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5c318c

dev-ml/opam: add 2.1.6

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam/Manifest  |  1 +
 dev-ml/opam/opam-2.1.6.ebuild | 54 +++
 2 files changed, 55 insertions(+)

diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest
index d1d1ef4c062e..c1dc54712bf2 100644
--- a/dev-ml/opam/Manifest
+++ b/dev-ml/opam/Manifest
@@ -4,3 +4,4 @@ DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c67
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
 DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8
+DIST opam-2.1.6.tar.gz 837526 BLAKE2B 
1ee60691f4fcc1011f461505942f00ff5f5cc0f0bbfc97edb8e4c676d1e4cd28fed8b49ef341af51a750848be3110713cc97e93a9e63999e4b92e7c7f68d743e
 SHA512 
f75d81b4eb19ef6603e7a2a18e1a281ea6f5eea47b820ae888593102db5b98ded5b593b176e70235611b63a07f4a406a57fe016386f4e921f51b55eb62b9864d

diff --git a/dev-ml/opam/opam-2.1.6.ebuild b/dev-ml/opam/opam-2.1.6.ebuild
new file mode 100644
index ..fa7540b2dd30
--- /dev/null
+++ b/dev-ml/opam/opam-2.1.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DUNE_PKG_NAME="opam opam-core opam-format"
+inherit dune
+
+DESCRIPTION="A source-based package manager for OCaml"
+HOMEPAGE="http://opam.ocaml.org/";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test" #see bugs 838658
+
+RDEPEND="
+   dev-ml/cmdliner:=[ocamlopt?]
+   dev-ml/cudf:=[ocamlopt?]
+   dev-ml/dose3:=[ocamlopt?]
+   dev-ml/extlib:=[ocamlopt?]
+   >=dev-ml/mccs-1.1.17:=[ocamlopt?]
+   dev-ml/ocamlgraph:=[ocamlopt?]
+   !dev-ml/opam-client
+   !dev-ml/opam-core
+   dev-ml/opam-file-format:=[ocamlopt?]
+   !dev-ml/opam-format
+   !dev-ml/opam-state
+   !dev-ml/opam-solver
+   !dev-ml/opam-repository
+   dev-ml/re:=[ocamlopt?]
+   sys-apps/bubblewrap
+"
+DEPEND="${RDEPEND}
+   dev-ml/cppo"
+
+src_prepare() {
+   default
+
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9-33)))
+(release
+ (flags (:standard -warn-error -3-9-33
+   EOF
+}
+
+src_compile() {
+   dune-compile opam-solver opam-repository opam-state opam-client 
${DUNE_PKG_NAME}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-installer/

2024-07-17 Thread Alfredo Tupone
commit: 7a9fdfbebec49680493913f10691ca3b6ed5117a
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Jul 18 06:06:40 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Thu Jul 18 06:07:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a9fdfbe

dev-ml/opam-installer: add 2.1.6

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-installer/Manifest|  1 +
 dev-ml/opam-installer/opam-installer-2.1.6.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest
index a004a07b0e44..5e20fd641bc5 100644
--- a/dev-ml/opam-installer/Manifest
+++ b/dev-ml/opam-installer/Manifest
@@ -4,3 +4,4 @@ DIST opam-full-2.0.9.tar.gz 8029605 BLAKE2B 
c2ae06bdbbdbe9db270ec0027ec8d13a228f
 DIST opam-full-2.1.2.tar.gz 9442446 BLAKE2B 
fe5447fe8f9bcedb30bf455e93b54a37e950e2944f6f501545bdccf6d989de2da90106938efb6a12c1b9454ecefed5be9906d65a15a4d0244302ad7ccff170db
 SHA512 
fe12aaa27168435a978c472926d40697af0a7619a529c4bfacd0b71469dfcd534f43164bc74f60f740a735d38a869ae5e87e2414119f4f3fc1826315e8a075cd
 DIST opam-full-2.1.3.tar.gz 9618995 BLAKE2B 
6f33e70c2e59be87b643840128b46441828d3d83888f5d321ac23d33b2fbc4d3163cb4303ac82a7f863abcc9300227bbc48bca3b8db5d6fbcebf0e6cf8869a5d
 SHA512 
fe3a3c86335830944683a39a34a9eb385037476853ab3e2a82b8571a9e2021830cccf25cbd5bb891d239f6a47584c1b1d91aa445e6e2a814847346c5cc526ff1
 DIST opam-full-2.1.5.tar.gz 10801367 BLAKE2B 
5e6b1140e279931dfb61f68d0c4888cb14d05ff610e2b151115efe6b6420d74e7079894b6f4360f377b155008530ba4ace9708bc9d1e1d8c13950c0a5be4de11
 SHA512 
e4e33fcee0a9f922f8b43c6b095554a946559a2c50341326d21cca0f24fc7105c0de01db204b408240b12b267c9929435e2c511adf140618c91873f10444ae90
+DIST opam-full-2.1.6.tar.gz 11704198 BLAKE2B 
20e74551760cadf1d911e72c34502e1e7e62003f8ebc83f3b9cb46c712e13fb5f85f41421cc74b051c2e348e0c0a17f4ea34bf655f7ec48cfcdab1e0d8a57a11
 SHA512 
2bb24db05dc39d6e8294c10b5a6bb2dd8f675a4d56e1dc9a2e9bc576f54d14a1709005219c25586df9382897ab7ba5ea0636765410f01c06958ec59be9f14b4c

diff --git a/dev-ml/opam-installer/opam-installer-2.1.6.ebuild 
b/dev-ml/opam-installer/opam-installer-2.1.6.ebuild
new file mode 100644
index ..c8d56c6f4111
--- /dev/null
+++ b/dev-ml/opam-installer/opam-installer-2.1.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# We are opam
+OPAM_INSTALLER_DEP=" "
+OPAM_SKIP_VALIDATION=yes
+inherit dune
+
+DESCRIPTION="Core installer for opam packages"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz";
+S="${WORKDIR}/opam-full-${PV/_/-}"
+OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test" # sandbox not working
+
+RDEPEND="
+   dev-ml/cmdliner:=[ocamlopt?]
+   ~dev-ml/opam-${PV}:=[ocamlopt?]
+   dev-ml/dose3:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}
+   dev-ml/findlib"
+
+src_configure() {
+   econf \
+   --prefix="${EPREFIX}/usr" \
+   --with-mccs \
+   --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+   --mandir="${EPREFIX}/usr/share/man"
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/dose3/

2024-07-15 Thread Alfredo Tupone
commit: fe7b6ae69e38f506d3dc8179e401dd68b1877200
Author: Alain Emilia Anna Zscheile  ytrizja  de>
AuthorDate: Sat Jul 13 19:32:35 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 13:56:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7b6ae6

dev-ml/dose3: remove unnecessary dependencies on archivers

This also fixes unnecessary [ocamlopt=] use-flag dependencies.

Signed-off-by: Alain Emilia Anna Zscheile  ytrizja.de>
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/dose3/dose3-7.0.0-r1.ebuild | 41 ++
 dev-ml/dose3/metadata.xml  |  4 
 2 files changed, 45 insertions(+)

diff --git a/dev-ml/dose3/dose3-7.0.0-r1.ebuild 
b/dev-ml/dose3/dose3-7.0.0-r1.ebuild
new file mode 100644
index ..d5d0e6ece2c4
--- /dev/null
+++ b/dev-ml/dose3/dose3-7.0.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Library to perform analysis on package repositories"
+HOMEPAGE="http://www.mancoosi.org/software/ 
https://gforge.inria.fr/projects/dose";
+SRC_URI="https://gitlab.com/irill/${PN}/-/archive/${PV}/${P}.tar.bz2";
+S="${WORKDIR}/${PN}-$(ver_cut 1-3)"
+
+LICENSE="LGPL-3+" # with OCaml linking exception
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+
+BDEPEND="
+   dev-ml/findlib
+   dev-ml/ocamlbuild
+"
+# NOTE: dependencies on RPM, camlbz2, ZIP are unnecessary,
+# because those are only used by dose3-extra
+RDEPEND="
+   dev-ml/ocaml-base64:=[ocamlopt?]
+   dev-ml/cudf:=[ocamlopt?]
+   >=dev-ml/extlib-1.7.8:=[ocamlopt?]
+   dev-ml/ocamlgraph:=[ocamlopt?]
+   dev-ml/re:=[ocamlopt?]
+   dev-ml/parmap:=[ocamlopt?]
+   dev-ml/ocaml-expat:=[ocamlopt?]
+   dev-ml/xml-light:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+
+# missing test data
+RESTRICT="test"
+
+src_compile() {
+   dune-compile ${PN}
+}

diff --git a/dev-ml/dose3/metadata.xml b/dev-ml/dose3/metadata.xml
index 353924ec9e4e..447e2daf958d 100644
--- a/dev-ml/dose3/metadata.xml
+++ b/dev-ml/dose3/metadata.xml
@@ -1,6 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
+   
+   fo...@ytrizja.de
+   Alain Emilia Anna Zscheile
+   

m...@gentoo.org
ML



[gentoo-commits] repo/gentoo:master commit in: dev-ml/zarith/

2024-07-15 Thread Alfredo Tupone
commit: 6740af41c7496a1b02ac4f92be10cb0ca1e58ab1
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 13:44:46 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 13:44:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6740af41

dev-ml/zarith: update EAPI 7 -> 8

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/zarith/zarith-1.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/zarith/zarith-1.14.ebuild b/dev-ml/zarith/zarith-1.14.ebuild
index 7b1ddd25ed05..71653713a899 100644
--- a/dev-ml/zarith/zarith-1.14.ebuild
+++ b/dev-ml/zarith/zarith-1.14.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit findlib toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-ml/zarith/

2024-07-15 Thread Alfredo Tupone
commit: ac1cc2e236cdae99f82232b00fafb0ae0b58ce91
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 13:42:36 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 13:42:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac1cc2e2

dev-ml/zarith: add 1.14

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/zarith/Manifest   |  1 +
 dev-ml/zarith/zarith-1.14.ebuild | 59 
 2 files changed, 60 insertions(+)

diff --git a/dev-ml/zarith/Manifest b/dev-ml/zarith/Manifest
index cfcf085547b5..023897c156f6 100644
--- a/dev-ml/zarith/Manifest
+++ b/dev-ml/zarith/Manifest
@@ -1 +1,2 @@
 DIST zarith-1.13.tar.gz 85994 BLAKE2B 
a5860319e17f4e660f248f3e724076b578d27dc3a06e8b54d68bcd6ed021a0354ad714dfcb06329bb9c4a3eadc3d08fd84fd76ef5d1a8902a06a7506d77addde
 SHA512 
a562fa8bf4f5ef44f2af6b9a8f028182fd184c89f8c41455acdc02851cc0fc3124d3776c0de930e8d09cd5d6d88cc689f80f4b597068a0611131f45d057b101f
+DIST zarith-1.14.tar.gz 91788 BLAKE2B 
e00b6ed0893a7a4b53c859edc02030336f1c35405202f87741d87288819bdb6562bb3728c6950074b625ad9e5a16cc4afd39c4e0e2486ba18f1a84e49339fdd3
 SHA512 
8a7f3e82dfa5699c8dda54dd5398c712f3ac4fe04f5208d43d8ba198fb8152de5f91cbb59c15c0a4ba010d4dfcc79f52e405bdd0abbf2798167e9e4216bcb3dd

diff --git a/dev-ml/zarith/zarith-1.14.ebuild b/dev-ml/zarith/zarith-1.14.ebuild
new file mode 100644
index ..7b1ddd25ed05
--- /dev/null
+++ b/dev-ml/zarith/zarith-1.14.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit findlib toolchain-funcs
+
+DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers"
+HOMEPAGE="https://github.com/ocaml/Zarith";
+SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
+
+S="${WORKDIR}/Zarith-release-${PV}"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="doc +ocamlopt"
+RESTRICT="!ocamlopt? ( test )"
+
+RDEPEND="
+   >=dev-lang/ocaml-4.05:=[ocamlopt=]
+   dev-libs/gmp:0=
+"
+DEPEND="${RDEPEND} dev-lang/perl"
+
+DOCS=( README.md Changes )
+
+src_configure() {
+   tc-export CC AR
+   ./configure \
+   -ocamllibdir /usr/$(get_libdir)/ocaml -gmp || die
+   sed -i \
+   -e 's|$(INSTALLDIR)|$(DESTDIR)$(INSTALLDIR)|g' \
+   project.mak || die
+}
+
+src_compile() {
+   emake -j 1 HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex 
ocamlopt yes no) all
+   use doc && emake doc
+}
+
+src_test() {
+   emake HASOCAMLOPT=yes HASDYNLINK=yes tests
+}
+
+src_install() {
+   findlib_src_preinst
+
+   emake \
+   HASOCAMLOPT=$(usex ocamlopt yes no) \
+   HASDYNLINK=$(usex ocamlopt yes no) \
+   DESTDIR="${ED}" \
+   install
+
+   dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a
+
+   use doc && HTML_DOCS=( html/* )
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam/

2024-07-15 Thread Alfredo Tupone
commit: c70bd0b1409807f6de1df6a35592ff9427d116c3
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 10:38:03 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 10:38:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70bd0b1

dev-ml/opam: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam/Manifest  |  1 +
 dev-ml/opam/opam-2.1.5.ebuild | 44 +++
 2 files changed, 45 insertions(+)

diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest
index 13cb1b80d395..d1d1ef4c062e 100644
--- a/dev-ml/opam/Manifest
+++ b/dev-ml/opam/Manifest
@@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
+DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam/opam-2.1.5.ebuild b/dev-ml/opam/opam-2.1.5.ebuild
new file mode 100644
index ..58c912386ed2
--- /dev/null
+++ b/dev-ml/opam/opam-2.1.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="A source-based package manager for OCaml"
+HOMEPAGE="http://opam.ocaml.org/";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test" #see bugs 838658
+
+RDEPEND="
+   dev-ml/cmdliner:=[ocamlopt?]
+   dev-ml/cudf:=[ocamlopt?]
+   dev-ml/dose3:=[ocamlopt?]
+   dev-ml/extlib:=[ocamlopt?]
+   ~dev-ml/opam-client-${PV}:=[ocamlopt?]
+   dev-ml/opam-file-format:=[ocamlopt?]
+   dev-ml/re:=[ocamlopt?]
+   sys-apps/bubblewrap"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9-33)))
+(release
+ (flags (:standard -warn-error -3-9-33
+   EOF
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-client/

2024-07-15 Thread Alfredo Tupone
commit: cbc2699784a5dbfba22b7c5995515dd47d11bc87
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 10:33:41 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 10:33:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbc26997

dev-ml/opam-client: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-client/Manifest |  1 +
 dev-ml/opam-client/opam-client-2.1.5.ebuild | 43 +
 2 files changed, 44 insertions(+)

diff --git a/dev-ml/opam-client/Manifest b/dev-ml/opam-client/Manifest
index 13cb1b80d395..d1d1ef4c062e 100644
--- a/dev-ml/opam-client/Manifest
+++ b/dev-ml/opam-client/Manifest
@@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
+DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-client/opam-client-2.1.5.ebuild 
b/dev-ml/opam-client/opam-client-2.1.5.ebuild
new file mode 100644
index ..19e091b78f8d
--- /dev/null
+++ b/dev-ml/opam-client/opam-client-2.1.5.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="opam client libraries"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="test" # sandbox not working
+
+RDEPEND="
+   dev-ml/cmdliner:=[ocamlopt?]
+   ~dev-ml/opam-repository-${PV}:=[ocamlopt?]
+   ~dev-ml/opam-state-${PV}:=[ocamlopt?]
+   ~dev-ml/opam-solver-${PV}:=[ocamlopt?]
+   dev-ml/opam-file-format:=[ocamlopt?]
+   dev-ml/re:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( sys-apps/bubblewrap )"
+
+src_prepare() {
+   default
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9-33)))
+(release
+ (flags (:standard -warn-error -3-9-33
+   EOF
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-solver/

2024-07-15 Thread Alfredo Tupone
commit: 161851c94aba04ba53ca9eba658fad7abd4323d0
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 10:32:19 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 10:32:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161851c9

dev-ml/opam-solver: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-solver/Manifest |  1 +
 dev-ml/opam-solver/opam-solver-2.1.5.ebuild | 43 +
 2 files changed, 44 insertions(+)

diff --git a/dev-ml/opam-solver/Manifest b/dev-ml/opam-solver/Manifest
index 13cb1b80d395..d1d1ef4c062e 100644
--- a/dev-ml/opam-solver/Manifest
+++ b/dev-ml/opam-solver/Manifest
@@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
+DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-solver/opam-solver-2.1.5.ebuild 
b/dev-ml/opam-solver/opam-solver-2.1.5.ebuild
new file mode 100644
index ..f1356ca7d7cf
--- /dev/null
+++ b/dev-ml/opam-solver/opam-solver-2.1.5.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="opam solver"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="test" # sandbox not working
+
+RDEPEND="
+   ~dev-ml/opam-format-${PV}:=[ocamlopt?]
+   dev-ml/opam-file-format:=[ocamlopt?]
+   dev-ml/re:=[ocamlopt?]
+   dev-ml/mccs:=[ocamlopt?]
+   dev-ml/dose3:=[ocamlopt?]
+   dev-ml/cudf:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}
+   test? ( dev-ml/opam-client )"
+
+src_prepare() {
+   default
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9-33)))
+(release
+ (flags (:standard -warn-error -3-9-33
+   EOF
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-state/

2024-07-15 Thread Alfredo Tupone
commit: a8a4476fc22eb0b1c702adf2b20c17f51f842ec2
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 10:15:53 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 10:15:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a4476f

dev-ml/opam-state: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-state/Manifest|  1 +
 dev-ml/opam-state/opam-state-2.1.5.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/dev-ml/opam-state/Manifest b/dev-ml/opam-state/Manifest
index 13cb1b80d395..d1d1ef4c062e 100644
--- a/dev-ml/opam-state/Manifest
+++ b/dev-ml/opam-state/Manifest
@@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
+DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-state/opam-state-2.1.5.ebuild 
b/dev-ml/opam-state/opam-state-2.1.5.ebuild
new file mode 100644
index ..044d439cdd5d
--- /dev/null
+++ b/dev-ml/opam-state/opam-state-2.1.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="opam state libraries"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test"
+
+RDEPEND="
+   dev-ml/re:=[ocamlopt?]
+   dev-ml/opam-file-format:=[ocamlopt?]
+   ~dev-ml/opam-repository-${PV}:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9-33)))
+(release
+ (flags (:standard -warn-error -3-9-33
+   EOF
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-repository/

2024-07-15 Thread Alfredo Tupone
commit: 2c2845c536a40b24546677bf22f17de96ce2bace
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 10:12:03 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 10:12:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2845c5

dev-ml/opam-repository: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-repository/Manifest|  1 +
 .../opam-repository/opam-repository-2.1.5.ebuild   | 40 ++
 2 files changed, 41 insertions(+)

diff --git a/dev-ml/opam-repository/Manifest b/dev-ml/opam-repository/Manifest
index 13cb1b80d395..d1d1ef4c062e 100644
--- a/dev-ml/opam-repository/Manifest
+++ b/dev-ml/opam-repository/Manifest
@@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
+DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-repository/opam-repository-2.1.5.ebuild 
b/dev-ml/opam-repository/opam-repository-2.1.5.ebuild
new file mode 100644
index ..ac92c2b7ab83
--- /dev/null
+++ b/dev-ml/opam-repository/opam-repository-2.1.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="opam repository libraries"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test"
+
+RDEPEND="
+   ~dev-ml/opam-format-${PV}:=[ocamlopt?]
+   dev-ml/re:=[ocamlopt?]
+   dev-ml/dose3:=[ocamlopt?]
+   dev-ml/opam-file-format:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9-33)))
+(release
+ (flags (:standard -warn-error -3-9-33
+   EOF
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-installer/

2024-07-15 Thread Alfredo Tupone
commit: 8e5c76fcd11b362f597326901feca6dcde6daca9
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 10:06:20 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 10:06:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5c76fc

dev-ml/opam-installer: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-installer/Manifest|  1 +
 dev-ml/opam-installer/opam-installer-2.1.5.ebuild | 42 +++
 2 files changed, 43 insertions(+)

diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest
index 4f87075e8b29..a004a07b0e44 100644
--- a/dev-ml/opam-installer/Manifest
+++ b/dev-ml/opam-installer/Manifest
@@ -3,3 +3,4 @@ DIST opam-full-2.0.10.tar.gz 8173617 BLAKE2B 
6bf7a52835512b3de5bcf0de24f5ba3a322
 DIST opam-full-2.0.9.tar.gz 8029605 BLAKE2B 
c2ae06bdbbdbe9db270ec0027ec8d13a228f0af2ae5089476fa3a698d27e1f47abf2e3a15ecc9ca610717ba6b979b4ca76cce56c52f6592ae789b88fb5e5b68d
 SHA512 
9f44d878a2599a876f5e5b9b7457b6f446a5e59156ed3d449dcc29e40c44df8b69da619eabdf030e45526fba4bd9a00c65dec2c36552d2e03788596b0aceee85
 DIST opam-full-2.1.2.tar.gz 9442446 BLAKE2B 
fe5447fe8f9bcedb30bf455e93b54a37e950e2944f6f501545bdccf6d989de2da90106938efb6a12c1b9454ecefed5be9906d65a15a4d0244302ad7ccff170db
 SHA512 
fe12aaa27168435a978c472926d40697af0a7619a529c4bfacd0b71469dfcd534f43164bc74f60f740a735d38a869ae5e87e2414119f4f3fc1826315e8a075cd
 DIST opam-full-2.1.3.tar.gz 9618995 BLAKE2B 
6f33e70c2e59be87b643840128b46441828d3d83888f5d321ac23d33b2fbc4d3163cb4303ac82a7f863abcc9300227bbc48bca3b8db5d6fbcebf0e6cf8869a5d
 SHA512 
fe3a3c86335830944683a39a34a9eb385037476853ab3e2a82b8571a9e2021830cccf25cbd5bb891d239f6a47584c1b1d91aa445e6e2a814847346c5cc526ff1
+DIST opam-full-2.1.5.tar.gz 10801367 BLAKE2B 
5e6b1140e279931dfb61f68d0c4888cb14d05ff610e2b151115efe6b6420d74e7079894b6f4360f377b155008530ba4ace9708bc9d1e1d8c13950c0a5be4de11
 SHA512 
e4e33fcee0a9f922f8b43c6b095554a946559a2c50341326d21cca0f24fc7105c0de01db204b408240b12b267c9929435e2c511adf140618c91873f10444ae90

diff --git a/dev-ml/opam-installer/opam-installer-2.1.5.ebuild 
b/dev-ml/opam-installer/opam-installer-2.1.5.ebuild
new file mode 100644
index ..58de5666dc7c
--- /dev/null
+++ b/dev-ml/opam-installer/opam-installer-2.1.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# We are opam
+OPAM_INSTALLER_DEP=" "
+OPAM_SKIP_VALIDATION=yes
+inherit dune
+
+DESCRIPTION="Core installer for opam packages"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz";
+S="${WORKDIR}/opam-full-${PV/_/-}"
+OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test" # sandbox not working
+
+RDEPEND="
+   >=dev-lang/ocaml-4.02.3:=
+   dev-ml/cmdliner:=
+   ~dev-ml/opam-format-${PV}:=
+   >=dev-ml/dose3-6:=
+"
+DEPEND="${RDEPEND}
+   dev-ml/findlib"
+
+src_configure() {
+   econf \
+   --prefix="${EPREFIX}/usr" \
+   --with-mccs \
+   --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+   --mandir="${EPREFIX}/usr/share/man"
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-core/

2024-07-15 Thread Alfredo Tupone
commit: 24256857bfd52c52dda95ca502c169745befa95f
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 10:00:11 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 10:00:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24256857

dev-ml/opam-core: drop 2.1.4

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-core/Manifest   |  1 -
 dev-ml/opam-core/opam-core-2.1.4.ebuild | 46 -
 2 files changed, 47 deletions(-)

diff --git a/dev-ml/opam-core/Manifest b/dev-ml/opam-core/Manifest
index 2544ddadcd36..d1d1ef4c062e 100644
--- a/dev-ml/opam-core/Manifest
+++ b/dev-ml/opam-core/Manifest
@@ -3,5 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
-DIST opam-2.1.4.tar.gz 833495 BLAKE2B 
1969546d9cba34d33bdff221e7de0d974380c238a7b8671159c06ae55081e0ab0019d7dc27e9fefc908efc58a2f39f3b28ed11b68827743345ba721a2123ef5b
 SHA512 
276fdbe4e114a0d23b9d4b7938d87bf39c06b4716fae601588da7d5d2d5d9b5c584855d96edfed2eb5ac8a36ee9431c4ea7d281c52acdab28b9a3bdcbf10ce57
 DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-core/opam-core-2.1.4.ebuild 
b/dev-ml/opam-core/opam-core-2.1.4.ebuild
deleted file mode 100644
index 0d41c1a9eb72..
--- a/dev-ml/opam-core/opam-core-2.1.4.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# We are opam
-OPAM_INSTALLER_DEP=" "
-inherit opam
-
-DESCRIPTION="Core libraries for opam"
-HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
-SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
-S="${WORKDIR}/opam-${PV}"
-OPAM_INSTALLER="${S}/opam-installer"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-
-RDEPEND="
-   dev-ml/ocamlgraph:=
-   dev-ml/re:=
-   dev-ml/opam-file-format:=
-   dev-ml/cmdliner:=
-"
-DEPEND="${RDEPEND}
-   dev-ml/cppo"
-
-src_prepare() {
-   default
-   cat <<- EOF >> "${S}/dune"
-   (env
-(dev
- (flags (:standard -warn-error -3-9)))
-(release
- (flags (:standard -warn-error -3-9
-   EOF
-
-   # HACK: Probably bug in Makefile? Magic. See: 
https://bugs.gentoo.org/933845
-   touch opam-installer.install || die
-}
-
-src_compile() {
-   emake -j1 opam-installer
-   emake -j1 ${PN}.install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-format/

2024-07-15 Thread Alfredo Tupone
commit: 86339b3e125d5bf2cf26e65618da8307b84fc63c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 09:58:38 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 09:58:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86339b3e

dev-ml/opam-format: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-format/Manifest |  1 +
 dev-ml/opam-format/opam-format-2.1.5.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/dev-ml/opam-format/Manifest b/dev-ml/opam-format/Manifest
index 13cb1b80d395..d1d1ef4c062e 100644
--- a/dev-ml/opam-format/Manifest
+++ b/dev-ml/opam-format/Manifest
@@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
+DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-format/opam-format-2.1.5.ebuild 
b/dev-ml/opam-format/opam-format-2.1.5.ebuild
new file mode 100644
index ..b64a2e35da75
--- /dev/null
+++ b/dev-ml/opam-format/opam-format-2.1.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# We are opam
+OPAM_INSTALLER_DEP=" "
+inherit dune
+
+DESCRIPTION="Core libraries for opam"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV}"
+OPAM_INSTALLER="${S}/opam-installer"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="test" #sandbox not working
+
+RDEPEND="
+   ~dev-ml/opam-core-${PV}:=
+   dev-ml/re:=[ocamlopt?]
+   dev-ml/opam-file-format:=[ocamlopt?]
+   dev-ml/dose3:=[ocamlopt?]
+   dev-ml/mccs:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}
+   dev-ml/cppo"
+BDEPEND="test? (
+   sys-apps/bubblewrap
+)"
+
+src_prepare() {
+   default
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9-33)))
+(release
+ (flags (:standard -warn-error -3-9-33
+   EOF
+   sed -i \
+   -e '/wrap-build-commands/d' \
+   -e '/wrap-install-commands/d' \
+   -e '/wrap-remove-commands/d' \
+   tests/reftests/opamroot-versions.test \
+   || die
+}
+
+src_compile() {
+   dune-compile ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-core/

2024-07-15 Thread Alfredo Tupone
commit: ffc09cf22dc6cd6610ef8f4eb895a3da49961937
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 09:18:08 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 09:18:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffc09cf2

dev-ml/opam-core: add 2.1.5

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-core/Manifest   |  1 +
 dev-ml/opam-core/opam-core-2.1.5.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/dev-ml/opam-core/Manifest b/dev-ml/opam-core/Manifest
index d28ccf8a7142..2544ddadcd36 100644
--- a/dev-ml/opam-core/Manifest
+++ b/dev-ml/opam-core/Manifest
@@ -4,3 +4,4 @@ DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c67
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
 DIST opam-2.1.4.tar.gz 833495 BLAKE2B 
1969546d9cba34d33bdff221e7de0d974380c238a7b8671159c06ae55081e0ab0019d7dc27e9fefc908efc58a2f39f3b28ed11b68827743345ba721a2123ef5b
 SHA512 
276fdbe4e114a0d23b9d4b7938d87bf39c06b4716fae601588da7d5d2d5d9b5c584855d96edfed2eb5ac8a36ee9431c4ea7d281c52acdab28b9a3bdcbf10ce57
+DIST opam-2.1.5.tar.gz 837005 BLAKE2B 
f2e58784959f0e47fbe5ae65112a030d8350b061d7b0d2676f40e22ec5bf62c136bc37fd3078403dab807705ce8a1c8b6bb0ecf00b68fdfbb5f3d5a9acb88c77
 SHA512 
4395defe7df1d03ca889718b8eafd8161ff009710475f62673f19f012e0bde8ad2a919bd9d02d7f96b4c5a9bbf38e0ba9a256531c24de15cafabd4ef11f7c8e8

diff --git a/dev-ml/opam-core/opam-core-2.1.5.ebuild 
b/dev-ml/opam-core/opam-core-2.1.5.ebuild
new file mode 100644
index ..0d41c1a9eb72
--- /dev/null
+++ b/dev-ml/opam-core/opam-core-2.1.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# We are opam
+OPAM_INSTALLER_DEP=" "
+inherit opam
+
+DESCRIPTION="Core libraries for opam"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV}"
+OPAM_INSTALLER="${S}/opam-installer"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-ml/ocamlgraph:=
+   dev-ml/re:=
+   dev-ml/opam-file-format:=
+   dev-ml/cmdliner:=
+"
+DEPEND="${RDEPEND}
+   dev-ml/cppo"
+
+src_prepare() {
+   default
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9)))
+(release
+ (flags (:standard -warn-error -3-9
+   EOF
+
+   # HACK: Probably bug in Makefile? Magic. See: 
https://bugs.gentoo.org/933845
+   touch opam-installer.install || die
+}
+
+src_compile() {
+   emake -j1 opam-installer
+   emake -j1 ${PN}.install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-core/

2024-07-15 Thread Alfredo Tupone
commit: bcb59ac3b0b1c414dfd63e0e268fb78c266783be
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon Jul 15 09:08:04 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Mon Jul 15 09:08:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb59ac3

dev-ml/opam-core: add 2.1.4

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/opam-core/Manifest   |  1 +
 dev-ml/opam-core/opam-core-2.1.4.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/dev-ml/opam-core/Manifest b/dev-ml/opam-core/Manifest
index 13cb1b80d395..d28ccf8a7142 100644
--- a/dev-ml/opam-core/Manifest
+++ b/dev-ml/opam-core/Manifest
@@ -3,3 +3,4 @@ DIST opam-2.0.9.tar.gz 644429 BLAKE2B 
d96ee79685a8ee8ff82c7570a747c80e38d86e5137
 DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B 
f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147
 SHA512 
e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608
 DIST opam-2.1.2.tar.gz 818848 BLAKE2B 
ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c
 SHA512 
bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396
 DIST opam-2.1.3.tar.gz 832450 BLAKE2B 
c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf
 SHA512 
040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc
+DIST opam-2.1.4.tar.gz 833495 BLAKE2B 
1969546d9cba34d33bdff221e7de0d974380c238a7b8671159c06ae55081e0ab0019d7dc27e9fefc908efc58a2f39f3b28ed11b68827743345ba721a2123ef5b
 SHA512 
276fdbe4e114a0d23b9d4b7938d87bf39c06b4716fae601588da7d5d2d5d9b5c584855d96edfed2eb5ac8a36ee9431c4ea7d281c52acdab28b9a3bdcbf10ce57

diff --git a/dev-ml/opam-core/opam-core-2.1.4.ebuild 
b/dev-ml/opam-core/opam-core-2.1.4.ebuild
new file mode 100644
index ..0d41c1a9eb72
--- /dev/null
+++ b/dev-ml/opam-core/opam-core-2.1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# We are opam
+OPAM_INSTALLER_DEP=" "
+inherit opam
+
+DESCRIPTION="Core libraries for opam"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam";
+SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> 
opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV}"
+OPAM_INSTALLER="${S}/opam-installer"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-ml/ocamlgraph:=
+   dev-ml/re:=
+   dev-ml/opam-file-format:=
+   dev-ml/cmdliner:=
+"
+DEPEND="${RDEPEND}
+   dev-ml/cppo"
+
+src_prepare() {
+   default
+   cat <<- EOF >> "${S}/dune"
+   (env
+(dev
+ (flags (:standard -warn-error -3-9)))
+(release
+ (flags (:standard -warn-error -3-9
+   EOF
+
+   # HACK: Probably bug in Makefile? Magic. See: 
https://bugs.gentoo.org/933845
+   touch opam-installer.install || die
+}
+
+src_compile() {
+   emake -j1 opam-installer
+   emake -j1 ${PN}.install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/alcotest/

2024-07-14 Thread Alfredo Tupone
commit: fd34ab81d7a8fcf515461370077ca53f421b3422
Author: Alain Emilia Anna Zscheile  ytrizja  de>
AuthorDate: Sat Jul 13 18:13:59 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Jul 14 19:04:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd34ab81

dev-ml/alcotest: update maintainer address

Signed-off-by: Alain Emilia Anna Zscheile  ytrizja.de>
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/alcotest/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/alcotest/metadata.xml b/dev-ml/alcotest/metadata.xml
index f6ce5fdda9c8..e0c1b3d92bfc 100644
--- a/dev-ml/alcotest/metadata.xml
+++ b/dev-ml/alcotest/metadata.xml
@@ -2,7 +2,7 @@
 https://www.gentoo.org/dtd/metadata.dtd";>
 

-   fogti+de...@ytrizja.de
+   fo...@ytrizja.de
Alain Emilia Anna Zscheile





[gentoo-commits] repo/gentoo:master commit in: dev-ml/mccs/

2024-07-14 Thread Alfredo Tupone
commit: 2c6d4806391cd37a05a763bd7a390465fc4a2b63
Author: Alain Emilia Anna Zscheile  ytrizja  de>
AuthorDate: Sat Jul 13 17:23:01 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Jul 14 19:00:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6d4806

dev-ml/mccs: add 1.1.17

Signed-off-by: Alain Emilia Anna Zscheile  ytrizja.de>
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/mccs/Manifest   |  1 +
 dev-ml/mccs/mccs-1.1.17.ebuild | 29 +
 2 files changed, 30 insertions(+)

diff --git a/dev-ml/mccs/Manifest b/dev-ml/mccs/Manifest
index 309a250e3f9b..58d2790dc0c3 100644
--- a/dev-ml/mccs/Manifest
+++ b/dev-ml/mccs/Manifest
@@ -1,2 +1,3 @@
 DIST mccs-1.1.13.tar.gz 1024449 BLAKE2B 
c653c7d0b5fb6f9ea8facd8bfab517d80c7ec8cfd1ca512d81b81760e1d21c6978696af1cac596f0b11014464851c0c32e3bb5c6f70d88ad1bb7ef0034b8ff7d
 SHA512 
2c2bc3c0e82b53a0e20c2542704eba8e3a2a1884f31b1a0a0079dd22fc02be8a8a62e582bdbf501339be0e9d6824872d737087e0fe150073b29b374505de073d
 DIST mccs-1.1.14.tar.gz 1024455 BLAKE2B 
60a8170bcef250532f69d78df72906f944b392dc858c6b88e19fab367d71c19a4316c78f1285fbd120fb9212c2a3f15be3c3ec9bc2262aab80bed6b0dcc76cca
 SHA512 
f7a50473efb7823f61dda2753be4887cebc6aa43c1cc9de2596a15b418fbc577ea60d96f66488a1008032f75bbc3b3b090017d5846d5558463bd8ca062270895
+DIST mccs-1.1.17.tar.gz 1025141 BLAKE2B 
c553e4f5d550297e70da182a7d819f62131e70cc582e2086c1eeb5b5829e2ead5c13a2e8efface8b1e1ff741b8d246a3e0299bcdd61fc50c16e1f6775da25413
 SHA512 
2118a95bc4f20da469c13628a9dc3d193717789fb05242cfa38a3a195228a5376c6fa50e8369aa21be5e90e2bc5094a58e319d8fe75a63da925daa52024e8c40

diff --git a/dev-ml/mccs/mccs-1.1.17.ebuild b/dev-ml/mccs/mccs-1.1.17.ebuild
new file mode 100644
index ..b7aecfc64de4
--- /dev/null
+++ b/dev-ml/mccs/mccs-1.1.17.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+MY_PV=$(ver_rs 2 '+')
+
+DESCRIPTION="Multi Criteria CUDF Solver"
+HOMEPAGE="http://www.i3s.unice.fr/~cpjm/misc/ 
https://github.com/AltGr/ocaml-mccs/issues";
+SRC_URI="https://github.com/AltGr/ocaml-mccs/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}"/ocaml-${PN}-$(ver_rs 2 '-')
+
+LICENSE="|| ( LGPL-2.1 BSD GPL-3 )"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-ml/cudf:=
+   sci-mathematics/glpk:=
+"
+DEPEND="${RDEPEND}
+   test? (
+   dev-ml/extlib:=
+   )
+"



[gentoo-commits] repo/gentoo:master commit in: dev-ml/mccs/

2024-07-14 Thread Alfredo Tupone
commit: 49a239a7f69c84cca84d6e145ae652800ad10883
Author: Alain Emilia Anna Zscheile  ytrizja  de>
AuthorDate: Sat Jul 13 19:50:35 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sun Jul 14 19:00:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a239a7

dev-ml/mccs: update HOMEPAGE, SRC_URI

This fixes a dead URL and a redirect (git repo changed owner).

Signed-off-by: Alain Emilia Anna Zscheile  ytrizja.de>
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/mccs/mccs-1.1.13.ebuild | 6 +++---
 dev-ml/mccs/mccs-1.1.14.ebuild | 6 +++---
 dev-ml/mccs/mccs-1.1.17.ebuild | 4 ++--
 dev-ml/mccs/metadata.xml   | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-ml/mccs/mccs-1.1.13.ebuild b/dev-ml/mccs/mccs-1.1.13.ebuild
index 0fb1656753d4..120b5be528ae 100644
--- a/dev-ml/mccs/mccs-1.1.13.ebuild
+++ b/dev-ml/mccs/mccs-1.1.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,8 +8,8 @@ inherit dune
 MY_PV=$(ver_rs 2 '+')
 
 DESCRIPTION="Multi Criteria CUDF Solver"
-HOMEPAGE="http://www.i3s.unice.fr/~cpjm/misc/ 
https://github.com/AltGr/ocaml-mccs/issues";
-SRC_URI="https://github.com/AltGr/ocaml-mccs/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+HOMEPAGE="https://github.com/ocaml-opam/ocaml-mccs";
+SRC_URI="https://github.com/ocaml-opam/ocaml-mccs/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}"/ocaml-${PN}-$(ver_rs 2 '-')
 
 LICENSE="BSD"

diff --git a/dev-ml/mccs/mccs-1.1.14.ebuild b/dev-ml/mccs/mccs-1.1.14.ebuild
index 85495f2cda7f..31ee77150591 100644
--- a/dev-ml/mccs/mccs-1.1.14.ebuild
+++ b/dev-ml/mccs/mccs-1.1.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,8 +8,8 @@ inherit dune
 MY_PV=$(ver_rs 2 '+')
 
 DESCRIPTION="Multi Criteria CUDF Solver"
-HOMEPAGE="http://www.i3s.unice.fr/~cpjm/misc/ 
https://github.com/AltGr/ocaml-mccs/issues";
-SRC_URI="https://github.com/AltGr/ocaml-mccs/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+HOMEPAGE="https://github.com/ocaml-opam/ocaml-mccs";
+SRC_URI="https://github.com/ocaml-opam/ocaml-mccs/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}"/ocaml-${PN}-$(ver_rs 2 '-')
 
 LICENSE="BSD"

diff --git a/dev-ml/mccs/mccs-1.1.17.ebuild b/dev-ml/mccs/mccs-1.1.17.ebuild
index b7aecfc64de4..6a857778b7e0 100644
--- a/dev-ml/mccs/mccs-1.1.17.ebuild
+++ b/dev-ml/mccs/mccs-1.1.17.ebuild
@@ -8,8 +8,8 @@ inherit dune
 MY_PV=$(ver_rs 2 '+')
 
 DESCRIPTION="Multi Criteria CUDF Solver"
-HOMEPAGE="http://www.i3s.unice.fr/~cpjm/misc/ 
https://github.com/AltGr/ocaml-mccs/issues";
-SRC_URI="https://github.com/AltGr/ocaml-mccs/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+HOMEPAGE="https://github.com/ocaml-opam/ocaml-mccs";
+SRC_URI="https://github.com/ocaml-opam/ocaml-mccs/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}"/ocaml-${PN}-$(ver_rs 2 '-')
 
 LICENSE="|| ( LGPL-2.1 BSD GPL-3 )"

diff --git a/dev-ml/mccs/metadata.xml b/dev-ml/mccs/metadata.xml
index 993260c8c1ee..6489fe7f6023 100644
--- a/dev-ml/mccs/metadata.xml
+++ b/dev-ml/mccs/metadata.xml
@@ -6,6 +6,6 @@
ML


-   AltGr/ocaml-mccs
+   ocaml-opam/ocaml-mccs

 



[gentoo-commits] repo/gentoo:master commit in: dev-ml/base/

2024-07-13 Thread Alfredo Tupone
commit: d31bc4244b360f135563d37e5fe6cd972d40005f
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jul 13 11:53:22 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 13 11:53:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31bc424

dev-ml/base: add 0.17.1, drop 0.17.0-r1

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/base/Manifest  | 2 +-
 dev-ml/base/{base-0.17.0-r1.ebuild => base-0.17.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ml/base/Manifest b/dev-ml/base/Manifest
index d7c1a2fcfb64..1f11482e902b 100644
--- a/dev-ml/base/Manifest
+++ b/dev-ml/base/Manifest
@@ -2,4 +2,4 @@ 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

diff --git a/dev-ml/base/base-0.17.0-r1.ebuild b/dev-ml/base/base-0.17.1.ebuild
similarity index 100%
rename from dev-ml/base/base-0.17.0-r1.ebuild
rename to dev-ml/base/base-0.17.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-ml/yojson/

2024-07-13 Thread Alfredo Tupone
commit: 8890c71ea3daeccd183ea4ae61b07323a5623c08
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jul 13 11:50:58 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 13 11:51:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8890c71e

dev-ml/yojson: add 2.2.2

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/yojson/Manifest|  1 +
 dev-ml/yojson/yojson-2.2.2.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest
index 67cf7f1a54a8..7c6cc29e2d98 100644
--- a/dev-ml/yojson/Manifest
+++ b/dev-ml/yojson/Manifest
@@ -1,3 +1,4 @@
 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

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 ..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?]
+   !!

[gentoo-commits] repo/gentoo:master commit in: dev-ml/uuseg/

2024-07-13 Thread Alfredo Tupone
commit: cfaa8dc02cf9fa7180f7943e929013499ddab35d
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jul 13 11:45:16 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 13 11:45:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaa8dc0

dev-ml/uuseg: add 15.1.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/uuseg/Manifest|  1 +
 dev-ml/uuseg/uuseg-15.1.0.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/dev-ml/uuseg/Manifest b/dev-ml/uuseg/Manifest
index 93afecf9c511..564878a67f1c 100644
--- a/dev-ml/uuseg/Manifest
+++ b/dev-ml/uuseg/Manifest
@@ -1 +1,2 @@
 DIST uuseg-15.0.0.tar.gz 25540 BLAKE2B 
4ee1512bde79aab4777395d3ccfb8fe76c97ba7e93b722acd7c36acac432a44a9eade512ea45a0204a1d947a60e3d61773de05890d64d7afac4b1965d1493bb3
 SHA512 
c117868d52ca8f5de3104b0ea25ea011c19cefd53018c4d9bdf900185d04f74c097b7f129b75366a8da905a79dac3cbf8e6c66ff6c20fee1c2e42b9cdd6a9fa6
+DIST uuseg-15.1.0.tar.gz 25603 BLAKE2B 
fcf0817b60040eb9065c487d2e2ac4c8124c19eed09f80de2c874a5704a658a69f9f478dcf94647cfe433f9b2082119824085cac075469d2ab5fa77b0e2c8472
 SHA512 
959769f915edac4961e50fe7a7f866fe50bed31866e44c6240c95b58034efc4e06b7bfdf5a7c0a7d3f41f21f0979f7b470c9d26c1e37da19613d07d2ad93d829

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/utop/

2024-07-13 Thread Alfredo Tupone
commit: 0d2589fdfd4b93c0ba2f2c01b1f62ed3ffa23325
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jul 13 11:37:36 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 13 11:37:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2589fd

dev-ml/utop: add 2.14.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/utop/Manifest   |  1 +
 dev-ml/utop/utop-2.14.0.ebuild | 66 ++
 2 files changed, 67 insertions(+)

diff --git a/dev-ml/utop/Manifest b/dev-ml/utop/Manifest
index 87f363967d57..5e5e78be39f5 100644
--- a/dev-ml/utop/Manifest
+++ b/dev-ml/utop/Manifest
@@ -1 +1,2 @@
 DIST utop-2.12.1.tar.gz 416596 BLAKE2B 
a8a31c91fd4f989e3d89bc736caa7b611ba0ccc2de905adcd1cf59fff87770d5a00c2d7a43462940269ae8be2f5980fa5b8d2ec7ba547b937cc1e6a579621f2f
 SHA512 
cc52bdb2a58141e6f7b678c93f69b0aa5ca4c628cb6841e02e6a783191a917bd838c06682d55f4f455a01a7004e43b5193d8574968b8400050b0f7b5a102ca3a
+DIST utop-2.14.0.tar.gz 418609 BLAKE2B 
726ff00d6ce13f6bb81b6e1ad82749094f25a6394f6552f2a976f270d182a7b600a9a17a1c692e56fa807332b25638a8cf0c2082c12ef93262ef5409633fba27
 SHA512 
16c724c0d54cd14d2126060f00e8b86fe3b886cffd7ff306a825d7f9e045b74ffc5830f659ccb151dfaa36c41c2966c26bc2c2e7567f9e1d725b33e9f677d19e

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/xdg/

2024-07-13 Thread Alfredo Tupone
commit: 699ec31cf68b9e96d79a05343f5bd91d2174e83d
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jul 13 11:34:58 2024 +
Commit:     Alfredo Tupone  gentoo  org>
CommitDate: Sat Jul 13 11:35:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=699ec31c

dev-ml/xdg: new package, add 3.16.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-ml/xdg/Manifest  |  1 +
 dev-ml/xdg/metadata.xml  | 11 +++
 dev-ml/xdg/xdg-3.16.0.ebuild | 29 +
 3 files changed, 41 insertions(+)

diff --git a/dev-ml/xdg/Manifest b/dev-ml/xdg/Manifest
new file mode 100644
index ..62c6631a29ee
--- /dev/null
+++ b/dev-ml/xdg/Manifest
@@ -0,0 +1 @@
+DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 
5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e
 SHA512 
3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23

diff --git a/dev-ml/xdg/metadata.xml b/dev-ml/xdg/metadata.xml
new file mode 100644
index ..86dc156e664c
--- /dev/null
+++ b/dev-ml/xdg/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   m...@gentoo.org
+   ML
+   
+   
+   ocaml/dune
+   
+

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 ..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}
+}



  1   2   3   4   5   6   7   8   9   10   >