diff options
author | Michel Zou | 2016-05-14 13:41:43 +0200 |
---|---|---|
committer | Michel Zou | 2016-05-14 13:41:43 +0200 |
commit | 0e23b0481df85ec07888262fc30007ef778c4886 (patch) | |
tree | 6f847a229ce2275e298747d768a47e9eaa0d0cb8 | |
download | aur-0e23b0481df85ec07888262fc30007ef778c4886.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6e51744fc564 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +# Generated by mksrcinfo v8 +# Sat May 14 11:41:43 UTC 2016 +pkgbase = python-assimulo + pkgdesc = A package for solving ordinary differential equations and differential algebraic equations + pkgver = 2.9 + pkgrel = 1 + url = http://www.jmodelica.org/assimulo + arch = i686 + arch = x86_64 + license = LGPL + makedepends = python-setuptools + makedepends = python2-setuptools + makedepends = cython + makedepends = cython2 + makedepends = gcc-fortran + makedepends = sundials + makedepends = lapack + source = https://pypi.python.org/packages/4c/c0/19a54949817204313efff9f83f1e4a247edebed0a1cc5a317a95d3f374ae/Assimulo-2.9.zip + md5sums = 3f28fd98011d2ec7a01703a1ef1dff45 + +pkgname = python-assimulo + depends = python-scipy + depends = python-matplotlib + depends = lapack + depends = sundials + +pkgname = python2-assimulo + depends = python2-numpy + depends = python2-matplotlib + depends = lapack + depends = sundials + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..596886b849d1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +pkgbase=python-assimulo +pkgname=('python-assimulo' 'python2-assimulo') +pkgver=2.9 +pkgrel=1 +pkgdesc="A package for solving ordinary differential equations and differential algebraic equations" +url="http://www.jmodelica.org/assimulo" +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'gcc-fortran' 'sundials' 'lapack') +source=("https://pypi.python.org/packages/4c/c0/19a54949817204313efff9f83f1e4a247edebed0a1cc5a317a95d3f374ae/Assimulo-2.9.zip") +md5sums=('3f28fd98011d2ec7a01703a1ef1dff45') + +build() { + cp -r "${srcdir}"/Assimulo-$pkgver "${srcdir}"/Assimulo-$pkgver-py2 + + cd "${srcdir}"/Assimulo-$pkgver + python setup.py build --extra-fortran-link-flags="-shared" + + cd "${srcdir}"/Assimulo-$pkgver-py2 + python2 setup.py build --extra-fortran-link-flags="-shared" +} + +package_python-assimulo() { + depends=('python-scipy' 'python-matplotlib' 'lapack' 'sundials') + + cd "${srcdir}/Assimulo-$pkgver" + python setup.py install --root=${pkgdir} +} + +package_python2-assimulo() { + depends=('python2-numpy' 'python2-matplotlib' 'lapack' 'sundials') + + cd "${srcdir}/Assimulo-$pkgver-py2" + python2 setup.py install --root=${pkgdir} +} |