Skip to content

Commit 218b621

Browse files
committed
support ruamel.yaml
1 parent e8986f7 commit 218b621

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from pythonforandroid.toolchain import PythonRecipe
2+
3+
4+
class RuamelYamlRecipe(PythonRecipe):
5+
version = '0.14.5'
6+
url = 'https://pypi.python.org/packages/5c/13/c120a06b3add0f9763ca9190e5f6edb9faf9d34b158dd3cff7cc9097be03/ruamel.yaml-{version}.tar.gz'
7+
8+
depends = [ ('python2', 'python3crystax') ]
9+
site_packages_name = 'ruamel'
10+
call_hostpython_via_targetpython = False
11+
12+
patches = ['disable-pip-req.patch']
13+
14+
recipe = RuamelYamlRecipe()
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- setup.py 2017-03-23 05:28:37.000000000 -0700
2+
+++ b/setup.py 2017-04-12 15:03:28.218529255 -0700
3+
@@ -316,7 +316,7 @@
4+
os.system('pip install .')
5+
sys.exit(0)
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

0 commit comments

Comments
 (0)