mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
dev-ml/patch: new package; add version 3.0.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
6f5b1b4334
commit
cdf1bfd247
1
dev-ml/patch/Manifest
Normal file
1
dev-ml/patch/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST patch-3.0.1.tar.gz 28358 BLAKE2B 0fdb7b9ed5b767ae56c438c2fa4decbc88da94ecb3989a0ac0d2938ce4bdb88045da6dec42454a46da6cfc3c547a842b30e28e663620132cc3a7cbdd1695120a SHA512 c8898796df0fbe93e2501c919ecfd3f49f18ad29a29711b5797dc34604261ff275967f81f35fc1d41c4a9a08a6d88ea6a60496f2e40f40268cc6a316a9e4ba7d
|
||||
13
dev-ml/patch/metadata.xml
Normal file
13
dev-ml/patch/metadata.xml
Normal 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>
|
||||
31
dev-ml/patch/patch-3.0.1.ebuild
Normal file
31
dev-ml/patch/patch-3.0.1.ebuild
Normal 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
|
||||
)
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user