diff --git a/pythonforandroid/recipes/ruamel.yaml/__init__.py b/pythonforandroid/recipes/ruamel.yaml/__init__.py new file mode 100644 index 0000000000..049a5f707f --- /dev/null +++ b/pythonforandroid/recipes/ruamel.yaml/__init__.py @@ -0,0 +1,13 @@ +from pythonforandroid.recipe import PythonRecipe + + +class RuamelYamlRecipe(PythonRecipe): + version = '0.15.77' + url = 'https://pypi.python.org/packages/source/r/ruamel.yaml/ruamel.yaml-{version}.tar.gz' + depends = [('python2', 'python3crystax'), 'setuptools'] + site_packages_name = 'ruamel' + call_hostpython_via_targetpython = False + patches = ['disable-pip-req.patch'] + + +recipe = RuamelYamlRecipe() diff --git a/pythonforandroid/recipes/ruamel.yaml/disable-pip-req.patch b/pythonforandroid/recipes/ruamel.yaml/disable-pip-req.patch new file mode 100644 index 0000000000..b033774c4c --- /dev/null +++ b/pythonforandroid/recipes/ruamel.yaml/disable-pip-req.patch @@ -0,0 +1,11 @@ +--- setup.py 2018-11-11 18:27:31.936424140 +0100 ++++ b/setup.py 2018-11-11 18:28:19.873507071 +0100 +@@ -396,7 +396,7 @@ + sys.exit(0) + if not os.environ.get('RUAMEL_NO_PIP_INSTALL_CHECK', False): + print('error: you have to install with "pip install ."') +- sys.exit(1) ++ # sys.exit(1) + # If you only support an extension module on Linux, Windows thinks it + # is pure. That way you would get pure python .whl files that take + # precedence for downloading on Linux over source with compilable C code