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

14 lines
489 B
Python
Raw Permalink Normal View History

2022-12-02 21:15:34 +01:00
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
class PyLevelDBRecipe(CppCompiledComponentsPythonRecipe):
version = '0.193'
url = 'https://pypi.python.org/packages/source/l/leveldb/leveldb-{version}.tar.gz'
depends = ['snappy', 'leveldb', ('hostpython2', 'hostpython3'), 'setuptools']
patches = ['bindings-only.patch']
call_hostpython_via_targetpython = False # Due to setuptools
site_packages_name = 'leveldb'
recipe = PyLevelDBRecipe()