Diff ocaml-ssl-0.5.13 with a ocaml-ssl-0.7.0

/usr/portage/dev-ml/ocaml-ssl/ocaml-ssl-0.7.0.ebuild 2023-10-09 14:52:29.796368358 +0300
9 9

  
10 10
DESCRIPTION="OCaml bindings for OpenSSL"
11 11
HOMEPAGE="https://github.com/savonet/ocaml-ssl"
12
SRC_URI="https://github.com/savonet/ocaml-ssl/archive/${PV}.tar.gz -> ${P}.tar.gz"
12

  
13
if [[ ${PV} == *9999* ]] ; then
14
	inherit git-r3
15
	EGIT_REPO_URI="https://github.com/savonet/${PN}.git"
16
else
17
	SRC_URI="https://github.com/savonet/${PN}/archive/v${PV}.tar.gz
18
		-> ${P}.tar.gz"
19
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
20
fi
13 21

  
14 22
LICENSE="LGPL-2.1"
15 23
SLOT="0/${PV}"
16
KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
17 24
IUSE="+ocamlopt test"
18 25
RESTRICT="!test? ( test )"
19 26

  
20
DEPEND="dev-libs/openssl:0=
21
	>=dev-lang/ocaml-3.10:=[ocamlopt?]"
22
RDEPEND="${DEPEND}"
27
RDEPEND="
28
	dev-libs/openssl:0=
29
	dev-lang/ocaml
30
"
31
DEPEND="
32
	${RDEPEND}
33
"
23 34
BDEPEND="
24 35
	dev-ml/dune-configurator
25 36
	test? ( dev-ml/alcotest )
26 37
"
27 38

  
39
DOCS=( CHANGES.md README.md )
40

  
28 41
src_install() {
29 42
	dune_src_install
30 43

  
31
	dodoc CHANGES.md README.md
44
	einstalldocs
32 45
}
Thank you!