commit:     832737d28766bd36de7f904a6e62a014b140b205
Author:     ArsenShnurkov <ArsenShnurkov <AT> users <DOT> noreply <DOT> github 
<DOT> com>
AuthorDate: Tue Jul 25 11:39:33 2017 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Jul 25 11:39:33 2017 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=832737d2

dev-dotnet/nhibernate-iesi-collections

 .../files/Iesi.Collections.csproj                  | 56 ++++++++++++++++++
 .../nhibernate-iesi-collections/metadata.xml       |  8 +++
 .../nhibernate-iesi-collections-4.0.2.ebuild       | 69 ++++++++++++++++++++++
 3 files changed, 133 insertions(+)

diff --git 
a/dev-dotnet/nhibernate-iesi-collections/files/Iesi.Collections.csproj 
b/dev-dotnet/nhibernate-iesi-collections/files/Iesi.Collections.csproj
new file mode 100644
index 0000000..c9fb59b
--- /dev/null
+++ b/dev-dotnet/nhibernate-iesi-collections/files/Iesi.Collections.csproj
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{FA8AC605-BFA6-4581-9F32-518F4813EA23}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Iesi.Collections</RootNamespace>
+    <AssemblyName>Iesi.Collections</AssemblyName>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <ProductVersion>8.0.30703</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyOriginatorKeyFile>..\NHibernate.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' 
">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug</OutputPath>
+    <DefineConstants>DEBUG;</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 
'Release|AnyCPU' ">
+    <DebugType>full</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <Compile Include="AssemblyInfo.cs" />
+    <Compile Include="AssemblyVersion.cs" />
+    <Compile Include="Generic\LinkedHashSet.cs" />
+    <Compile Include="Generic\ReadOnlySet.cs" />
+    <Compile Include="Generic\SynchronizedSet.cs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildExtensionsPath)\MSBuild.Community.Tasks.Targets" />
+  <Target Name="BeforeBuild">
+    <PropertyGroup Condition=" '$(VersionNumber)' == '' ">
+      <VersionNumber>1.0.0.0</VersionNumber>
+    </PropertyGroup>
+    <AssemblyInfo CodeLanguage="C#"
+      OutputFile="AssemblyVersion.cs" 
+      AssemblyVersion="$(VersionNumber)" 
+      AssemblyFileVersion="$(VersionNumber)"
+    />
+  </Target>
+</Project>

diff --git a/dev-dotnet/nhibernate-iesi-collections/metadata.xml 
b/dev-dotnet/nhibernate-iesi-collections/metadata.xml
new file mode 100644
index 0000000..60328c2
--- /dev/null
+++ b/dev-dotnet/nhibernate-iesi-collections/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+           <email>[email protected]</email>
+           <description>Gentoo Dotnet Project</description>
+       </maintainer>
+</pkgmetadata>

diff --git 
a/dev-dotnet/nhibernate-iesi-collections/nhibernate-iesi-collections-4.0.2.ebuild
 
b/dev-dotnet/nhibernate-iesi-collections/nhibernate-iesi-collections-4.0.2.ebuild
new file mode 100644
index 0000000..3cc78b2
--- /dev/null
+++ 
b/dev-dotnet/nhibernate-iesi-collections/nhibernate-iesi-collections-4.0.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+RESTRICT="mirror"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+
+USE_DOTNET="net45"
+IUSE="+${USE_DOTNET} +gac developer debug doc"
+
+inherit gac dotnet
+
+GITHUB_ACCOUNT="nhibernate"
+GITHUB_PROJECTNAME="iesi.collections"
+EGIT_COMMIT="3e183dd3316baedac508d0171b67c3dee05f6da0"
+SRC_URI="https://github.com/${GITHUB_ACCOUNT}/${GITHUB_PROJECTNAME}/archive/${EGIT_COMMIT}.tar.gz
 -> ${PN}-${PV}.tar.gz"
+S="${WORKDIR}/${GITHUB_PROJECTNAME}-${EGIT_COMMIT}"
+
+HOMEPAGE="https://www.codeproject.com/Articles/3190/Add-Support-for-quot-Set-quot-Collections-to-NET";
+DESCRIPTION='C#, LinkedHashSet<T>, SynchronizedSet<T>, ReadOnlySet<T>'
+LICENSE="TODO" # 
https://github.com/nhibernate/iesi.collections/blob/master/LICENSE.txt
+
+COMMON_DEPEND=">=dev-lang/mono-5.2.0.196
+"
+RDEPEND="${COMMON_DEPEND}
+"
+DEPEND="${COMMON_DEPEND}
+       >=dev-dotnet/msbuildtasks-1.5.0.240
+"
+
+PROJECT_FILE_DIR="${S}/src/Iesi.Collections"
+PROJECT_NAME="Iesi.Collections"
+ASSEMBLY_VERSION="${PV}"
+
+src_prepare() {
+       cp "${FILESDIR}/${PROJECT_NAME}.csproj" "${PROJECT_FILE_DIR}/" || die
+       eapply_user
+}
+
+src_compile() {
+       if use debug; then
+               CONFIGURATION=Debug
+       else
+               CONFIGURATION=Release
+       fi
+
+       if use developer; then
+               SARGS=DebugSymbols=True
+       else
+               SARGS=DebugSymbols=False
+       fi
+
+       exbuild_raw /v:detailed /p:TargetFrameworkVersion=v4.5 
"/p:Configuration=${CONFIGURATION}" /p:${SARGS} 
/p:VersionNumber="${ASSEMBLY_VERSION}" "/p:RootPath=${S}" 
"${PROJECT_FILE_DIR}/${PROJECT_NAME}.csproj"
+}
+
+src_install() {
+       if use debug; then
+               CONFIGURATION=Debug
+       else
+               CONFIGURATION=Release
+       fi
+
+       DLLNAME="${PROJECT_FILE_DIR}/bin/${CONFIGURATION}/${PROJECT_NAME}.dll"
+       sn -R "${DLLNAME}" "${S}/src/NHibernate.snk" || die
+       egacinstall ${DLLNAME}
+       einstall_pc_file "${PN}" "${PV}" "${PROJECT_NAME}"
+}

Reply via email to