blob: eba890bfb2db9746bfa8d70ac3e967957d1c08c8 (
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
34
35
36
|
# 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/
'
)"
unset checkdepends
unset check
makedepends=(${makedepends[@]//python-setuptools/})
makedepends=(${makedepends[@]//python2-setuptools/})
depends=(${depends[@]//python-pyparsing/})
depends=(${depends[@]//python2-pyparsing/})
makedepends+=(python python2)
# bootstrapping without python2 broken stuff
source+=('setuptools-57.4.0-no-2to3.patch')
sha512sums+=('cb9a654825dfea7f61b394d4d7e06202569efc7f8efac5527c3653c111b349ebe182b50332d41760e1585685923b7a17d8bb3e4ada48d33aebc4c2e379e2342c')
eval "$(
declare -f prepare | \
sed '
/cd/ a \
patch -Np1 -i "${srcdir}"/setuptools-57.4.0-no-2to3.patch
'
)"
|