commit: 32c3abb8901209986e2933ec4449407a793aa11f Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Fri Jun 20 16:11:11 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Fri Jun 20 16:20:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c3abb8
sci-mathematics/functions-matlab-colormaps: new package, add 1.0_p20250328 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> .../functions-matlab-colormaps/Manifest | 1 + ...functions-matlab-colormaps-1.0_p20250328.ebuild | 22 ++++++++++++++++++++++ .../functions-matlab-colormaps/metadata.xml | 11 +++++++++++ 3 files changed, 34 insertions(+) diff --git a/sci-mathematics/functions-matlab-colormaps/Manifest b/sci-mathematics/functions-matlab-colormaps/Manifest new file mode 100644 index 000000000000..c48b85be9f91 --- /dev/null +++ b/sci-mathematics/functions-matlab-colormaps/Manifest @@ -0,0 +1 @@ +DIST functions-matlab-colormaps-1.0_p20250328.tar.gz 62986402 BLAKE2B 07048c4fe46cc9605bab860239d0d83f66a7e690940a0479f0a817c53bffa0fbaf3ece7c85f6b88ab173a793cf42ffa15a4a0e2f52c1655e10a4d94558627f43 SHA512 437a84c4204f06859215c9eb539a793b16270ad88143519f30c2e5dd722c4789a47a4f4bd36a0135dbbbca1f90022ac2d00c7f6f0a864206cd29f41a80e11884 diff --git a/sci-mathematics/functions-matlab-colormaps/functions-matlab-colormaps-1.0_p20250328.ebuild b/sci-mathematics/functions-matlab-colormaps/functions-matlab-colormaps-1.0_p20250328.ebuild new file mode 100644 index 000000000000..cf600c491f3d --- /dev/null +++ b/sci-mathematics/functions-matlab-colormaps/functions-matlab-colormaps-1.0_p20250328.ebuild @@ -0,0 +1,22 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Additional colormaps for octave by Ultralytics" +HOMEPAGE="https://github.com/ultralytics/functions-matlab/tree/main/plotting/colormaps" +COMMIT="c9559c6511a6b43bb5037ee525dcd8d3abd7e087" +SRC_URI="https://github.com/ultralytics/functions-matlab/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN/-colormaps/}-${COMMIT}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="sci-mathematics/octave:=" +BDEPEND="${RDEPEND}" + +src_install() { + insinto "$(octave-config --m-site-dir)" + doins plotting/colormaps/*.m +} diff --git a/sci-mathematics/functions-matlab-colormaps/metadata.xml b/sci-mathematics/functions-matlab-colormaps/metadata.xml new file mode 100644 index 000000000000..99a145c8de6d --- /dev/null +++ b/sci-mathematics/functions-matlab-colormaps/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">ultralytics/functions-matlab</remote-id> + </upstream> +</pkgmetadata>
