summaryrefslogtreecommitdiff
path: root/community/python-redis/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-15 15:14:55 +0200
committerErich Eckner <git@eckner.net>2017-09-15 15:14:55 +0200
commit2dc0d2dfa0bf84db5f22a22d72f49ee19dbb673f (patch)
treefb7499dff086523e2a6bc6292e1517b7b2fe5472 /community/python-redis/PKGBUILD
parentd3418846d57aafa5befadefd26db209f69c82c0d (diff)
downloadpackages-2dc0d2dfa0bf84db5f22a22d72f49ee19dbb673f.tar.xz
community/python-redis: relax constraint on precision during tests
Diffstat (limited to 'community/python-redis/PKGBUILD')
-rw-r--r--community/python-redis/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/python-redis/PKGBUILD b/community/python-redis/PKGBUILD
new file mode 100644
index 00000000..1720d25f
--- /dev/null
+++ b/community/python-redis/PKGBUILD
@@ -0,0 +1,12 @@
+# see https://github.com/andymccurdy/redis-py/issues/899
+
+source+=('precision.patch')
+sha512sums+=('ccefada444c145f78098a37880bf7b1c7a2f2e24e92efc62f084610064c4391e4e0792a3e380ca940b73b15d703d5d0f166a8f7d8d17b9d84772b3e870fb74d5')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /^{/ a \
+ patch -p0 -i precision.patch
+ '
+)"