diff options
Diffstat (limited to 'lang/boo')
-rw-r--r-- | lang/boo/Makefile | 8 | ||||
-rw-r--r-- | lang/boo/distinfo | 5 | ||||
-rw-r--r-- | lang/boo/files/patch-aa | 150 | ||||
-rw-r--r-- | lang/boo/files/patch-default.build | 19 | ||||
-rw-r--r-- | lang/boo/pkg-plist | 54 |
5 files changed, 43 insertions, 193 deletions
diff --git a/lang/boo/Makefile b/lang/boo/Makefile index 24d30ee7271b..54f088915c8c 100644 --- a/lang/boo/Makefile +++ b/lang/boo/Makefile @@ -6,10 +6,10 @@ # PORTNAME= boo -PORTVERSION= 0.9.3 +PORTVERSION= 0.9.4.9 CATEGORIES= lang MASTER_SITES= http://dist.codehaus.org/boo/distributions/ -DISTNAME= ${PORTNAME}-${PORTVERSION}.${BUILD_NUMBER}-src +DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= mono@FreeBSD.org COMMENT= A CLI-targeted programming language similar to Python @@ -31,9 +31,7 @@ USE_ZIP= yes MAKE_ENV= LC_ALL=C NANT_FLAGS+= -debug -BUILD_NUMBER= 3457 - -PLIST_SUB+= PORTVERSION="${PORTVERSION}" +PLIST_SUB+= PORTVERSION="2.${PORTVERSION:R}" .if !defined(NOPORTDOCS) PORTDOCS= * diff --git a/lang/boo/distinfo b/lang/boo/distinfo index b1544e48ae78..8a436b0aad11 100644 --- a/lang/boo/distinfo +++ b/lang/boo/distinfo @@ -1,3 +1,2 @@ -MD5 (boo-0.9.3.3457-src.zip) = c7f225468aac17d25845dfc92407ab95 -SHA256 (boo-0.9.3.3457-src.zip) = f1835afc94ebaa787192084eca55b5f9cc7daa2925469cfee40e320d5c44c224 -SIZE (boo-0.9.3.3457-src.zip) = 3701418 +SHA256 (boo-0.9.4.9-src.zip) = 4a01c5b720ad3953ebf388bbf09822b6e9a5bff12a033a74f3bb1209ce0431d7 +SIZE (boo-0.9.4.9-src.zip) = 3911285 diff --git a/lang/boo/files/patch-aa b/lang/boo/files/patch-aa deleted file mode 100644 index 1c88ffbdd65f..000000000000 --- a/lang/boo/files/patch-aa +++ /dev/null @@ -1,150 +0,0 @@ -$FreeBSD$ - -This patch was checked-out from the boo SVN repository, r3468. -It prevents build failures if an older lang/boo is already installed, more details at: -http://jira.codehaus.org/browse/BOO-1282 - -Index: src/Boo.Lang.Compiler/Compilation.cs -=================================================================== ---- src/Boo.Lang.Compiler/Compilation.cs (révision 3467) -+++ src/Boo.Lang.Compiler/Compilation.cs (révision 3468) -@@ -87,16 +87,26 @@ - return compiler.Run(unit);
- }
-
-+ public static CompilerContext compile_(CompileUnit unit, params ICompileUnit[] references)
-+ {
-+ return NewCompilerWithReferences(references).Run(unit);
-+ }
-+
- private static BooCompiler NewCompilerWithReferences(IEnumerable<ICompileUnit> references)
- {
-- BooCompiler compiler = NewCompiler();
-+ BooCompiler compiler = NewCompiler(false);
- compiler.Parameters.References.AddAll(references);
- return compiler;
- }
-
- private static BooCompiler NewCompiler()
- {
-- BooCompiler compiler = new BooCompiler();
-+ return NewCompiler(true);
-+ }
-+
-+ private static BooCompiler NewCompiler(bool loadDefaultReferences)
-+ {
-+ BooCompiler compiler = new BooCompiler(new CompilerParameters(loadDefaultReferences));
- compiler.Parameters.OutputType = CompilerOutputType.Auto;
- compiler.Parameters.Pipeline = new Boo.Lang.Compiler.Pipelines.CompileToMemory();
- return compiler;
-@@ -114,10 +124,5 @@ - module.Members.Add(klass);
- return module;
- }
--
-- public static CompilerContext compile_(CompileUnit unit, params ICompileUnit[] references)
-- {
-- return NewCompilerWithReferences(references).Run(unit);
-- }
- }
- }
-Index: src/Boo.Lang.Compiler/Steps/MacroProcessing/MacroCompiler.cs -=================================================================== ---- src/Boo.Lang.Compiler/Steps/MacroProcessing/MacroCompiler.cs (révision 3467) -+++ src/Boo.Lang.Compiler/Steps/MacroProcessing/MacroCompiler.cs (révision 3468) -@@ -121,9 +121,7 @@ - m.Namespace = CleanClone(node.EnclosingModule.Namespace); - m.Name = node.Name; - foreach (Import i in node.EnclosingModule.Imports) -- { - m.Imports.Add(CleanClone(i)); -- } - m.Members.Add(CleanClone(node)); - return m; - } -@@ -139,17 +137,13 @@ - private void ReportErrors(CompilerErrorCollection errors) - { - foreach (CompilerError e in errors) -- { - Errors.Add(e); -- } - } - - private void ReportWarnings(CompilerWarningCollection warnings) - { - foreach (CompilerWarning w in warnings) -- { - Warnings.Add(w); -- } - } - - private static void CacheType(TypeDefinition node, Type type) -Index: tests/BooCompiler.Tests/ExtensionsCompilationTest.cs -=================================================================== ---- tests/BooCompiler.Tests/ExtensionsCompilationTest.cs (révision 0) -+++ tests/BooCompiler.Tests/ExtensionsCompilationTest.cs (révision 3468) -@@ -0,0 +1,33 @@ -+using System.Collections.Generic;
-+using System.IO;
-+using Boo.Lang.Compiler;
-+using Boo.Lang.Compiler.IO;
-+using NUnit.Framework;
-+
-+namespace BooCompiler.Tests
-+{
-+ [TestFixture]
-+ public class ExtensionsCompilationTest
-+ {
-+ [Test]
-+ public void MacroMacroCompilation()
-+ {
-+ var parameters = new CompilerParameters(false);
-+ parameters.References.Add(typeof(IEnumerable<>).Assembly);
-+
-+ parameters.Input.Add(BooLangExtensionsSource("Macros/MacroMacro.boo"));
-+ parameters.Input.Add(BooLangExtensionsSource("Macros/AssertMacro.boo"));
-+
-+ parameters.Pipeline = new Boo.Lang.Compiler.Pipelines.ResolveExpressions();
-+
-+ var compiler = new Boo.Lang.Compiler.BooCompiler(parameters);
-+ var results = compiler.Run();
-+ Assert.AreEqual(0, results.Errors.Count, results.Errors.ToString());
-+ }
-+
-+ private FileInput BooLangExtensionsSource(string file)
-+ {
-+ return new FileInput(Path.Combine(BooTestCaseUtil.BasePath, "src/Boo.Lang.Extensions/" + file));
-+ }
-+ }
-+}
-Index: tests/BooCompiler.Tests/BooTestCaseUtil.cs -=================================================================== ---- tests/BooCompiler.Tests/BooTestCaseUtil.cs (révision 3467) -+++ tests/BooCompiler.Tests/BooTestCaseUtil.cs (révision 3468) -@@ -31,7 +31,6 @@ - using System;
- using System.IO;
- using System.Reflection;
-- using System.Xml;
- using System.Xml.Serialization;
- using Boo.Lang.Compiler.Ast;
- using NUnit.Framework;
-@@ -43,11 +42,15 @@ - {
- public static string TestCasesPath
- {
-+ get { return Path.Combine(BasePath, "tests/testcases"); }
-+ }
-+
-+ public static string BasePath
-+ {
- get
- {
- Uri codebase = new Uri(Assembly.GetExecutingAssembly().CodeBase);
-- Uri path = new Uri(codebase, "../testcases");
-- return path.LocalPath;
-+ return new Uri(codebase, "../..").LocalPath;
- }
- }
-
diff --git a/lang/boo/files/patch-default.build b/lang/boo/files/patch-default.build index f949b55e40a9..71196c0b4fd1 100644 --- a/lang/boo/files/patch-default.build +++ b/lang/boo/files/patch-default.build @@ -1,8 +1,9 @@ + $FreeBSD$ ---- default.build.orig 2009-09-06 14:21:30.000000000 -0700 -+++ default.build 2009-09-06 14:21:40.000000000 -0700 -@@ -21,19 +21,25 @@ +--- default.build.orig ++++ default.build +@@ -23,19 +23,25 @@ <property name="build.dir" value="build" dynamic="True"/>
<property name="distrobuild.dir" value="distrobuild"/>
@@ -29,16 +30,16 @@ $FreeBSD$ <!-- set gendarme.dir in your build.properties to enable Gendarme report after build -->
<property name="gendarme.dir" value=""/>
-@@ -71,7 +77,7 @@ +@@ -90,7 +96,7 @@ <property name="nosign" value="true" overwrite="true" />
</target>
-- <target name="all" depends="booc, booi, booish, boo-pkgconfig, Boo.Lang.CodeDom, Boo.Lang.Useful, boo, Boo.Microsoft.Build.Tasks, update-vs2005-env, Boo.Lang.PatternMatching">
+- <target name="all" depends="booc, booi, booish, boo-pkgconfig, Boo.Lang.CodeDom, Boo.Lang.Useful, boo, Boo.Microsoft.Build.Tasks, update-vs-env, Boo.Lang.PatternMatching">
+ <target name="all" depends="booc, booi, booish, boo-pkgconfig, Boo.Lang.CodeDom, Boo.Lang.Useful, boo, Boo.Microsoft.Build.Tasks, Boo.Lang.PatternMatching">
<call target="gendarme" if="${gendarme.dir != ''}" />
+ <call target="verify-assemblies" />
</target>
-
-@@ -538,7 +544,7 @@ +@@ -571,7 +577,7 @@ <call target="install-linux" if="${not(platform::is-win32())}"/>
</target>
@@ -47,7 +48,7 @@ $FreeBSD$ <!--
Use pkg-config to find the proper locations for several
key files for mime detection, etc
-@@ -602,7 +608,7 @@ +@@ -635,7 +641,7 @@ </copy>
<copy file="extras/boo.lang" todir="${fakeroot.gsv}/share/gtksourceview-1.0/language-specs/" />
@@ -56,7 +57,7 @@ $FreeBSD$ <copy file="extras/boo-mime-info.xml" todir="${fakeroot.sharedmime}/share/mime/packages/" />
<exec program="chmod" commandline="+x ${fakeroot.bindir}/booc" />
-@@ -645,7 +651,28 @@ +@@ -678,7 +684,28 @@ </foreach>
</target>
diff --git a/lang/boo/pkg-plist b/lang/boo/pkg-plist index 44079ae89f0d..ce97e985de7f 100644 --- a/lang/boo/pkg-plist +++ b/lang/boo/pkg-plist @@ -2,6 +2,8 @@ bin/booc bin/booi bin/booish +lib/boo/Boo.Microsoft.Build.Tasks.dll +lib/boo/Boo.Microsoft.Build.targets lib/boo/Boo.NAnt.Tasks.dll lib/boo/boo.exe lib/boo/booc.exe @@ -19,41 +21,41 @@ lib/mono/boo/Boo.Lang.Parser.dll lib/mono/boo/Boo.Lang.PatternMatching.dll lib/mono/boo/Boo.Lang.Useful.dll lib/mono/boo/Boo.Lang.dll -lib/mono/gac/Boo.Lang.CodeDom/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.CodeDom.dll -lib/mono/gac/Boo.Lang.CodeDom/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.CodeDom.dll.mdb -lib/mono/gac/Boo.Lang.Compiler/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Compiler.dll -lib/mono/gac/Boo.Lang.Compiler/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Compiler.dll.mdb -lib/mono/gac/Boo.Lang.Extensions/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Extensions.dll -lib/mono/gac/Boo.Lang.Extensions/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Extensions.dll.mdb -lib/mono/gac/Boo.Lang.Interpreter/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Interpreter.dll -lib/mono/gac/Boo.Lang.Interpreter/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Interpreter.dll.mdb -lib/mono/gac/Boo.Lang.Parser/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Parser.dll -lib/mono/gac/Boo.Lang.Parser/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Parser.dll.mdb -lib/mono/gac/Boo.Lang.PatternMatching/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.PatternMatching.dll -lib/mono/gac/Boo.Lang.PatternMatching/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.PatternMatching.dll.mdb -lib/mono/gac/Boo.Lang.Useful/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Useful.dll -lib/mono/gac/Boo.Lang.Useful/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Useful.dll.mdb -lib/mono/gac/Boo.Lang/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.dll -lib/mono/gac/Boo.Lang/2.%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.dll.mdb +lib/mono/gac/Boo.Lang.CodeDom/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.CodeDom.dll +lib/mono/gac/Boo.Lang.CodeDom/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.CodeDom.dll.mdb +lib/mono/gac/Boo.Lang.Compiler/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Compiler.dll +lib/mono/gac/Boo.Lang.Compiler/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Compiler.dll.mdb +lib/mono/gac/Boo.Lang.Extensions/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Extensions.dll +lib/mono/gac/Boo.Lang.Extensions/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Extensions.dll.mdb +lib/mono/gac/Boo.Lang.Interpreter/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Interpreter.dll +lib/mono/gac/Boo.Lang.Interpreter/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Interpreter.dll.mdb +lib/mono/gac/Boo.Lang.Parser/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Parser.dll +lib/mono/gac/Boo.Lang.Parser/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Parser.dll.mdb +lib/mono/gac/Boo.Lang.PatternMatching/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.PatternMatching.dll +lib/mono/gac/Boo.Lang.PatternMatching/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.PatternMatching.dll.mdb +lib/mono/gac/Boo.Lang.Useful/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Useful.dll +lib/mono/gac/Boo.Lang.Useful/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.Useful.dll.mdb +lib/mono/gac/Boo.Lang/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.dll +lib/mono/gac/Boo.Lang/%%PORTVERSION%%__32c39770e9a21a67/Boo.Lang.dll.mdb libdata/pkgconfig/boo.pc -share/mime/packages/boo-mime-info.xml -share/mime/text/x-boo.xml share/mime-info/boo.keys share/mime-info/boo.mime -@dirrm lib/mono/gac/Boo.Lang/2.%%PORTVERSION%%__32c39770e9a21a67 -@dirrm lib/mono/gac/Boo.Lang.Useful/2.%%PORTVERSION%%__32c39770e9a21a67 +share/mime/packages/boo-mime-info.xml +share/mime/text/x-boo.xml +@dirrm lib/mono/gac/Boo.Lang/%%PORTVERSION%%__32c39770e9a21a67 +@dirrm lib/mono/gac/Boo.Lang.Useful/%%PORTVERSION%%__32c39770e9a21a67 @dirrm lib/mono/gac/Boo.Lang.Useful -@dirrm lib/mono/gac/Boo.Lang.PatternMatching/2.%%PORTVERSION%%__32c39770e9a21a67 +@dirrm lib/mono/gac/Boo.Lang.PatternMatching/%%PORTVERSION%%__32c39770e9a21a67 @dirrm lib/mono/gac/Boo.Lang.PatternMatching -@dirrm lib/mono/gac/Boo.Lang.Parser/2.%%PORTVERSION%%__32c39770e9a21a67 +@dirrm lib/mono/gac/Boo.Lang.Parser/%%PORTVERSION%%__32c39770e9a21a67 @dirrm lib/mono/gac/Boo.Lang.Parser -@dirrm lib/mono/gac/Boo.Lang.Interpreter/2.%%PORTVERSION%%__32c39770e9a21a67 +@dirrm lib/mono/gac/Boo.Lang.Interpreter/%%PORTVERSION%%__32c39770e9a21a67 @dirrm lib/mono/gac/Boo.Lang.Interpreter -@dirrm lib/mono/gac/Boo.Lang.Extensions/2.%%PORTVERSION%%__32c39770e9a21a67 +@dirrm lib/mono/gac/Boo.Lang.Extensions/%%PORTVERSION%%__32c39770e9a21a67 @dirrm lib/mono/gac/Boo.Lang.Extensions -@dirrm lib/mono/gac/Boo.Lang.Compiler/2.%%PORTVERSION%%__32c39770e9a21a67 +@dirrm lib/mono/gac/Boo.Lang.Compiler/%%PORTVERSION%%__32c39770e9a21a67 @dirrm lib/mono/gac/Boo.Lang.Compiler -@dirrm lib/mono/gac/Boo.Lang.CodeDom/2.%%PORTVERSION%%__32c39770e9a21a67 +@dirrm lib/mono/gac/Boo.Lang.CodeDom/%%PORTVERSION%%__32c39770e9a21a67 @dirrm lib/mono/gac/Boo.Lang.CodeDom @dirrm lib/mono/gac/Boo.Lang @dirrm lib/mono/boo |