From 2011dc7eecf8d40d2e1acc866b8f99540fa45c2e Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Wed, 27 Apr 2022 02:06:29 +0200 Subject: [PATCH] sys-fs/google-drive-ocamlfuse: new package, add 0.7.27 Signed-off-by: Alessandro Barbieri --- sys-fs/google-drive-ocamlfuse/Manifest | 1 + ...google-drive-ocamlfuse-0.7.27-ounit2.patch | 25 +++++++++++++ .../google-drive-ocamlfuse-0.7.27.ebuild | 35 +++++++++++++++++++ sys-fs/google-drive-ocamlfuse/metadata.xml | 16 +++++++++ 4 files changed, 77 insertions(+) create mode 100644 sys-fs/google-drive-ocamlfuse/Manifest create mode 100644 sys-fs/google-drive-ocamlfuse/files/google-drive-ocamlfuse-0.7.27-ounit2.patch create mode 100644 sys-fs/google-drive-ocamlfuse/google-drive-ocamlfuse-0.7.27.ebuild create mode 100644 sys-fs/google-drive-ocamlfuse/metadata.xml diff --git a/sys-fs/google-drive-ocamlfuse/Manifest b/sys-fs/google-drive-ocamlfuse/Manifest new file mode 100644 index 0000000000..24eac4e811 --- /dev/null +++ b/sys-fs/google-drive-ocamlfuse/Manifest @@ -0,0 +1 @@ +DIST google-drive-ocamlfuse-0.7.27.tar.gz 97799 BLAKE2B b3b07a049fcc0695fd4a40bbba28fcbad6dea148626189fa1762101968ad4922d825d2ef40bdc19bcb44e18a13e7ad9116fdef2aa33fc1c1ad937694634bd57b SHA512 ce0151abc391bd2d893356ca6a63083880564ca1dda17d41f70715d036167c637d8886a1a0dcf7cc49bed9f2e4d9675d82448ea3280edc0324c281349355342c diff --git a/sys-fs/google-drive-ocamlfuse/files/google-drive-ocamlfuse-0.7.27-ounit2.patch b/sys-fs/google-drive-ocamlfuse/files/google-drive-ocamlfuse-0.7.27-ounit2.patch new file mode 100644 index 0000000000..fd7ecf4712 --- /dev/null +++ b/sys-fs/google-drive-ocamlfuse/files/google-drive-ocamlfuse-0.7.27-ounit2.patch @@ -0,0 +1,25 @@ +diff --git a/google-drive-ocamlfuse.opam b/google-drive-ocamlfuse.opam +index 2280d96..90b0288 100644 +--- a/google-drive-ocamlfuse.opam ++++ b/google-drive-ocamlfuse.opam +@@ -18,7 +18,7 @@ depends: [ + "ocamlfuse" {>= "2.7.1-cvs6"} + "cryptokit" + "extlib" +- "ounit" {with-test} ++ "ounit2" {with-test} + "sqlite3" + "tiny_httpd" + ] +diff --git a/test/dune b/test/dune +index 04b68da..b24c517 100644 +--- a/test/dune ++++ b/test/dune +@@ -1,6 +1,6 @@ + (executable + (flags :standard -w -3) +- (libraries threads google_drive_ocamlfuse oUnit) ++ (libraries threads google_drive_ocamlfuse ounit2) + (name testSuite)) + + (alias diff --git a/sys-fs/google-drive-ocamlfuse/google-drive-ocamlfuse-0.7.27.ebuild b/sys-fs/google-drive-ocamlfuse/google-drive-ocamlfuse-0.7.27.ebuild new file mode 100644 index 0000000000..46eee13049 --- /dev/null +++ b/sys-fs/google-drive-ocamlfuse/google-drive-ocamlfuse-0.7.27.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune findlib + +DESCRIPTION="FUSE filesystem over Google Drive" +HOMEPAGE=" + https://github.com/astrada/google-drive-ocamlfuse + https://opam.ocaml.org/packages/google-drive-ocamlfuse/ +" +SRC_URI="https://github.com/astrada/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt test" + +RDEPEND=" + >=dev-ml/gapi-ocaml-0.4.2:= + >=dev-ml/ocamlfuse-2.7.1:= + dev-ml/cryptokit:= + dev-ml/extlib:= + dev-ml/ocaml-sqlite3:= + dev-ml/tiny_httpd:= +" +DEPEND=" + ${RDEPEND} + dev-ml/camlidl:= + test? ( dev-ml/ounit2 ) +" + +RESTRICT="!test? ( test )" +PATCHES="${FILESDIR}/${P}-ounit2.patch" diff --git a/sys-fs/google-drive-ocamlfuse/metadata.xml b/sys-fs/google-drive-ocamlfuse/metadata.xml new file mode 100644 index 0000000000..3630b428e0 --- /dev/null +++ b/sys-fs/google-drive-ocamlfuse/metadata.xml @@ -0,0 +1,16 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/astrada/google-drive-ocamlfuse/issues + astrada/google-drive-ocamlfuse + + Alessandro Strada + alessandro.strada@gmail.com + + +