aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-shells/pash/Manifest2
-rw-r--r--app-shells/pash/files/template.csproj49
-rw-r--r--app-shells/pash/metadata.xml11
-rw-r--r--app-shells/pash/pash-0.0-r20150618.ebuild47
-rw-r--r--app-shells/pash/pash-0.0_p2016060606.ebuild114
5 files changed, 0 insertions, 223 deletions
diff --git a/app-shells/pash/Manifest b/app-shells/pash/Manifest
deleted file mode 100644
index 267013c..0000000
--- a/app-shells/pash/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pash-0.0-r20150618.zip 4707302 SHA256 4b21db74a6c352bf6c56d656ca1514c6ebf509dd2c27983135b2359a6e87e01c SHA512 25212d55c4f40aed674e198fe6246986449b300df66a915494de0f3b6a9a8ac12dba30bd74458f0af2b59a4341acf303554e00dab99840386ad6e5bed7a81ea3 WHIRLPOOL 853060b9c141f93530ce8eb3479dc9474d4cd9e3f41c48531ba84c6fe11304f38ad8f61386e38d490f15c062403c0ed18139f72cfd23730f12695888082b750f
-DIST pash-0.0_p2016060606-r0.tar.gz 3942551 SHA256 cdb36c3f097fcbbddcf0307a24518e2d778acb681e6b7ac73cd06a2853a0fb8e SHA512 668c6aae292b1fd421037d9b6a68edc097cd9e34a8ebc39b96445f1c371c7e404efed52f38db3e7e8dddb15b19a8aa6424b8a52f5935be9df75b374121b1b43e WHIRLPOOL 3ba1c58e44205e27d3b24b024aa7df3161cf593c54d22b91e84cdeafef6a4de5d19dbd68cff5a24781b70e2d500608ead1bc63329a532277ca3f8b6375f39ad4
diff --git a/app-shells/pash/files/template.csproj b/app-shells/pash/files/template.csproj
deleted file mode 100644
index c6ed1aa..0000000
--- a/app-shells/pash/files/template.csproj
+++ /dev/null
@@ -1,49 +0,0 @@
-<?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>
- <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
- <AssemblyName>$(AssemblyName)</AssemblyName>
- <OutputType>$(OutputType)</OutputType>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <OutputPath>bin\Debug</OutputPath>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <DefineConstants>DEBUG</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <OutputPath>bin\Release</OutputPath>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <!-- Reference -->
- </ItemGroup>
- <ItemGroup>
- <Compile Include="**/*.cs" Exclude="AssemblyVersion.cs" />
- </ItemGroup>
- <ItemGroup>
- <!-- ProjectReference -->
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <Import Project="$(MSBuildExtensionsPath)\MSBuild.Community.Tasks.Targets" />
- <Target Name="BeforeBuild">
- <PropertyGroup Condition=" '$(VersionNumber)' == '' ">
- <VersionNumber>1.0.0.0</VersionNumber>
- </PropertyGroup>
- <AssemblyInfo CodeLanguage="C#"
- OutputFile="$(MSBuildThisFileDirectory)/AssemblyVersion.cs"
- AssemblyVersion="$(VersionNumber)"
- AssemblyFileVersion="$(VersionNumber)"
- />
- <CreateItem Include="$(MSBuildThisFileDirectory)/AssemblyVersion.cs">
- <Output TaskParameter="Include" ItemName="Compile"/>
- </CreateItem>
- </Target>
-</Project>
diff --git a/app-shells/pash/metadata.xml b/app-shells/pash/metadata.xml
deleted file mode 100644
index 8d9057e..0000000
--- a/app-shells/pash/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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>
- <use>
- <flag name='debug'>Create .mdb files for release configuration</flag>
- </use>
-</pkgmetadata>
diff --git a/app-shells/pash/pash-0.0-r20150618.ebuild b/app-shells/pash/pash-0.0-r20150618.ebuild
deleted file mode 100644
index 2f40be5..0000000
--- a/app-shells/pash/pash-0.0-r20150618.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit dotnet
-
-DESCRIPTION="An Open Source reimplementation of Windows PowerShell"
-
-LICENSE="BSD || ( GPL-2+ )" # LICENSE syntax is defined in https://wiki.gentoo.org/wiki/GLEP:23
-
-SLOT="0"
-
-IUSE="debug"
-
-PROJECTNAME="Pash"
-HOMEPAGE="https://github.com/Pash-Project/${PROJECTNAME}"
-EGIT_COMMIT="33ffa8c6172175e678310598adcc261a4e3b22a0"
-SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.zip -> ${P}-${PR}.zip"
-
-KEYWORDS="~amd64 ~ppc ~x86"
-DEPEND="|| ( >=dev-lang/mono-3.12.0 <dev-lang/mono-9999 )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PROJECTNAME}-${EGIT_COMMIT}"
-
-METAFILETOBUILD=${PROJECTNAME}.proj
-
-src_compile() {
- # https://bugzilla.xamarin.com/show_bug.cgi?id=9340
- if use debug; then
- exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
- else
- exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
- fi
-}
-
-src_install() {
- elog "Installing assemblies"
- insinto /usr/lib/pash/
- doins Source/PashConsole/bin/Release/Pash.exe
- doins Source/PashConsole/bin/Release/*.dll
- if use debug; then
- doins Source/PashConsole/bin/Release/*.mdb
- fi
- make_wrapper pash "mono /usr/lib/pash/Pash.exe"
-}
diff --git a/app-shells/pash/pash-0.0_p2016060606.ebuild b/app-shells/pash/pash-0.0_p2016060606.ebuild
deleted file mode 100644
index 58dfe6f..0000000
--- a/app-shells/pash/pash-0.0_p2016060606.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-KEYWORDS="~amd64"
-RESTRICT="mirror"
-SLOT="0"
-
-USE_DOTNET="net45"
-IUSE="+${USE_DOTNET}"
-
-inherit dotnet msbuild eutils
-
-DESCRIPTION="An Open Source reimplementation of Windows PowerShell"
-
-LICENSE="BSD || ( GPL-2+ )" # LICENSE syntax is defined in https://wiki.gentoo.org/wiki/GLEP:23
-
-PROJECTNAME="Pash"
-HOMEPAGE="https://github.com/Pash-Project/${PROJECTNAME}"
-EGIT_COMMIT="8d6a48f5ed70d64f9b49e6849b3ee35b887dc254"
-SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}-${PR}.tar.gz"
-S="${WORKDIR}/${PROJECTNAME}-${EGIT_COMMIT}"
-
-CDEPEND="|| ( >=dev-lang/mono-5.4.0.167 <dev-lang/mono-9999 )
- dev-dotnet/irony-daxnet
- "
-
-RDEPEND="${CDEPEND}
- "
-DEPEND="${CDEPEND}
- "
-
-PROJECT1_PATH=Source/System.Management
-PROJECT1_NAME=System.Management
-PROJECT1_OUT=System.Management.Automation
-
-PROJECT2_PATH=Source/Microsoft.PowerShell.Security
-PROJECT2_NAME=Microsoft.PowerShell.Security
-PROJECT2_OUT=Microsoft.PowerShell.Security
-
-PROJECT3_PATH=Source/Microsoft.PowerShell.Commands.Utility
-PROJECT3_NAME=Microsoft.PowerShell.Commands.Utility
-PROJECT3_OUT=Microsoft.PowerShell.Commands.Utility
-
-PROJECT4_PATH=Source/Microsoft.PowerShell.Commands.Management
-PROJECT4_NAME=Microsoft.Commands.Management
-PROJECT4_OUT=Microsoft.PowerShell.Commands.Management
-
-PROJECT5_PATH=Source/PashConsole
-PROJECT5_NAME=PashConsole
-PROJECT5_OUT=Pash
-
-src_prepare() {
- sed -i "s/new Version(1, 0, 0, 0)/System.Reflection.Assembly.GetExecutingAssembly().GetName().Version/" Source/System.Management/Pash/Implementation/LocalHost.cs || die
- sed -i "/Version/d" "${S}/${PROJECT1_PATH}/Properties/AssemblyInfo.cs" || die
- sed -i "/Version/d" "${S}/${PROJECT2_PATH}/Properties/AssemblyInfo.cs" || die
- sed -i "/Version/d" "${S}/${PROJECT3_PATH}/Properties/AssemblyInfo.cs" || die
- sed -i "/Version/d" "${S}/${PROJECT4_PATH}/Properties/AssemblyInfo.cs" || die
- sed -i "/Version/d" "${S}/${PROJECT5_PATH}/Properties/AssemblyInfo.cs" || die
- sed "s/\$(OutputType)/Library/; s/\$(AssemblyName)/${PROJECT1_OUT}/" "${FILESDIR}/template.csproj" > "${S}/${PROJECT1_PATH}/${PROJECT1_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="Irony" />#' "${S}/${PROJECT1_PATH}/${PROJECT1_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="Microsoft.CSharp" />#' "${S}/${PROJECT1_PATH}/${PROJECT1_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Data" />#' "${S}/${PROJECT1_PATH}/${PROJECT1_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Xml" />#' "${S}/${PROJECT1_PATH}/${PROJECT1_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Configuration" />#' "${S}/${PROJECT1_PATH}/${PROJECT1_NAME}.csproj" || die
- sed "s/\$(OutputType)/Library/; s/\$(AssemblyName)/${PROJECT2_OUT}/" "${FILESDIR}/template.csproj" > "${S}/${PROJECT2_PATH}/${PROJECT2_NAME}.csproj" || die
- sed -i "s#^.*-- ProjectReference --.*\$#&\\n<ProjectReference Include=\"../../${PROJECT1_PATH}/${PROJECT1_NAME}.csproj\" />#" "${S}/${PROJECT2_PATH}/${PROJECT2_NAME}.csproj" || die
- sed "s/\$(OutputType)/Library/; s/\$(AssemblyName)/${PROJECT3_OUT}/" "${FILESDIR}/template.csproj" > "${S}/${PROJECT3_PATH}/${PROJECT3_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Data" />#' "${S}/${PROJECT3_PATH}/${PROJECT3_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Xml" />#' "${S}/${PROJECT3_PATH}/${PROJECT3_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Net" />#' "${S}/${PROJECT3_PATH}/${PROJECT3_NAME}.csproj" || die
- sed -i "s#^.*-- ProjectReference --.*\$#&\\n<ProjectReference Include=\"../../${PROJECT1_PATH}/${PROJECT1_NAME}.csproj\" />#" "${S}/${PROJECT3_PATH}/${PROJECT3_NAME}.csproj" || die
- sed "s/\$(OutputType)/Library/; s/\$(AssemblyName)/${PROJECT4_OUT}/" "${FILESDIR}/template.csproj" > "${S}/${PROJECT4_PATH}/${PROJECT4_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Data" />#' "${S}/${PROJECT4_PATH}/${PROJECT4_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.Xml" />#' "${S}/${PROJECT4_PATH}/${PROJECT4_NAME}.csproj" || die
- sed -i 's#^.*-- Reference --.*$#&\n<Reference Include="System.ServiceProcess" />#' "${S}/${PROJECT4_PATH}/${PROJECT4_NAME}.csproj" || die
- sed -i "s#^.*-- ProjectReference --.*\$#&\\n<ProjectReference Include=\"../../${PROJECT1_PATH}/${PROJECT1_NAME}.csproj\" />#" "${S}/${PROJECT4_PATH}/${PROJECT4_NAME}.csproj" || die
- sed "s/\$(OutputType)/Exe/; s/\$(AssemblyName)/${PROJECT5_OUT}/" "${FILESDIR}/template.csproj" > "${S}/${PROJECT5_PATH}/${PROJECT5_NAME}.csproj" || die
- sed -i "s#^.*-- ProjectReference --.*\$#&\\n<ProjectReference Include=\"../../${PROJECT1_PATH}/${PROJECT1_NAME}.csproj\" />#" "${S}/${PROJECT5_PATH}/${PROJECT5_NAME}.csproj" || die
- sed -i "s#^.*-- ProjectReference --.*\$#&\\n<ProjectReference Include=\"../../${PROJECT2_PATH}/${PROJECT2_NAME}.csproj\" />#" "${S}/${PROJECT5_PATH}/${PROJECT5_NAME}.csproj" || die
- sed -i "s#^.*-- ProjectReference --.*\$#&\\n<ProjectReference Include=\"../../${PROJECT3_PATH}/${PROJECT3_NAME}.csproj\" />#" "${S}/${PROJECT5_PATH}/${PROJECT5_NAME}.csproj" || die
- sed -i "s#^.*-- ProjectReference --.*\$#&\\n<ProjectReference Include=\"../../${PROJECT4_PATH}/${PROJECT4_NAME}.csproj\" />#" "${S}/${PROJECT5_PATH}/${PROJECT5_NAME}.csproj" || die
- eapply_user
-}
-
-src_compile() {
- emsbuild "/p:VersionNumber=1.0.2016.606" "${S}/${PROJECT5_PATH}/${PROJECT5_NAME}.csproj"
-}
-
-src_install() {
- if [ "${SLOT}"="0" ] ;
- then
- SLOTTEDDIR="/usr/share/${PN}"
- else
- SLOTTEDDIR="/usr/share/${PN}-${SLOT}"
- fi
- insinto "${SLOTTEDDIR}"
-
- if use debug; then
- DIR="Debug"
- else
- DIR="Release"
- fi
- doins Source/PashConsole/bin/${DIR}/Pash.exe
- doins Source/PashConsole/bin/${DIR}/*.dll
- if use developer; then
- doins Source/PashConsole/bin/${DIR}/*.pdb
- fi
- if use debug; then
- make_wrapper --debug pash "mono ${SLOTTEDDIR}/Pash.exe"
- else
- make_wrapper pash "mono ${SLOTTEDDIR}/Pash.exe"
- fi
-}