blob: 417fbadafea89df2f23a25853ff0880d0f139aa8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: anon at sansorgan.es
pkgname=python-bempp-git
_pkgname=bempp
pkgdesc='The BEM++ boundary element library'
pkgver=3.3.4_ce2ffc1c
pkgrel=2
arch=('i686' 'x86_64')
provides=('python-bempp')
url="https://bempp.com/"
license=(MIT)
options=('!strip')
depends=('python-scipy' 'python-mpi4py' 'intel-tbb')
makedepends=('dune-common' 'dune-geometry' 'doxygen' 'dune-uggrid'
'cython>=0.22' 'git' 'cmake' 'python-sphinx')
optdepends=('ipython: interactive console'
'gmsh: external plots'
)
source=('git+https://bitbucket.org/bemppsolutions/bempp.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir"/"$_pkgname"
python setup.py build
}
package() {
cd "$srcdir"/"$_pkgname"
python setup.py install --skip-build -O1 --root="$pkgdir"
cd "$pkgdir"
install -m0644 -D "$srcdir"/$_pkgname/LICENSE usr/share/licenses/$pkgname/LICENSE
chmod -R a+r usr
}
|