svn commit: r322866 - in head/lang: . ironpython ironpython/files
Marcus von Appen
mva at FreeBSD.org
Fri Jul 12 20:55:56 UTC 2013
Author: mva
Date: Fri Jul 12 20:55:54 2013
New Revision: 322866
URL: http://svnweb.freebsd.org/changeset/ports/322866
Log:
IronPython is an open-source implementation of the Python programming
language which is tightly integrated with the .NET Framework. IronPython
can use the .NET Framework and Python libraries, and other .NET languages
can use Python code just as easily.
WWW: http://www.ironpython.net
Added:
head/lang/ironpython/
head/lang/ironpython/Makefile (contents, props changed)
head/lang/ironpython/distinfo (contents, props changed)
head/lang/ironpython/files/
head/lang/ironpython/files/ipy.in (contents, props changed)
head/lang/ironpython/files/ipy64.in (contents, props changed)
head/lang/ironpython/files/patch-Languages-IronPython-IronPython-IronPython.csproj (contents, props changed)
head/lang/ironpython/files/patch-Solutions-Build.IronPython.proj (contents, props changed)
head/lang/ironpython/files/patch-Solutions-Common.proj (contents, props changed)
head/lang/ironpython/pkg-descr (contents, props changed)
Modified:
head/lang/Makefile
Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile Fri Jul 12 20:44:45 2013 (r322865)
+++ head/lang/Makefile Fri Jul 12 20:55:54 2013 (r322866)
@@ -131,6 +131,7 @@
SUBDIR += intel2gas
SUBDIR += intercal
SUBDIR += io
+ SUBDIR += ironpython
SUBDIR += itcl
SUBDIR += jakarta-commons-jelly
SUBDIR += jruby
Added: head/lang/ironpython/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/Makefile Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME= ironpython
+PORTVERSION= 2.7.3
+CATEGORIES= lang python
+DISTNAME= ipy-${PORTVERSION}
+
+MAINTAINER= mva at FreeBSD.org
+COMMENT= Python implementation based on .NET
+
+LICENSE= AL2
+
+BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
+RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
+
+USE_GITHUB= yes
+GH_ACCOUNT= IronLanguages
+GH_PROJECT= main
+GH_TAGNAME= ipy-2.7.3
+GH_COMMIT= 2ae9aee
+
+SUB_FILES= ipy ipy64
+
+do-build:
+ cd ${WRKSRC} && ${LOCALBASE}/bin/xbuild /t:Stage \
+ /p:Configuration=Release /p:ReferencedPlatform=V4 \
+ /p:Mono=true /p:BaseConfiguration=Release
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib/ironpython
+ cd ${WRKSRC}/Stage/Release/IronPython-${PORTVERSION} && \
+ ${COPYTREE_SHARE} . ${PREFIX}/lib/ironpython;
+ ${CHMOD} a+x ${PREFIX}/lib/ironpython/ipy.exe
+ ${CHMOD} a+x ${PREFIX}/lib/ironpython/ipy64.exe
+ for f in ${SUB_FILES}; do \
+ ${INSTALL_SCRIPT} ${WRKDIR}/$$f ${PREFIX}/bin; \
+ done
+
+post-install:
+ @for f in ${SUB_FILES}; do \
+ ${ECHO_CMD} "bin/$$f" >> ${TMPPLIST}; \
+ done
+ @${ECHO_CMD} "bin/
+ @${FIND} -P ${PREFIX}/lib/ironpython ! -type d 2>/dev/null | \
+ ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
+ @${FIND} -P -d ${PREFIX}/lib/ironpython -type d 2>/dev/null | \
+ ${SED} -ne 's,^${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
Added: head/lang/ironpython/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/distinfo Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,2 @@
+SHA256 (ipy-2.7.3.tar.gz) = c5c75cc54f4d8e006bfe8b9c61758804f5a31f179a3bc77eca0cc266b78207ef
+SIZE (ipy-2.7.3.tar.gz) = 104866745
Added: head/lang/ironpython/files/ipy.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/files/ipy.in Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,2 @@
+#!/bin/sh
+%%LOCALBASE%%/bin/mono %%PREFIX%%/lib/ironpython/ipy.exe $*
Added: head/lang/ironpython/files/ipy64.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/files/ipy64.in Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,2 @@
+#!/bin/sh
+%%LOCALBASE%%/bin/mono %%PREFIX%%/lib/ironpython/ipy64.exe $*
Added: head/lang/ironpython/files/patch-Languages-IronPython-IronPython-IronPython.csproj
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/files/patch-Languages-IronPython-IronPython-IronPython.csproj Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,47 @@
+--- ./Languages/IronPython/IronPython/IronPython.csproj.orig 2013-05-01 13:31:53.000000000 +0200
++++ ./Languages/IronPython/IronPython/IronPython.csproj 2013-05-01 13:32:28.000000000 +0200
+@@ -13,35 +13,35 @@
+ <DocumentationFile>$(SolutionDir)..\bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'FxCop|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Win8Debug|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Win8Release|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'v2Debug|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'v2Release|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'WP7Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'WP7Release|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Silverlight4Debug|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Silverlight4Release|AnyCPU' ">
+- <NoWarn>1591;0429</NoWarn>
++ <NoWarn>1591</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Silverlight5Debug|AnyCPU' ">
+ </PropertyGroup>
Added: head/lang/ironpython/files/patch-Solutions-Build.IronPython.proj
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/files/patch-Solutions-Build.IronPython.proj Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,88 @@
+--- Solutions/Build.IronPython.proj.orig 2012-07-04 09:16:08.000000000 +0200
++++ Solutions/Build.IronPython.proj 2013-07-12 10:09:24.000000000 +0200
+@@ -37,9 +37,11 @@
+ <BuildProject Include="$(Solution)" Condition=" '$(Mono)' != 'true' ">
+ <Properties>Configuration=Silverlight5$(BaseConfiguration)</Properties>
+ </BuildProject>
++<!--
+ <BuildProject Include="$(Solution)">
+ <Properties>Configuration=Android$(BaseConfiguration)</Properties>
+ </BuildProject>
++-->
+ <!-- Removed because it doesn't currently work. -->
+ <!--<BuildProject Include="$(Solution)" Condition=" '$(Mono)' != 'true' ">
+ <Properties>Configuration=WP7$(BaseConfiguration)</Properties>
+@@ -94,7 +96,7 @@
+ <SilverlightScriptTemplates Include="$(BaseDir)\Hosts\Silverlight\Public\script\templates\python\**\*.*" />
+
+ <MiscFiles Include="$(BaseDir)\Languages\IronPython\Public\License.html" />
+- <MiscFiles Include="$(BaseDir)\Languages\IronPython\Public\License.rtf" />
++ <MiscFiles Include="$(BaseDir)\Languages\IronPython\Public\License.Rtf" />
+ <MiscFiles Include="$(BaseDir)\Languages\IronPython\Public\License.txt" />
+ <MiscFiles Include="$(BaseDir)\Languages\IronPython\Public\Readme.html" />
+
+@@ -162,6 +164,7 @@
+ <Copy SourceFiles="@(TutorialFiles)" DestinationFiles="@(TutorialFiles->'$(StageDir)\Tutorial\%(RecursiveDir)%(Filename)%(Extension)')" />
+
+ <!-- Continue to copy the Silverlight files here for compatibility with previous releases. -->
++<!--
+ <Copy SourceFiles="@(DlrLibs->'$(Silverlight4BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Silverlight\bin" />
+ <Copy SourceFiles="@(SilverlightDlrLibs->'$(Silverlight4BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Silverlight\bin" />
+ <Copy SourceFiles="@(IronPythonLibs->'$(Silverlight4BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Silverlight\bin" />
+@@ -169,21 +172,24 @@
+
+ <Copy SourceFiles="@(SilverlightScriptFiles)" DestinationFiles="@(SilverlightScriptFiles->'$(StageDir)\Silverlight\script\%(RecursiveDir)%(Filename)%(Extension)')" />
+ <Copy SourceFiles="@(SilverlightScriptTemplates)" DestinationFiles="@(SilverlightScriptTemplates->'$(StageDir)\Silverlight\script\templates\python\%(RecursiveDir)%(Filename)%(Extension)')" />
++-->
+
+ <!-- .NET 4 -->
++<!--
+ <Copy SourceFiles="@(DlrLibs->'$(BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net40" />
+ <Copy SourceFiles="@(ClrDlrLibs->'$(BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net40" />
+ <Copy SourceFiles="@(IronPythonLibs->'$(BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net40" />
+ <Copy SourceFiles="@(v4IronPythonModules->'$(BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net40" />
+ <Copy SourceFiles="@(IronPythonModules->'$(BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net40" />
+-
++-->
+ <!-- .NET 3.5 -->
++<!--
+ <Copy SourceFiles="@(DlrLibs->'$(v2BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net35" />
+ <Copy SourceFiles="@(ClrDlrLibs->'$(v2BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net35" />
+ <Copy SourceFiles="@(v2DlrLibs->'$(v2BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net35" />
+ <Copy SourceFiles="@(IronPythonLibs->'$(v2BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net35" />
+ <Copy SourceFiles="@(IronPythonModules->'$(v2BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Net35" />
+-
++-->
+ <!-- Windows Phone 7.5 -->
+ <!--
+ <Copy SourceFiles="@(DlrLibs->'$(WP7BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl4-WP71" />
+@@ -193,23 +199,26 @@
+ -->
+
+ <!-- Mono for Android -->
++<!--
+ <Copy SourceFiles="@(DlrLibs->'$(AndroidBuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Android" />
+ <Copy SourceFiles="@(v2DlrLibs->'$(AndroidBuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Android" />
+ <Copy SourceFiles="@(IronPythonLibs->'$(AndroidBuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Android" />
+ <Copy SourceFiles="@(IronPythonModules->'$(AndroidBuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Android" />
+-
++-->
+ <!-- Silverlight 4 -->
++<!--
+ <Copy SourceFiles="@(DlrLibs->'$(Silverlight4BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl4" />
+ <Copy SourceFiles="@(SilverlightDlrLibs->'$(Silverlight4BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl4" />
+ <Copy SourceFiles="@(IronPythonLibs->'$(Silverlight4BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl4" />
+ <Copy SourceFiles="@(IronPythonModules->'$(Silverlight4BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl4" />
+-
++-->
+ <!-- Silverlight 5 -->
++<!--
+ <Copy SourceFiles="@(DlrLibs->'$(Silverlight5BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl5" />
+ <Copy SourceFiles="@(SilverlightDlrLibs->'$(Silverlight5BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl5" />
+ <Copy SourceFiles="@(IronPythonLibs->'$(Silverlight5BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl5" />
+ <Copy SourceFiles="@(IronPythonModules->'$(Silverlight5BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Sl5" />
+-
++-->
+ <!-- Windows 8 "Metro" -->
+ <!--<Copy SourceFiles="@(DlrLibs->'$(BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Metro" />
+ <Copy SourceFiles="@(IronPythonLibs->'$(BuildDir)\%(Identity)')" DestinationFolder="$(StageDir)\Platforms\Metro" />-->
Added: head/lang/ironpython/files/patch-Solutions-Common.proj
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/files/patch-Solutions-Common.proj Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,18 @@
+--- Solutions/Common.proj.orig 2013-05-01 13:37:45.000000000 +0200
++++ Solutions/Common.proj 2013-05-01 13:37:50.000000000 +0200
+@@ -147,7 +147,7 @@
+ <OutputPath>$(SolutionDir)..\bin\$(Configuration)</OutputPath>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <WarningsNotAsErrors>618;429;219;1717;162;414</WarningsNotAsErrors>
+- <NoWarn>1591;1584;1574;444;1685;1573</NoWarn>
++ <NoWarn>1591;1584;1574;1685;1573;436</NoWarn>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+@@ -467,4 +467,4 @@
+ <Private>False</Private>
+ </Reference>
+ </ItemGroup>
+-</Project>
+\ No newline at end of file
++</Project>
Added: head/lang/ironpython/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/ironpython/pkg-descr Fri Jul 12 20:55:54 2013 (r322866)
@@ -0,0 +1,6 @@
+IronPython is an open-source implementation of the Python programming
+language which is tightly integrated with the .NET Framework. IronPython
+can use the .NET Framework and Python libraries, and other .NET languages
+can use Python code just as easily.
+
+WWW: http://www.ironpython.net
More information about the svn-ports-head
mailing list