dev-ml/patch: new package; add version 3.0.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-10-23 20:31:31 +02:00
parent 6f5b1b4334
commit cdf1bfd247
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 45 additions and 0 deletions

1
dev-ml/patch/Manifest Normal file
View File

@ -0,0 +1 @@
DIST patch-3.0.1.tar.gz 28358 BLAKE2B 0fdb7b9ed5b767ae56c438c2fa4decbc88da94ecb3989a0ac0d2938ce4bdb88045da6dec42454a46da6cfc3c547a842b30e28e663620132cc3a7cbdd1695120a SHA512 c8898796df0fbe93e2501c919ecfd3f49f18ad29a29711b5797dc34604261ff275967f81f35fc1d41c4a9a08a6d88ea6a60496f2e40f40268cc6a316a9e4ba7d

13
dev-ml/patch/metadata.xml Normal file
View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>ML</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/hannesm/patch/issues/</bugs-to>
<remote-id type="github">hannesm/patch</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,31 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Patch library purely in OCaml"
HOMEPAGE="https://github.com/hannesm/patch/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/hannesm/${PN}"
else
SRC_URI="https://github.com/hannesm/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-ml/alcotest
)
"