1 |
commit: bcbe5c55326786d03d463a9ea04e0ac72067c5c6 |
2 |
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jul 26 14:09:48 2016 +0000 |
4 |
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 26 14:09:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=bcbe5c55 |
7 |
|
8 |
initial attempt - no ebuild for xunit |
9 |
|
10 |
dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild | 37 ++++++++++++++++++++++++ |
11 |
dev-dotnet/libgit2sharp/metadata.xml | 16 ++++++++++ |
12 |
2 files changed, 53 insertions(+) |
13 |
|
14 |
diff --git a/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild b/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild |
15 |
new file mode 100644 |
16 |
index 0000000..afbc3e5 |
17 |
--- /dev/null |
18 |
+++ b/dev-dotnet/libgit2sharp/libgit2sharp-0.22.ebuild |
19 |
@@ -0,0 +1,37 @@ |
20 |
+# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Distributed under the terms of the GNU General Public License v2 |
22 |
+# $Id$ |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+USE_DOTNET="net45" |
27 |
+IUSE="${USE_DOTNET}" |
28 |
+ |
29 |
+inherit nupkg |
30 |
+ |
31 |
+KEYWORDS="amd64 x86 ~ppc-macos" |
32 |
+ |
33 |
+DESCRIPTION="A C# PInvoke wrapper library for LibGit2 C library" |
34 |
+ |
35 |
+EGIT_COMMIT="8daef23223e1374141bf496e4b310ded9ae4639e" |
36 |
+HOMEPAGE="https://github.com/libgit2/libgit2sharp" |
37 |
+SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
38 |
+#RESTRICT="mirror" |
39 |
+ |
40 |
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+ |
45 |
+CDEPEND=" |
46 |
+ dev-libs/libgit2 |
47 |
+" |
48 |
+ |
49 |
+DEPEND="${CDEPEND} |
50 |
+ dev-dotnet/nuget |
51 |
+" |
52 |
+RDEPEND="${CDEPEND}" |
53 |
+ |
54 |
+src_unpack() { |
55 |
+ nuget restore ${S}/LibGit2Sharp.sln || die |
56 |
+} |
57 |
|
58 |
diff --git a/dev-dotnet/libgit2sharp/metadata.xml b/dev-dotnet/libgit2sharp/metadata.xml |
59 |
new file mode 100644 |
60 |
index 0000000..3356044 |
61 |
--- /dev/null |
62 |
+++ b/dev-dotnet/libgit2sharp/metadata.xml |
63 |
@@ -0,0 +1,16 @@ |
64 |
+<?xml version="1.0" encoding="UTF-8"?> |
65 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
66 |
+<pkgmetadata> |
67 |
+ <maintainer type="project"> |
68 |
+ <email>dotnet@g.o</email> |
69 |
+ </maintainer> |
70 |
+ <longdescription lang="en"> |
71 |
+ libgit2starp is PInvoke wrapper (in C# language) for libgit2, |
72 |
+ which is a portable, pure C implementation of the Git core methods provided |
73 |
+ as a re-entrant linkable library with a solid API, allowing you to write |
74 |
+ custom Git applications. |
75 |
+ </longdescription> |
76 |
+ <upstream> |
77 |
+ <remote-id type="github">libgit2/libgit2sharp</remote-id> |
78 |
+ </upstream> |
79 |
+</pkgmetadata> |