blob: 16c29bf70ade71b63d6adba5ec39cb585b0f705c (
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
43
44
|
# Default python distutils configuration
variables:
# When building for python2 distutils, simply
# override this in the element declaration
python: python3
python-build: |
%{python} setup.py build
python-install: |
%{python} setup.py install \
--prefix "%{prefix}" \
--root "%{install-root}"
config:
# Commands for configuring the software
#
configure-commands: []
# Commands for building the software
#
build-commands:
- |
%{python-build}
# Commands for installing the software into a
# destination folder
#
install-commands:
- |
%{python-install}
# Commands for stripping debugging information out of
# installed binaries
#
strip-commands:
- |
%{strip-binaries}
|