lbry-android-sdk/p4a/pythonforandroid/recipes/pyleveldb/__init__.py

14 lines
489 B
Python
Raw Normal View History

from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
2017-08-13 03:24:00 +02: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'
depends = ['snappy', 'leveldb', ('hostpython2', 'hostpython3'), 'setuptools']
2017-08-13 03:24:00 +02:00
patches = ['bindings-only.patch']
call_hostpython_via_targetpython = False # Due to setuptools
2017-08-13 03:24:00 +02:00
site_packages_name = 'leveldb'
recipe = PyLevelDBRecipe()