Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/python-setuptools/PKGBUILD
blob: e0ca72d8453da2300fbaa89f5a63c46d58981a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# create directory before installing (otherwise installing fails)
eval "$(
  declare -f package | \
    sed '
      4 i mkdir build/scripts-3.10
    '
)"

# ignore errors in tests, but execute the tests
eval "$(
  declare -f check | \
    sed '
      s/\(python.*\)/\1 || true/
    '
)"

# repeat bootstrap hack from upstream, enable pip
eval "$(
  declare -f prepare | \
    sed '
      /rm/ i \
        python -m ensurepip
    '
)"