[arch-commits] Commit in libixion/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Dec 7 03:53:11 UTC 2015


    Date: Monday, December 7, 2015 @ 04:53:11
  Author: foutrelis
Revision: 253175

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  libixion/repos/staging-i686/
  libixion/repos/staging-i686/PKGBUILD
    (from rev 253174, libixion/trunk/PKGBUILD)
  libixion/repos/staging-i686/mdds-1.0.patch
    (from rev 253174, libixion/trunk/mdds-1.0.patch)
  libixion/repos/staging-x86_64/
  libixion/repos/staging-x86_64/PKGBUILD
    (from rev 253174, libixion/trunk/PKGBUILD)
  libixion/repos/staging-x86_64/mdds-1.0.patch
    (from rev 253174, libixion/trunk/mdds-1.0.patch)

-------------------------------+
 staging-i686/PKGBUILD         |   51 ++++++++++++++++++++++++++++++++++++++++
 staging-i686/mdds-1.0.patch   |   25 +++++++++++++++++++
 staging-x86_64/PKGBUILD       |   51 ++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/mdds-1.0.patch |   25 +++++++++++++++++++
 4 files changed, 152 insertions(+)

Copied: libixion/repos/staging-i686/PKGBUILD (from rev 253174, libixion/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-07 03:53:11 UTC (rev 253175)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: kusakata <shohei atmark kusakata period com>
+
+pkgname=libixion
+pkgver=0.9.1
+pkgrel=3
+pkgdesc="A general purpose formula parser & interpreter"
+arch=('i686' 'x86_64')
+url="https://gitlab.com/ixion/ixion/blob/master/README.md"
+license=('custom')
+depends=('boost-libs' 'python2')
+makedepends=('boost' 'mdds')
+source=("http://kohei.us/files/ixion/src/libixion-${pkgver}.tar.xz"
+        'mdds-1.0.patch')
+sha1sums=('8ae071e7e89784933caadeffc16ed7b0764350a9'
+          '06bb9d2eb331dbc2d1f06acdb9b006eb366553ec')
+
+prepare() {
+	cd ${pkgname}-${pkgver}
+
+	patch -Np1 -i ../mdds-1.0.patch
+
+	sed -i "s/python >= 0.27.1/python2 >= 0.27.1/" configure.ac
+	autoreconf -vfi
+	sed -i "s/env python/env python2/" test/ixion-python-test.py
+}
+
+build() {
+	cd ${pkgname}-${pkgver}
+
+	# mdds 1.0.0 requires C++11
+	CXXFLAGS+=' -std=c++11'
+
+	./configure --prefix=/usr \
+	  --disable-static
+	make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    make -k check
+}
+
+package() {
+	cd ${pkgname}-${pkgver}
+	make DESTDIR="${pkgdir}" install
+	
+	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+

Copied: libixion/repos/staging-i686/mdds-1.0.patch (from rev 253174, libixion/trunk/mdds-1.0.patch)
===================================================================
--- staging-i686/mdds-1.0.patch	                        (rev 0)
+++ staging-i686/mdds-1.0.patch	2015-12-07 03:53:11 UTC (rev 253175)
@@ -0,0 +1,25 @@
+From f15c376d251dd49b2202005ffed157f7d32c4393 Mon Sep 17 00:00:00 2001
+From: Kohei Yoshida <kohei.yoshida at gmail.com>
+Date: Tue, 7 Jul 2015 22:19:33 -0400
+Subject: [PATCH] Use the master branch of mdds.
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 512a5dd..c1901e3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -82,7 +82,7 @@ else
+ fi
+ 
+ # Check for mdds.
+-PKG_CHECK_MODULES([MDDS],[mdds >= 0.12.0])
++PKG_CHECK_MODULES([MDDS],[mdds-1.0 >= 0.13.0])
+ 
+ # Check for python.
+ AS_IF([test "x$enable_python" != "xno"], [
+--
+libgit2 0.23.3
+

Copied: libixion/repos/staging-x86_64/PKGBUILD (from rev 253174, libixion/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-07 03:53:11 UTC (rev 253175)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: kusakata <shohei atmark kusakata period com>
+
+pkgname=libixion
+pkgver=0.9.1
+pkgrel=3
+pkgdesc="A general purpose formula parser & interpreter"
+arch=('i686' 'x86_64')
+url="https://gitlab.com/ixion/ixion/blob/master/README.md"
+license=('custom')
+depends=('boost-libs' 'python2')
+makedepends=('boost' 'mdds')
+source=("http://kohei.us/files/ixion/src/libixion-${pkgver}.tar.xz"
+        'mdds-1.0.patch')
+sha1sums=('8ae071e7e89784933caadeffc16ed7b0764350a9'
+          '06bb9d2eb331dbc2d1f06acdb9b006eb366553ec')
+
+prepare() {
+	cd ${pkgname}-${pkgver}
+
+	patch -Np1 -i ../mdds-1.0.patch
+
+	sed -i "s/python >= 0.27.1/python2 >= 0.27.1/" configure.ac
+	autoreconf -vfi
+	sed -i "s/env python/env python2/" test/ixion-python-test.py
+}
+
+build() {
+	cd ${pkgname}-${pkgver}
+
+	# mdds 1.0.0 requires C++11
+	CXXFLAGS+=' -std=c++11'
+
+	./configure --prefix=/usr \
+	  --disable-static
+	make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    make -k check
+}
+
+package() {
+	cd ${pkgname}-${pkgver}
+	make DESTDIR="${pkgdir}" install
+	
+	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+

Copied: libixion/repos/staging-x86_64/mdds-1.0.patch (from rev 253174, libixion/trunk/mdds-1.0.patch)
===================================================================
--- staging-x86_64/mdds-1.0.patch	                        (rev 0)
+++ staging-x86_64/mdds-1.0.patch	2015-12-07 03:53:11 UTC (rev 253175)
@@ -0,0 +1,25 @@
+From f15c376d251dd49b2202005ffed157f7d32c4393 Mon Sep 17 00:00:00 2001
+From: Kohei Yoshida <kohei.yoshida at gmail.com>
+Date: Tue, 7 Jul 2015 22:19:33 -0400
+Subject: [PATCH] Use the master branch of mdds.
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 512a5dd..c1901e3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -82,7 +82,7 @@ else
+ fi
+ 
+ # Check for mdds.
+-PKG_CHECK_MODULES([MDDS],[mdds >= 0.12.0])
++PKG_CHECK_MODULES([MDDS],[mdds-1.0 >= 0.13.0])
+ 
+ # Check for python.
+ AS_IF([test "x$enable_python" != "xno"], [
+--
+libgit2 0.23.3
+



More information about the arch-commits mailing list