Сравнение ocaml-fileutils-0.6.3-r1 с ocaml-fileutils-0.6.4-r1
/usr/portage/dev-ml/ocaml-fileutils/ocaml-fileutils-0.6.4-r1.ebuild 2023-10-09 14:52:29.796368358 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
DUNE_PKG_NAME="fileutils" |
|
6 |
DUNE_PKG_NAME=fileutils |
|
7 | 7 | |
8 | 8 |
inherit dune |
9 | 9 | |
10 | 10 |
DESCRIPTION="Pure OCaml functions to manipulate real file (POSIX like) and filename" |
11 | 11 |
HOMEPAGE="https://github.com/gildor478/ocaml-fileutils" |
12 |
SRC_URI="https://github.com/gildor478/${PN}/releases/download/v${PV}/${DUNE_PKG_NAME}-v${PV}.tbz -> ${P}.tar.bz2" |
|
12 |
SRC_URI="https://github.com/gildor478/${PN}/releases/download/v${PV}/${DUNE_PKG_NAME}-${PV}.tbz -> ${P}.tar.bz2" |
|
13 |
S="${WORKDIR}"/${DUNE_PKG_NAME}-${PV} |
|
13 | 14 | |
14 | 15 |
LICENSE="LGPL-2.1-with-linking-exception" |
15 | 16 |
SLOT="0" |
16 | 17 |
KEYWORDS="amd64 ~x86" |
17 |
IUSE="+ocamlopt" |
|
18 |
IUSE="+ocamlopt test" |
|
19 |
RESTRICT="!test? ( test )" |
|
18 | 20 | |
19 |
DEPEND=">=dev-ml/ounit2-2.0.0 |
|
20 |
>=dev-ml/stdlib-shims-0.2.0" |
|
21 |
DEPEND="dev-ml/stdlib-shims:=" |
|
21 | 22 |
RDEPEND="${DEPEND}" |
23 |
BDEPEND="test? ( dev-ml/ounit2 )" |
|
22 | 24 | |
23 |
DOCS=( "README.md" "CHANGES.md" "LICENSE.txt" ) |
|
25 |
PATCHES=( "${FILESDIR}"/${P}-dune.patch ) |
|
24 | 26 | |
25 |
S="${WORKDIR}/${DUNE_PKG_NAME}-v${PV}" |
|
26 | ||
27 |
src_prepare() { |
|
28 |
default |
|
29 | ||
30 |
# Port to dev-ml/ounit2 |
|
31 |
sed -i -e 's/oUnit/ounit2/' test/dune || die |
|
32 |
} |
|
27 |
DOCS=( CHANGES.md LICENSE.txt README.md ) |