blob: 4e798a3682ad8cbd39e6e50608d30d92b195870b (
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
37
38
39
40
41
42
|
kind: autotools
depends:
- filename: gnu-toolchain.bst
type: build
- filename: core/openssl-new.bst
type: build
- filename: core/bzip2.bst
type: build
- filename: core/libexpat.bst
type: build
- filename: core/libffi.bst
type: build
- filename: core/sqlite3.bst
type: build
- filename: core/ncurses.bst
type: build
- filename: core/readline.bst
type: build
sources:
- kind: git
url: upstream:cpython
track: v3.5.2
ref: 609bc370055e03b3c74c4321a5990929c29a226d
config:
configure-commands:
- |
./configure --prefix="%{prefix}" \
--sysconfdir=/etc \
--enable-shared \
--with-system-expat \
--with-system-ffi
install-commands:
(>):
- test -x "%{install-root}"/"%{prefix}"/bin/python || ln -s python3.5 "%{install-root}"/"%{prefix}"/bin/python
- test -x "%{install-root}"/"%{prefix}"/bin/python3 || ln -s python3.5 "%{install-root}"/"%{prefix}"/bin/python3
- test -x "%{install-root}"/"%{prefix}"/bin/python-config || ln -s python3.5-config
"%{install-root}"/"%{prefix}"/bin/python-config
- test -x "%{install-root}"/"%{prefix}"/bin/python3-config || ln -s python3.5-config
"%{install-root}"/"%{prefix}"/bin/python3-config
|