summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormschubert2017-11-09 15:32:50 +0100
committermschubert2017-11-09 15:32:50 +0100
commitf82fb1efd5a44103f04b5e503fc555406988c6b5 (patch)
treeddfd3307ad6613172a45c9dca347d5809c60b7ea
parentd670fff5cdbd69fb1082229c2f2f471f6e20de4f (diff)
downloadaur-f82fb1efd5a44103f04b5e503fc555406988c6b5.tar.gz
fix PKGBUILD w/ @dundee
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD22
-rw-r--r--site.patch13
3 files changed, 19 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01f3769608e..3f31c65a831 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Nov 9 14:32:27 UTC 2017
pkgbase = ironpython-git
pkgdesc = Python implementation for the .NET framework
- pkgver = 2.7.2.a2.471.g7be8b73
+ pkgver = r2315.ac72964d7
pkgrel = 1
url = http://ironpython.net
arch = any
license = Apache
makedepends = git
depends = mono
+ depends = msbuild-bin
options = !strip
options = emptydirs
options = libtool
- source = ironpython-git::git://github.com/IronLanguages/main.git
- source = site.patch
+ source = ironpython-git::git+https://github.com/IronLanguages/ironpython2.git
md5sums = SKIP
- md5sums = dd484ca6dfe03277d8a13e7b1cfe6662
pkgname = ironpython-git
diff --git a/PKGBUILD b/PKGBUILD
index df7127a578e..63e22c0a3fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,33 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
-
pkgname=ironpython-git
-pkgver=2.7.7.ac72964d7
+pkgver=r2315.ac72964d7
pkgrel=1
pkgdesc="Python implementation for the .NET framework"
arch=("any")
url="http://ironpython.net"
license=("Apache")
-depends=('mono')
-makedepends=('git' 'msbuild-bin')
+depends=('mono' 'msbuild-bin')
+makedepends=('git')
options=('!strip' 'emptydirs' 'libtool')
-source=($pkgname::git://github.com/IronLanguages/ironpython2.git)
+source=($pkgname::git+https://github.com/IronLanguages/ironpython2.git)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
- git describe --always | sed 's|-|.|g;s|^ipy\.||'
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-build() {
+prepare() {
cd "$srcdir/$pkgname"
+ git checkout ac72964d7
git submodule update --init
- msbuild.exe Build.proj /t:Build /p:Mono=true /p:BuildFlavour=Release /p:Platform="Any CPU" /verbosity:minimal /nologo
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ git checkout ac72964d7
+ msbuild.exe Build.proj /t:Build /p:Mono=true /p:BuildFlavour=Release \
+ /p:Platform="Any CPU" /verbosity:minimal /nologo
}
package() {
diff --git a/site.patch b/site.patch
deleted file mode 100644
index 9595b950c4b..00000000000
--- a/site.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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