xbps-src: introduce python_version
This commit is contained in:
parent
a28fd5497d
commit
29c37543cf
4 changed files with 13 additions and 1 deletions
|
@ -1107,6 +1107,11 @@ By default it's set to `2.7` for `python 2.x` packages.
|
|||
|
||||
> NOTE: you need to define it *only* for non-Python modules.
|
||||
|
||||
- `python_version`: this variable expects the supported Python major version.
|
||||
By default it's set to `2`. This variable is needed for multi-language
|
||||
applications (e.g., the application is written in C while the command is
|
||||
written in Python) or just single Python file ones that live in `/usr/bin`.
|
||||
|
||||
Also, a set of useful variables are defined to use in the templates:
|
||||
|
||||
| Variable | Value |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue