commit:     5912b5c5ca3b2e10814da0869dc1a6290ff47fab
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 01:03:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 01:03:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=5912b5c5

app-shells/pash: treeclean (broken)

Bug: https://bugs.gentoo.org/858938
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-shells/pash/files/template.csproj       |  49 ------------
 app-shells/pash/metadata.xml                |  11 ---
 app-shells/pash/pash-0.0-r20150618.ebuild   |  47 ------------
 app-shells/pash/pash-0.0_p2016060606.ebuild | 114 ----------------------------
 4 files changed, 221 deletions(-)

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>[email protected]</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
-}

Reply via email to