commit: 2011dc7eecf8d40d2e1acc866b8f99540fa45c2e Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Wed Apr 27 00:06:29 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Wed Apr 27 00:08:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2011dc7e
sys-fs/google-drive-ocamlfuse: new package, add 0.7.27 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> 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(+) diff --git a/sys-fs/google-drive-ocamlfuse/Manifest b/sys-fs/google-drive-ocamlfuse/Manifest new file mode 100644 index 000000000..24eac4e81 --- /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 000000000..fd7ecf471 --- /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 000000000..46eee1304 --- /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 000000000..3630b428e --- /dev/null +++ b/sys-fs/google-drive-ocamlfuse/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lssndrbarbi...@gmail.com</email> + <name>Alessandro Barbieri</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/astrada/google-drive-ocamlfuse/issues</bugs-to> + <remote-id type="github">astrada/google-drive-ocamlfuse</remote-id> + <maintainer> + <name>Alessandro Strada</name> + <email>alessandro.str...@gmail.com</email> + </maintainer> + </upstream> +</pkgmetadata>