Skip to content

Commit 66a292c

Browse files
authored
Merge pull request #2389 from viblo/pymunk-6.0.0
Update Pymunk recipe to 6.0.0
2 parents f2fff78 + 358fcbf commit 66a292c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

pythonforandroid/recipes/pymunk/__init__.py

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
from os.path import join
21
from pythonforandroid.recipe import CompiledComponentsPythonRecipe
32

43

54
class PymunkRecipe(CompiledComponentsPythonRecipe):
65
name = "pymunk"
7-
version = '5.5.0'
8-
url = 'https://pypi.python.org/packages/source/p/pymunk/pymunk-{version}.zip'
9-
depends = ['cffi', 'setuptools']
6+
version = "6.0.0"
7+
url = "https://pypi.python.org/packages/source/p/pymunk/pymunk-{version}.zip"
8+
depends = ["cffi", "setuptools"]
109
call_hostpython_via_targetpython = False
1110

1211
def get_recipe_env(self, arch):
1312
env = super().get_recipe_env(arch)
14-
env['PYTHON_ROOT'] = self.ctx.get_python_install_dir()
15-
env['LDFLAGS'] += " -shared -llog"
16-
env['LDFLAGS'] += ' -L{}'.format(join(self.ctx.ndk_platform, 'usr', 'lib'))
17-
env['LIBS'] = env.get('LIBS', '') + ' -landroid'
13+
env["LDFLAGS"] += " -llog"
1814
return env
1915

2016

0 commit comments

Comments
 (0)