summaryrefslogtreecommitdiff
path: root/community/python-distro/PKGBUILD
blob: 416ab6ac26b1ae5add6f68ea5e95ab2a6907a0ee (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
25
26
27
28
29
30
31
32
33
# i486-specific
if [ "${CARCH}" = "i486" ]; then

  makedepends+=('python-pip-bootstrap' 'python2-pip-bootstrap')

  # disable sphinx for now, needs too many packages
  makedepends=(${makedepends[@]//python-sphinx/})  
  makedepends=(${makedepends[@]//python2-sphinx/})  

  eval "$(
    declare -f build | \
      sed '
        s/make man SPHINXBUILD=sphinx-build2//
        s/make man SPHINXBUILD=sphinx-build//
      '
  )"

  eval "$(
    declare -f package_python-distro | \
      sed '
        /install.*man.*ld.1/d
      '
  )"

  eval "$(
    declare -f package_python2-distro | \
      sed '
        /install.*man.*ld.1/d
      '
  )"

  unset check
fi