summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaël Donval2016-09-03 18:32:01 +0200
committerGaël Donval2016-09-03 18:32:01 +0200
commitb859bd76622e6a456cd63950e74d8e77aaf911e1 (patch)
treefa922ab73de3a8580c107e7a1be6275d49b4696f
parentc7402eabdc2bc21cdf45932648dc6333be857c79 (diff)
downloadaur-b859bd76622e6a456cd63950e74d8e77aaf911e1.tar.gz
Add patch to remove git dependency.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--set_version_without_git.patch7
3 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f7fb281cf2b5..b95efff083f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-dynd
pkgdesc = Bindings for the C++ dynd array library (numpy array replacement).
pkgver = 0.7.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/libdynd/dynd-python
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 3a943b47f4e5..52ddc21eb12b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase='python-dynd'
pkgname='python-dynd'
pkgver=0.7.2
-pkgrel=1
+pkgrel=2
pkgdesc='Bindings for the C++ dynd array library (numpy array replacement).'
groups=('blaze-ecosystem')
arch=('i686' 'x86_64')
diff --git a/set_version_without_git.patch b/set_version_without_git.patch
new file mode 100644
index 000000000000..4ffeb1fb56a0
--- /dev/null
+++ b/set_version_without_git.patch
@@ -0,0 +1,7 @@
+154,155c154,156
+< ver = check_output(['git', 'describe', '--dirty',
+< '--always', '--match', 'v*']).decode('ascii').strip('\n')
+---
+> #ver = check_output(['git', 'describe', '--dirty',
+> # '--always', '--match', 'v*']).decode('ascii').strip('\n')
+> ver = 'v0.4.0'