Gentoo Archives: gentoo-commits

From: Mikhail Pukhlikov <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-util/gppg-dbremner/files/, dev-util/gplex-dbremner/files/, ...
Date: Thu, 27 Oct 2016 07:33:23
Message-Id: 1476544205.c76f1509e079d9af41ef6bf6276302e560b7ccad.cynede@gentoo
1 commit: c76f1509e079d9af41ef6bf6276302e560b7ccad
2 Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 15 15:10:05 2016 +0000
4 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 15 15:10:05 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=c76f1509
7
8 initial version
9
10 .../files/fix-error-in-member-variable-name.patch | 11 ++++++
11 dev-util/gplex-dbremner/files/output-path.patch | 19 ++++++++++
12 .../gplex-dbremner-1.2.2_p2015112101.ebuild | 43 ++++++++++++++++++++++
13 dev-util/gplex-dbremner/metadata.xml | 8 ++++
14 dev-util/gppg-dbremner/files/output-path.patch | 20 ++++++++++
15 .../gppg-dbremner-1.5.2_p2015112101.ebuild | 42 +++++++++++++++++++++
16 dev-util/gppg-dbremner/metadata.xml | 8 ++++
17 7 files changed, 151 insertions(+)
18
19 diff --git a/dev-util/gplex-dbremner/files/fix-error-in-member-variable-name.patch b/dev-util/gplex-dbremner/files/fix-error-in-member-variable-name.patch
20 new file mode 100644
21 index 0000000..541e08b
22 --- /dev/null
23 +++ b/dev-util/gplex-dbremner/files/fix-error-in-member-variable-name.patch
24 @@ -0,0 +1,11 @@
25 +--- a/GPLEX/AAST.cs
26 ++++ b/GPLEX/AAST.cs
27 +@@ -1081,7 +1081,7 @@
28 +
29 + internal string Name { get; }
30 +
31 +- internal string PredDummyName { get { return "PRED_" + name + "_DUMMY"; } }
32 ++ internal string PredDummyName { get { return "PRED_" + Name + "_DUMMY"; } }
33 +
34 + internal void ParseRE( AAST aast ) { regX = new AAST.ReParser( verb, vrbSpan, aast ).Parse(); }
35 + }
36
37 diff --git a/dev-util/gplex-dbremner/files/output-path.patch b/dev-util/gplex-dbremner/files/output-path.patch
38 new file mode 100644
39 index 0000000..cbb746d
40 --- /dev/null
41 +++ b/dev-util/gplex-dbremner/files/output-path.patch
42 @@ -0,0 +1,19 @@
43 +--- a/GPLEXv1.csproj
44 ++++ b/GPLEXv1.csproj
45 +@@ -20,14 +20,14 @@
46 + <DebugSymbols>true</DebugSymbols>
47 + <DebugType>full</DebugType>
48 + <Optimize>false</Optimize>
49 +- <OutputPath>.\bin\Debug\</OutputPath>
50 ++ <OutputPath>bin/Debug</OutputPath>
51 + <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS RANGELIST_DIAGNOSTICS</DefineConstants>
52 + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
53 + </PropertyGroup>
54 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
55 + <DebugType>pdbonly</DebugType>
56 + <Optimize>true</Optimize>
57 +- <OutputPath>bin\debug\</OutputPath>
58 ++ <OutputPath>bin/Release</OutputPath>
59 + <DefineConstants>DEBUG;TRACE</DefineConstants>
60 + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
61 + </PropertyGroup>
62
63 diff --git a/dev-util/gplex-dbremner/gplex-dbremner-1.2.2_p2015112101.ebuild b/dev-util/gplex-dbremner/gplex-dbremner-1.2.2_p2015112101.ebuild
64 new file mode 100644
65 index 0000000..d117082
66 --- /dev/null
67 +++ b/dev-util/gplex-dbremner/gplex-dbremner-1.2.2_p2015112101.ebuild
68 @@ -0,0 +1,43 @@
69 +# Copyright 1999-2016 Gentoo Foundation
70 +# Distributed under the terms of the GNU General Public License v2
71 +# $Id$
72 +
73 +EAPI=6
74 +SLOT="0"
75 +
76 +KEYWORDS="~amd64 ~ppc ~x86"
77 +USE_DOTNET="net45"
78 +
79 +inherit dotnet
80 +
81 +IUSE="+${USE_DOTNET} debug"
82 +
83 +NAME="gplex"
84 +HOMEPAGE="https://github.com/dbremner/${NAME}"
85 +DESCRIPTION="C# version of lex (Garden Point Lex)"
86 +LICENSE="BSD" # https://gplex.codeplex.com/license
87 +
88 +SRC_URI="https://github.com/ArsenShnurkov/shnurise-tarballs/archive/${CATEGORY}/${PN}/${PN}-${PV}.tar.gz"
89 +RESTRICT="mirror"
90 +S="${WORKDIR}/shnurise-tarballs-${CATEGORY}-${PN}-${PN}-${PV}"
91 +
92 +src_prepare() {
93 + eapply "${FILESDIR}/fix-error-in-member-variable-name.patch"
94 + eapply "${FILESDIR}/output-path.patch"
95 + eapply_user
96 +}
97 +
98 +src_compile() {
99 + exbuild "GPLEXv1.sln"
100 +}
101 +
102 +src_install() {
103 + insinto "/usr/share/${PN}"
104 + if use debug; then
105 + newins bin/Debug/Gplex.exe gplex.exe
106 + make_wrapper gplex "/usr/bin/mono --debug /usr/share/${PN}/gplex.exe"
107 + else
108 + newins bin/Release/Gplex.exe gplex.exe
109 + make_wrapper gplex "/usr/bin/mono /usr/share/${PN}/gplex.exe"
110 + fi
111 +}
112
113 diff --git a/dev-util/gplex-dbremner/metadata.xml b/dev-util/gplex-dbremner/metadata.xml
114 new file mode 100644
115 index 0000000..b1262f1
116 --- /dev/null
117 +++ b/dev-util/gplex-dbremner/metadata.xml
118 @@ -0,0 +1,8 @@
119 +<?xml version="1.0" encoding="UTF-8"?>
120 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
121 +<pkgmetadata>
122 + <maintainer type="project">
123 + <email>dotnet@g.o</email>
124 + <description>Gentoo Dotnet Project</description>
125 + </maintainer>
126 +</pkgmetadata>
127
128 diff --git a/dev-util/gppg-dbremner/files/output-path.patch b/dev-util/gppg-dbremner/files/output-path.patch
129 new file mode 100644
130 index 0000000..a61c69b
131 --- /dev/null
132 +++ b/dev-util/gppg-dbremner/files/output-path.patch
133 @@ -0,0 +1,20 @@
134 +--- a/GPPG.csproj
135 ++++ b/GPPG.csproj
136 +@@ -20,7 +20,7 @@
137 + <DebugSymbols>true</DebugSymbols>
138 + <DebugType>full</DebugType>
139 + <Optimize>false</Optimize>
140 +- <OutputPath>.\bin\Debug\</OutputPath>
141 ++ <OutputPath>bin/Debug</OutputPath>
142 + <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS</DefineConstants>
143 + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
144 + <UseVSHostingProcess>false</UseVSHostingProcess>
145 +@@ -28,7 +28,7 @@
146 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
147 + <DebugType>pdbonly</DebugType>
148 + <Optimize>true</Optimize>
149 +- <OutputPath>bin\Debug\</OutputPath>
150 ++ <OutputPath>bin/Release</OutputPath>
151 + <DefineConstants>TRACE</DefineConstants>
152 + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
153 + </PropertyGroup>
154
155 diff --git a/dev-util/gppg-dbremner/gppg-dbremner-1.5.2_p2015112101.ebuild b/dev-util/gppg-dbremner/gppg-dbremner-1.5.2_p2015112101.ebuild
156 new file mode 100644
157 index 0000000..84bb143
158 --- /dev/null
159 +++ b/dev-util/gppg-dbremner/gppg-dbremner-1.5.2_p2015112101.ebuild
160 @@ -0,0 +1,42 @@
161 +# Copyright 1999-2016 Gentoo Foundation
162 +# Distributed under the terms of the GNU General Public License v2
163 +# $Id$
164 +
165 +EAPI=6
166 +SLOT="0"
167 +
168 +KEYWORDS="~amd64 ~ppc ~x86"
169 +USE_DOTNET="net45"
170 +
171 +inherit dotnet
172 +
173 +IUSE="+${USE_DOTNET} debug"
174 +
175 +NAME="gppg"
176 +HOMEPAGE="https://github.com/dbremner/${NAME}"
177 +DESCRIPTION="C# version of lex (Garden Point Lex)"
178 +LICENSE="BSD" # https://gppg.codeplex.com/license
179 +
180 +SRC_URI="https://github.com/ArsenShnurkov/shnurise-tarballs/archive/${CATEGORY}/${PN}/${PN}-${PV}.tar.gz"
181 +RESTRICT="mirror"
182 +S="${WORKDIR}/shnurise-tarballs-${CATEGORY}-${PN}-${PN}-${PV}"
183 +
184 +src_prepare() {
185 + eapply "${FILESDIR}/output-path.patch"
186 + eapply_user
187 +}
188 +
189 +src_compile() {
190 + exbuild "GPPG.sln"
191 +}
192 +
193 +src_install() {
194 + insinto "/usr/share/${PN}"
195 + if use debug; then
196 + newins bin/Debug/Gppg.exe Gppg.exe
197 + make_wrapper gppg "/usr/bin/mono --debug /usr/share/${PN}/gppg.exe"
198 + else
199 + newins bin/Release/Gppg.exe gppg.exe
200 + make_wrapper gppg "/usr/bin/mono /usr/share/${PN}/gppg.exe"
201 + fi
202 +}
203
204 diff --git a/dev-util/gppg-dbremner/metadata.xml b/dev-util/gppg-dbremner/metadata.xml
205 new file mode 100644
206 index 0000000..b1262f1
207 --- /dev/null
208 +++ b/dev-util/gppg-dbremner/metadata.xml
209 @@ -0,0 +1,8 @@
210 +<?xml version="1.0" encoding="UTF-8"?>
211 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
212 +<pkgmetadata>
213 + <maintainer type="project">
214 + <email>dotnet@g.o</email>
215 + <description>Gentoo Dotnet Project</description>
216 + </maintainer>
217 +</pkgmetadata>