# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

OASIS_BUILD_DOCS=1
DESCRIPTION="FUSE filesystem over Google Drive"
HOMEPAGE="https://astrada.github.io/google-drive-ocamlfuse/ http://forge.ocamlcore.org/projects/gdfuse"
SRC_URI="https://github.com/astrada/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-ml/ocurl-0.5.3:=
	>=dev-ml/ocamlnet-3.3.5:=
	>=dev-ml/cryptokit-1.3.14:=
	>=dev-ml/extlib-1.5.1:=
	dev-ml/yojson
	dev-ml/xmlm
	>=dev-ml/gapi-ocaml-0.2.5
	dev-ml/ocamlfuse
	dev-ml/ocaml-sqlite3"
DEPEND="${RDEPEND}
	test? ( dev-ml/ounit2 )"
DOCS=( "README.md" )