2019-03-30 21:58:45 +01:00
|
|
|
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
|
2017-08-13 03:24:00 +02:00
|
|
|
|
2019-03-30 21:58:45 +01:00
|
|
|
|
|
|
|
class PyLevelDBRecipe(CppCompiledComponentsPythonRecipe):
|
2017-08-13 03:24:00 +02:00
|
|
|
version = '0.193'
|
|
|
|
url = 'https://pypi.python.org/packages/source/l/leveldb/leveldb-{version}.tar.gz'
|
2019-03-30 21:58:45 +01:00
|
|
|
depends = ['snappy', 'leveldb', ('hostpython2', 'hostpython3'), 'setuptools']
|
2017-08-13 03:24:00 +02:00
|
|
|
patches = ['bindings-only.patch']
|
2019-03-30 21:58:45 +01:00
|
|
|
call_hostpython_via_targetpython = False # Due to setuptools
|
2017-08-13 03:24:00 +02:00
|
|
|
site_packages_name = 'leveldb'
|
|
|
|
|
|
|
|
|
|
|
|
recipe = PyLevelDBRecipe()
|