[arch-commits] Commit in (5 files)
Felix Yan
fyan at archlinux.org
Sat Dec 12 09:05:41 UTC 2015
Date: Saturday, December 12, 2015 @ 10:05:40
Author: fyan
Revision: 153108
addpkg: ironpython 2.7.5-2
Added:
ironpython/
ironpython/repos/
ironpython/trunk/
ironpython/trunk/PKGBUILD
ironpython/trunk/site.patch
------------+
PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
site.patch | 13 ++++++++++++
2 files changed, 76 insertions(+)
Added: ironpython/trunk/PKGBUILD
===================================================================
--- ironpython/trunk/PKGBUILD (rev 0)
+++ ironpython/trunk/PKGBUILD 2015-12-12 09:05:40 UTC (rev 153108)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Schubert <mschu.dev at gmail>
+# Contributor: Di "thc_flow" Abel <nospam at weedsmoker.im>
+
+pkgname=ironpython
+pkgver=2.7.5
+pkgrel=2
+pkgdesc="Python implementation for the .NET framework"
+arch=("any")
+url="http://ironpython.net"
+license=("Apache")
+depends=('mono')
+source=("https://github.com/IronLanguages/main/archive/ipy-$pkgver.zip")
+md5sums=('85951a4125fb733cdeaced19f3ff7157')
+
+prepare() {
+ cd "$srcdir/main-ipy-$pkgver"
+
+ # Workaround errors during Stage
+ # https://github.com/IronLanguages/main/issues/1156
+ # TODO: make this less ugly...
+ mv Languages/IronPython/Public/License.{R,r}tf
+
+ mkdir -p bin/{Silverlight5Release/DLLs,v45Release/DLLs,v2Release/DLLs}
+ touch \
+ bin/Silverlight5Release/Microsoft.{Dynamic,Scripting}.{xml,dll} \
+ bin/Silverlight5Release/Microsoft.Scripting.Silverlight.dll \
+ bin/Silverlight5Release/IronPython{,.Modules}.{xml,dll} \
+ bin/Silverlight5Release/DLLs/IronPython.SQLite.{xml,dll} \
+ bin/v45Release/Microsoft.{Dynamic,Scripting}.{xml,dll} \
+ bin/v45Release/Microsoft.Scripting.{Metadata,AspNet}.{xml,dll} \
+ bin/v45Release/IronPython{,.Modules}.{xml,dll} \
+ bin/v45Release/DLLs/IronPython.SQLite.{xml,dll} \
+ bin/v2Release/Microsoft.{Dynamic,Scripting}.{xml,dll} \
+ bin/v2Release/Microsoft.Scripting.{Metadata,AspNet,Core}.{xml,dll} \
+ bin/v2Release/IronPython{,.Modules}.{xml,dll} \
+ bin/v2Release/DLLs/IronPython.SQLite.{xml,dll}
+}
+
+build() {
+ cd "$srcdir/main-ipy-$pkgver"
+ xbuild /t:Stage '/p:BaseConfiguration=Release;Mono=true' /verbosity:minimal /nologo
+}
+
+check() {
+ cd "$srcdir/main-ipy-$pkgver"
+ # Not really runable now
+ # make test-ipy
+}
+
+package() {
+ cd "$srcdir/main-ipy-$pkgver"
+ install -d "$pkgdir"/usr/{lib,bin}
+
+ rm -r Stage/Release/IronPython-$pkgver/{Silverlight,Platforms/{Net45,Net35,Sl5}}
+ cp -r Stage/Release/IronPython-$pkgver "$pkgdir/usr/lib/ipy"
+
+ for bin in ipy ipy64 ipyw ipyw64; do
+ echo -e "#!/bin/sh\nmono /usr/lib/ipy/$bin.exe \$*" > "$pkgdir/usr/bin/$bin"
+ chmod +x "$pkgdir/usr/bin/$bin"
+ done
+}
Property changes on: ironpython/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: ironpython/trunk/site.patch
===================================================================
--- ironpython/trunk/site.patch (rev 0)
+++ ironpython/trunk/site.patch 2015-12-12 09:05:40 UTC (rev 153108)
@@ -0,0 +1,13 @@
+--- site.py 2013-05-14 22:14:00.000000000 +0100
++++ site.py.fixed 2013-05-30 11:27:08.507466304 +0100
+@@ -59,6 +59,10 @@
+ """
+
+ import sys
++
++sys.path.append('/usr/lib/python2.7')
++sys.path.append('/usr/lib/python2.7/site-packages')
++
+ import os
+ import __builtin__
+ import traceback
More information about the arch-commits
mailing list