Skip to content

Commit 7c125ad

Browse files
authored
Merge pull request #1037 from mixmastamyk/recipe-ruamel.yaml
Support ruamel.yaml, improved yaml lib.
2 parents 3c3d5c4 + 95cd2dd commit 7c125ad

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from pythonforandroid.recipe import PythonRecipe
2+
3+
4+
class RuamelYamlRecipe(PythonRecipe):
5+
version = '0.15.77'
6+
url = 'https://pypi.python.org/packages/source/r/ruamel.yaml/ruamel.yaml-{version}.tar.gz'
7+
depends = [('python2', 'python3crystax'), 'setuptools']
8+
site_packages_name = 'ruamel'
9+
call_hostpython_via_targetpython = False
10+
patches = ['disable-pip-req.patch']
11+
12+
13+
recipe = RuamelYamlRecipe()
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- setup.py 2018-11-11 18:27:31.936424140 +0100
2+
+++ b/setup.py 2018-11-11 18:28:19.873507071 +0100
3+
@@ -396,7 +396,7 @@
4+
sys.exit(0)
5+
if not os.environ.get('RUAMEL_NO_PIP_INSTALL_CHECK', False):
6+
print('error: you have to install with "pip install ."')
7+
- sys.exit(1)
8+
+ # sys.exit(1)
9+
# If you only support an extension module on Linux, Windows thinks it
10+
# is pure. That way you would get pure python .whl files that take
11+
# precedence for downloading on Linux over source with compilable C code

0 commit comments

Comments
 (0)