[arch-commits] Commit in pynac/repos (4 files)

Antonio Rojas arojas at archlinux.org
Wed Jun 1 17:08:03 UTC 2016


    Date: Wednesday, June 1, 2016 @ 19:08:03
  Author: arojas
Revision: 177622

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

Added:
  pynac/repos/community-staging-i686/
  pynac/repos/community-staging-i686/PKGBUILD
    (from rev 177621, pynac/trunk/PKGBUILD)
  pynac/repos/community-staging-x86_64/
  pynac/repos/community-staging-x86_64/PKGBUILD
    (from rev 177621, pynac/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: pynac/repos/community-staging-i686/PKGBUILD (from rev 177621, pynac/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-06-01 17:08:03 UTC (rev 177622)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=pynac
+pkgver=0.6.6
+pkgrel=1
+pkgdesc="Python version of GiNaC, a C++ library for symbolic mathematical calculations"
+arch=(i686 x86_64)
+url="http://pynac.org"
+license=(GPL)
+depends=(python2 libgiac)
+source=("https://github.com/pynac/pynac/archive/$pkgname-$pkgver.tar.gz"
+        pynac-giac.patch::"https://github.com/pynac/pynac/commit/101ea20b.patch")
+md5sums=('413e071cfeafbc0005f9f5eb23ae58ab'
+         '50297577b500234b6c89fc89f909cb35')
+
+prepare() {
+  cd pynac-pynac-$pkgver
+# Fix giac detection
+  patch -p1 -i ../pynac-giac.patch
+}
+
+build() {
+  cd pynac-pynac-$pkgver
+
+  export PYTHON=python2
+  ./bootstrap
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd pynac-pynac-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: pynac/repos/community-staging-x86_64/PKGBUILD (from rev 177621, pynac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-06-01 17:08:03 UTC (rev 177622)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=pynac
+pkgver=0.6.6
+pkgrel=1
+pkgdesc="Python version of GiNaC, a C++ library for symbolic mathematical calculations"
+arch=(i686 x86_64)
+url="http://pynac.org"
+license=(GPL)
+depends=(python2 libgiac)
+source=("https://github.com/pynac/pynac/archive/$pkgname-$pkgver.tar.gz"
+        pynac-giac.patch::"https://github.com/pynac/pynac/commit/101ea20b.patch")
+md5sums=('413e071cfeafbc0005f9f5eb23ae58ab'
+         '50297577b500234b6c89fc89f909cb35')
+
+prepare() {
+  cd pynac-pynac-$pkgver
+# Fix giac detection
+  patch -p1 -i ../pynac-giac.patch
+}
+
+build() {
+  cd pynac-pynac-$pkgver
+
+  export PYTHON=python2
+  ./bootstrap
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd pynac-pynac-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list