1 |
commit: 2011dc7eecf8d40d2e1acc866b8f99540fa45c2e |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 27 00:06:29 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Apr 27 00:08:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2011dc7e |
7 |
|
8 |
sys-fs/google-drive-ocamlfuse: new package, add 0.7.27 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sys-fs/google-drive-ocamlfuse/Manifest | 1 + |
13 |
.../google-drive-ocamlfuse-0.7.27-ounit2.patch | 25 ++++++++++++++++ |
14 |
.../google-drive-ocamlfuse-0.7.27.ebuild | 35 ++++++++++++++++++++++ |
15 |
sys-fs/google-drive-ocamlfuse/metadata.xml | 16 ++++++++++ |
16 |
4 files changed, 77 insertions(+) |
17 |
|
18 |
diff --git a/sys-fs/google-drive-ocamlfuse/Manifest b/sys-fs/google-drive-ocamlfuse/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..24eac4e81 |
21 |
--- /dev/null |
22 |
+++ b/sys-fs/google-drive-ocamlfuse/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST google-drive-ocamlfuse-0.7.27.tar.gz 97799 BLAKE2B b3b07a049fcc0695fd4a40bbba28fcbad6dea148626189fa1762101968ad4922d825d2ef40bdc19bcb44e18a13e7ad9116fdef2aa33fc1c1ad937694634bd57b SHA512 ce0151abc391bd2d893356ca6a63083880564ca1dda17d41f70715d036167c637d8886a1a0dcf7cc49bed9f2e4d9675d82448ea3280edc0324c281349355342c |
25 |
|
26 |
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 |
27 |
new file mode 100644 |
28 |
index 000000000..fd7ecf471 |
29 |
--- /dev/null |
30 |
+++ b/sys-fs/google-drive-ocamlfuse/files/google-drive-ocamlfuse-0.7.27-ounit2.patch |
31 |
@@ -0,0 +1,25 @@ |
32 |
+diff --git a/google-drive-ocamlfuse.opam b/google-drive-ocamlfuse.opam |
33 |
+index 2280d96..90b0288 100644 |
34 |
+--- a/google-drive-ocamlfuse.opam |
35 |
++++ b/google-drive-ocamlfuse.opam |
36 |
+@@ -18,7 +18,7 @@ depends: [ |
37 |
+ "ocamlfuse" {>= "2.7.1-cvs6"} |
38 |
+ "cryptokit" |
39 |
+ "extlib" |
40 |
+- "ounit" {with-test} |
41 |
++ "ounit2" {with-test} |
42 |
+ "sqlite3" |
43 |
+ "tiny_httpd" |
44 |
+ ] |
45 |
+diff --git a/test/dune b/test/dune |
46 |
+index 04b68da..b24c517 100644 |
47 |
+--- a/test/dune |
48 |
++++ b/test/dune |
49 |
+@@ -1,6 +1,6 @@ |
50 |
+ (executable |
51 |
+ (flags :standard -w -3) |
52 |
+- (libraries threads google_drive_ocamlfuse oUnit) |
53 |
++ (libraries threads google_drive_ocamlfuse ounit2) |
54 |
+ (name testSuite)) |
55 |
+ |
56 |
+ (alias |
57 |
|
58 |
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 |
59 |
new file mode 100644 |
60 |
index 000000000..46eee1304 |
61 |
--- /dev/null |
62 |
+++ b/sys-fs/google-drive-ocamlfuse/google-drive-ocamlfuse-0.7.27.ebuild |
63 |
@@ -0,0 +1,35 @@ |
64 |
+# Copyright 1999-2022 Gentoo Authors |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+ |
67 |
+EAPI=7 |
68 |
+ |
69 |
+inherit dune findlib |
70 |
+ |
71 |
+DESCRIPTION="FUSE filesystem over Google Drive" |
72 |
+HOMEPAGE=" |
73 |
+ https://github.com/astrada/google-drive-ocamlfuse |
74 |
+ https://opam.ocaml.org/packages/google-drive-ocamlfuse/ |
75 |
+" |
76 |
+SRC_URI="https://github.com/astrada/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
77 |
+ |
78 |
+LICENSE="MIT" |
79 |
+SLOT="0/${PV}" |
80 |
+KEYWORDS="~amd64" |
81 |
+IUSE="ocamlopt test" |
82 |
+ |
83 |
+RDEPEND=" |
84 |
+ >=dev-ml/gapi-ocaml-0.4.2:= |
85 |
+ >=dev-ml/ocamlfuse-2.7.1:= |
86 |
+ dev-ml/cryptokit:= |
87 |
+ dev-ml/extlib:= |
88 |
+ dev-ml/ocaml-sqlite3:= |
89 |
+ dev-ml/tiny_httpd:= |
90 |
+" |
91 |
+DEPEND=" |
92 |
+ ${RDEPEND} |
93 |
+ dev-ml/camlidl:= |
94 |
+ test? ( dev-ml/ounit2 ) |
95 |
+" |
96 |
+ |
97 |
+RESTRICT="!test? ( test )" |
98 |
+PATCHES="${FILESDIR}/${P}-ounit2.patch" |
99 |
|
100 |
diff --git a/sys-fs/google-drive-ocamlfuse/metadata.xml b/sys-fs/google-drive-ocamlfuse/metadata.xml |
101 |
new file mode 100644 |
102 |
index 000000000..3630b428e |
103 |
--- /dev/null |
104 |
+++ b/sys-fs/google-drive-ocamlfuse/metadata.xml |
105 |
@@ -0,0 +1,16 @@ |
106 |
+<?xml version="1.0" encoding="UTF8"?> |
107 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
108 |
+<pkgmetadata> |
109 |
+ <maintainer type="person"> |
110 |
+ <email>lssndrbarbieri@×××××.com</email> |
111 |
+ <name>Alessandro Barbieri</name> |
112 |
+ </maintainer> |
113 |
+ <upstream> |
114 |
+ <bugs-to>https://github.com/astrada/google-drive-ocamlfuse/issues</bugs-to> |
115 |
+ <remote-id type="github">astrada/google-drive-ocamlfuse</remote-id> |
116 |
+ <maintainer> |
117 |
+ <name>Alessandro Strada</name> |
118 |
+ <email>alessandro.strada@×××××.com</email> |
119 |
+ </maintainer> |
120 |
+ </upstream> |
121 |
+</pkgmetadata> |