summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLinRs2019-04-10 17:42:12 +0800
committerLinRs2019-04-10 17:42:12 +0800
commit0668af407d760e194fb65ccad7cfb1ad8402d8c5 (patch)
tree38cb2d527dbd77c7293aed1ccae630f167b62eca /PKGBUILD
parente1e08aefdcda1ee852d86d421627355ce2957331 (diff)
downloadaur-python-pyfr-git.tar.gz
upgpkg: python-pyfr-git 0.1.0.r762.geb0f5d5-1
- add git as makedepends
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 13 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5f28fd4b619..905a2e89689 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,16 @@
-# Maintainer: Lin Ruoshui <lin.ruohshoei@gmail.com>
+# Maintainer: LinRs <LinRs at users.noreply.github.com
pkgname=('python-pyfr-git')
_pkgname=('PyFR')
-pkgver=0.1.0.r751.g9d4d5e9
+pkgver=0.1.0.r762.geb0f5d5
pkgrel=1
pkgdesc="Python based framework for solving advection-diffusion type problems on streaming architectures (git version)"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://www.pyfr.org/"
license=('BSD')
conflicts=('python-pyfr')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'git')
source=("${_pkgname}::git+https://github.com/vincentlab/${_pkgname}.git#branch=develop")
-#mpi4py
- # 'python-h5py>=2.6'
depends=( 'python-gimmik>=2.0'
'python-h5py-openmpi>=2.6'
'python-numpy>=1.8'
@@ -31,18 +29,17 @@ optdepends=('metis>=5.0: needed for running PyFR in parallel'
'cgns>=3.3: for importing CGNS meshes' )
sha256sums=('SKIP')
+
pkgver() {
- cd "$_pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
- }
+ cd "$_pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
build() {
- msg "Building pyfr"
- cd "$srcdir"/PyFR
- python setup.py build
+ cd "$srcdir"/PyFR
+ python setup.py build
}
-
package() {
- cd "$srcdir"/PyFR
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ cd "$srcdir"/PyFR
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}