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.
20 lines
609 B
Python
20 lines
609 B
Python
import os
|
|
|
|
from pythonforandroid.recipes.openssl import OpenSSLRecipe
|
|
from pythonforandroid.util import load_source
|
|
|
|
util = load_source('util', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'util.py'))
|
|
|
|
|
|
assert OpenSSLRecipe._version == "1.1"
|
|
assert OpenSSLRecipe.depends == []
|
|
assert OpenSSLRecipe.python_depends == []
|
|
|
|
|
|
class OpenSSLRecipePinned(util.InheritedRecipeMixin, OpenSSLRecipe):
|
|
url_version = "1.1.1w"
|
|
sha512sum = "b4c625fe56a4e690b57b6a011a225ad0cb3af54bd8fb67af77b5eceac55cc7191291d96a660c5b568a08a2fbf62b4612818e7cca1bb95b2b6b4fc649b0552b6d"
|
|
|
|
|
|
recipe = OpenSSLRecipePinned()
|