note: some files have two versions in them, e.g.:
```
assert CffiRecipe._version == "1.15.1"
class CffiRecipePinned(util.InheritedRecipeMixin, CffiRecipe):
version = "1.17.1"
```
The assert is left there as I think it might be useful to get a failure if we rebase p4a
and the upstream recipe version changes. There might be substantial changes in the upstream
recipe that we need to adapt to. In the happy case, if we rebase p4a, we just have to manually
update these asserts to the new versions at that time.
16 lines
545 B
Python
16 lines
545 B
Python
from pythonforandroid.recipes.tomli import TomliRecipe
|
|
|
|
|
|
assert TomliRecipe._version == "2.0.1"
|
|
assert TomliRecipe.depends == ["setuptools", "python3"]
|
|
assert TomliRecipe.python_depends == []
|
|
|
|
|
|
class TomliRecipePinned(TomliRecipe):
|
|
#version = "2.0.1"
|
|
# note: can't be easily updated as base recipe has version number hardcoded in custom "patch"-like setup.py
|
|
sha512sum = "fd410039e255e2b3359e999d69a5a2d38b9b89b77e8557f734f2621dfbd5e1207e13aecc11589197ec22594c022f07f41b4cfe486a3a719281a595c95fd19ecf"
|
|
|
|
|
|
recipe = TomliRecipePinned()
|