aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsenShnurkov <ArsenShnurkov@users.noreply.github.com>2017-07-25 14:39:33 +0300
committerArsenShnurkov <ArsenShnurkov@users.noreply.github.com>2017-07-25 14:39:33 +0300
commit832737d28766bd36de7f904a6e62a014b140b205 (patch)
tree569b6b774a914f303d2712c9fe1613be3be2ea96 /dev-dotnet/nhibernate-iesi-collections
parentMerge pull request #316 from ArsenShnurkov/antlr3 (diff)
downloaddotnet-832737d28766bd36de7f904a6e62a014b140b205.tar.gz
dotnet-832737d28766bd36de7f904a6e62a014b140b205.tar.bz2
dotnet-832737d28766bd36de7f904a6e62a014b140b205.zip
dev-dotnet/nhibernate-iesi-collections
Diffstat (limited to 'dev-dotnet/nhibernate-iesi-collections')
-rw-r--r--dev-dotnet/nhibernate-iesi-collections/Manifest1
-rw-r--r--dev-dotnet/nhibernate-iesi-collections/files/Iesi.Collections.csproj56
-rw-r--r--dev-dotnet/nhibernate-iesi-collections/metadata.xml8
-rw-r--r--dev-dotnet/nhibernate-iesi-collections/nhibernate-iesi-collections-4.0.2.ebuild69
4 files changed, 134 insertions, 0 deletions
diff --git a/dev-dotnet/nhibernate-iesi-collections/Manifest b/dev-dotnet/nhibernate-iesi-collections/Manifest
new file mode 100644
index 0000000..886dd4a
--- /dev/null
+++ b/dev-dotnet/nhibernate-iesi-collections/Manifest
@@ -0,0 +1 @@
+DIST nhibernate-iesi-collections-4.0.2.tar.gz 1060938 SHA256 6d639b2562dfdaef72cbab1ad8914451482b37e8567c9702ff727ad55b44a126 SHA512 bb3ec6cd31e57c76b80aa85af9ed9546923be1526d52bc6804e2cd582b6d2fd77fb6c76450f624da3ccf72d6a814ca52f2061e64fad7d5f1c3dbeba1ea080ef7 WHIRLPOOL 87692171ca778b0c843c1269b075536b70363a6413556d667bc76278da85ec955b3686f437e206a561b98cf008473087ce5dd3d657e80018c87e2d0d1a784215
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>dotnet@gentoo.org</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}"
+}