Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/python-faker/PKGBUILD
blob: 87168ec5ba5a30e13e7cd1acea01d1ef12177827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# https://github.com/joke2k/faker/issues/408
# time-tests requiring 64 bit fail on i686 - obviously (year 2100 is not representable with 32 bits)

source+=('remove-century-tests.patch')
sha512sums+=('69d6c7685f49d28bc5a4ea952d6f0f6ab03e7c9956e338fc7e26d6a714de569641b82e95bb30de15b4598b6fbf3fb8e0a497fde2e28bd988fafbeb030bb24f91')

eval "$(
  declare -f prepare | \
    sed '
      /^{\s*$/a \
    cd "$srcdir"/faker-$pkgver\
    patch -p1 -i "$srcdir/remove-century-tests.patch"\
    cd "$srcdir"
    '
)"