commit: 9be472d2d7f16c7af73f6758a73c8a9e35883105 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Feb 8 10:47:46 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Feb 8 10:47:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be472d2
dev-vcs/difftastic: new package, add 0.62.0 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-vcs/difftastic/Manifest | 2 ++ dev-vcs/difftastic/difftastic-0.62.0.ebuild | 26 ++++++++++++++++++++++++++ dev-vcs/difftastic/metadata.xml | 11 +++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-vcs/difftastic/Manifest b/dev-vcs/difftastic/Manifest new file mode 100644 index 000000000000..e8955ad1d31a --- /dev/null +++ b/dev-vcs/difftastic/Manifest @@ -0,0 +1,2 @@ +DIST difftastic-0.62.0-crates.tar.xz 19673596 BLAKE2B 6445cac4b172c469f6fb0a6cc5ef2c86d56f06e2ea2b3dc9c8bf245732a2cb5e5837da72050d268039c7adf841f510704de42f13f5dd1bda1173d895f96209d5 SHA512 c3f9e95bd72fcba619be5a835d101498f8eb6b45406090020e95d8d7bd3a40f5b9ef8155406f6c83239bf15e029e47a4bbeb0c7783fcf9a27a80babfe270b99d +DIST difftastic-0.62.0.tar.gz 29121345 BLAKE2B 5b47a78106062062ff012d7c580f525013cab12f4bd4800088fcd70452deec40de3dd74bbf623d8b78af3d81f8f3f93f74b186f43c958aaac8a51efba654313a SHA512 daee0fb7638fda10c673db263f3d64bfc74f48905ce04e88ec2153b8ac8fc1c3d3076afc2d232810ebdf49fd0c2e818df9f311126b68ee4b05e2765ec103b414 diff --git a/dev-vcs/difftastic/difftastic-0.62.0.ebuild b/dev-vcs/difftastic/difftastic-0.62.0.ebuild new file mode 100644 index 000000000000..699855a07275 --- /dev/null +++ b/dev-vcs/difftastic/difftastic-0.62.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" +inherit cargo + +DESCRIPTION="Structural diff tool that understands syntax " +HOMEPAGE="https://difftastic.wilfred.me.uk/ https://github.com/Wilfred/difftastic" +SRC_URI="https://github.com/Wilfred/difftastic/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016 ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( README.md CHANGELOG.md ) + +src_install() { + cargo_src_install + einstalldocs + doman difft.1 +} diff --git a/dev-vcs/difftastic/metadata.xml b/dev-vcs/difftastic/metadata.xml new file mode 100644 index 000000000000..562cbd655c7e --- /dev/null +++ b/dev-vcs/difftastic/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> + <name>Arthur Zamarin</name> + </maintainer> + <upstream> + <remote-id type="github">Wilfred/difftastic</remote-id> + </upstream> +</pkgmetadata>
