summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinRs2019-04-10 17:42:12 +0800
committerLinRs2019-04-10 17:42:12 +0800
commit0668af407d760e194fb65ccad7cfb1ad8402d8c5 (patch)
tree38cb2d527dbd77c7293aed1ccae630f167b62eca
parente1e08aefdcda1ee852d86d421627355ce2957331 (diff)
downloadaur-0668af407d760e194fb65ccad7cfb1ad8402d8c5.tar.gz
upgpkg: python-pyfr-git 0.1.0.r762.geb0f5d5-1
- add git as makedepends
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD29
2 files changed, 15 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06e3602d6a7..1175bed368a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,12 @@
-# Generated by mksrcinfo v8
-# Mon Jan 7 09:18:01 UTC 2019
pkgbase = python-pyfr-git
pkgdesc = Python based framework for solving advection-diffusion type problems on streaming architectures (git version)
- pkgver = 0.1.0.r751.g9d4d5e9
+ pkgver = 0.1.0.r762.geb0f5d5
pkgrel = 1
url = http://www.pyfr.org/
- arch = i686
arch = x86_64
license = BSD
makedepends = python-setuptools
+ makedepends = git
depends = python-gimmik>=2.0
depends = python-h5py-openmpi>=2.6
depends = python-numpy>=1.8
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
}