summaryrefslogtreecommitdiff
path: root/community/python-faker/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-30 14:39:25 +0200
committerErich Eckner <git@eckner.net>2017-08-30 14:39:25 +0200
commit444dbe568dd39ef50ad3905e29abe494c11f13b4 (patch)
treec791f690595323a5e23c7bc13d23691d55ab9032 /community/python-faker/PKGBUILD
parent25455e659a2766e867d044d83dc4eb7319a73997 (diff)
downloadpackages-444dbe568dd39ef50ad3905e29abe494c11f13b4.tar.xz
community/python-faker: disable century-tests (which require > 32 bit)
Diffstat (limited to 'community/python-faker/PKGBUILD')
-rw-r--r--community/python-faker/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/python-faker/PKGBUILD b/community/python-faker/PKGBUILD
new file mode 100644
index 00000000..88b903c8
--- /dev/null
+++ b/community/python-faker/PKGBUILD
@@ -0,0 +1,14 @@
+# time-tests requiring 64 bit fail on i686 - obviously
+
+source+=('remove-century-tests.patch')
+sha512sums+=('0db0780b0fbb89b4bff35fce4bc18e1f1ecafb46d55f00b4391f8f2a8f66e0244b3b988d67d922c3c206917404ee5ca6beb3f0cbd2b20c167179a2681aaf0782')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /^{\s*$/a \
+ cd "$srcdir"/faker-$pkgver\
+ patch -p1 -i "$srcdir/remove-century-tests.patch"\
+ cd "$srcdir"
+ '
+)"