Skip to content

Commit e7c1117

Browse files
strubbi77inclement
authored andcommitted
Origin (kivy#1681)
* update to add dependency on python3 to opencv recipe numpy/opencv fails with latest p4a at runtime (import) kivy#1678 * Further recipe changes for python3 kivy#1514 * Update __init__.py Removed unnecessary hostpython* * Update __init__.py Removed unnecessary hostpython* * Update __init__.py Removed unnecessary python* * Update __init__.py Removed unnecessary python* * Update __init__.py Removed conflicts because it was wrong * Update __init__.py
1 parent 059da7b commit e7c1117

File tree

7 files changed

+9
-5
lines changed

7 files changed

+9
-5
lines changed

pythonforandroid/recipes/cherrypy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class CherryPyRecipe(PythonRecipe):
55
version = '5.1.0'
66
url = 'https://bitbucket.org/cherrypy/cherrypy/get/{version}.tar.gz'
7-
depends = ['hostpython2', 'setuptools']
7+
depends = ['setuptools']
88
site_packages_name = 'cherrypy'
99
call_hostpython_via_targetpython = False
1010

pythonforandroid/recipes/feedparser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class FeedparserPyRecipe(PythonRecipe):
55
version = '5.2.1'
66
url = 'https://github.com/kurtmckee/feedparser/archive/{version}.tar.gz'
7-
depends = [('hostpython2', 'python3crystax'), 'setuptools']
7+
depends = ['setuptools']
88
site_packages_name = 'feedparser'
99
call_hostpython_via_targetpython = False
1010

pythonforandroid/recipes/kiwisolver/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class KiwiSolverRecipe(CppCompiledComponentsPythonRecipe):
55
site_packages_name = 'kiwisolver'
66
version = '0.1.3'
77
url = 'https://github.com/nucleic/kiwi/archive/master.zip'
8-
depends = ['python2', 'setuptools']
8+
depends = ['setuptools']
99

1010

1111
recipe = KiwiSolverRecipe()

pythonforandroid/recipes/libtribler/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class LibTriblerRecipe(PythonRecipe):
1717
'netifaces', 'openssl', 'pil', 'pycrypto', 'pyleveldb', 'twisted',
1818
]
1919

20+
conflicts = ['python3']
21+
2022
python_depends = ['chardet', 'cherrypy', 'configobj', 'decorator', 'feedparser',
2123
'libnacl', 'pyasn1', 'requests', 'six',
2224
]

pythonforandroid/recipes/openssl/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ class OpenSSLRecipe(Recipe):
5959

6060
@property
6161
def use_legacy(self):
62+
if not self.ctx.recipe_build_order:
63+
return False
6264
return any([i for i in ('python2legacy', 'python3crystax') if
6365
i in self.ctx.recipe_build_order])
6466

pythonforandroid/recipes/ruamel.yaml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class RuamelYamlRecipe(PythonRecipe):
55
version = '0.15.77'
66
url = 'https://pypi.python.org/packages/source/r/ruamel.yaml/ruamel.yaml-{version}.tar.gz'
7-
depends = [('python2', 'python3crystax'), 'setuptools']
7+
depends = ['setuptools']
88
site_packages_name = 'ruamel'
99
call_hostpython_via_targetpython = False
1010
patches = ['disable-pip-req.patch']

pythonforandroid/recipes/zope/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ZopeRecipe(PythonRecipe):
88
version = '4.1.3'
99
url = 'http://pypi.python.org/packages/source/z/zope.interface/zope.interface-{version}.tar.gz'
1010

11-
depends = ['python2']
11+
depends = []
1212

1313
def get_recipe_env(self, arch):
1414
env = super(ZopeRecipe, self).get_recipe_env(arch)

0 commit comments

Comments
 (0)