Skip to content

Add lxml recipe and other recipes from ZachGoldberg fork #1166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 23 commits into from

Conversation

eacpereira
Copy link

@eacpereira eacpereira commented Nov 13, 2017

This is a merge-compatible fork of https://github.com/ZachGoldberg/python-for-android meant to implement an lxml recipes and other recipes.

Please look it over and point out any changes that need to be made so it can be merged. I'd like to use lxml!

@eacpereira eacpereira mentioned this pull request Nov 13, 2017
@inclement
Copy link
Member

Looks good, I'll try to test it. Have you tested it yourself?

@inclement inclement added this to the 0.7 milestone Nov 18, 2017

def get_recipe_env(self, arch):
env = super(LevenshteinRecipe, self).get_recipe_env(arch)
libxslt_recipe = Recipe.get_recipe('libxslt', self.ctx)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My testing application compiles until these lines get referenced, which I believe may be because the class Recipe is called instead of the instance. But something seems to have accidentally filled my VM up to the brim so I need to clean it out before I can continue testing, so I haven't been able to test the change into an instance.

@goffi-contrib
Copy link
Contributor

Hello @Scefing and @inclement , any update on this PR? I need lxml in new tool chain, and would be happy to see this PR move forward. I've tried it it's not working at the moment, there are at least the from pythonforandroid.toolchain import CompiledComponentsPythonRecipe to replace by from pythonforandroid.recipe import CompiledComponentsPythonRecipe. Then the CC env doesn't seems correct, but I'm not familiar enough yet with the build environment to fix it right now.
Also it seems that this recipe it only for python 2.x, isn't it?

Thanks in advance

@inclement
Copy link
Member

@goffi-contrib No update, it isn't something I can prioritise compared to other important changes that are waiting, but testing is welcome in general.

About the python 2 part, that may just be a matter of adding python3crystax as a build option, i.e. depends = [(python2, python3crystax), ...].

I haven't thought about the CC options, have you tried the current ones?

goffi-contrib added a commit to goffi-contrib/python-for-android that referenced this pull request Oct 23, 2018
This patch fixes the issues from PR
kivy#1166 and has been
tested working
goffi-contrib added a commit to goffi-contrib/python-for-android that referenced this pull request Oct 23, 2018
This patch fixes the recipes from PR
kivy#1166.
@goffi-contrib goffi-contrib mentioned this pull request Oct 23, 2018
@goffi-contrib
Copy link
Contributor

Hello @Scefing and @inclement I've made a PR with fixes to this one at #1428, this has been tested working. I was not sure how to add the modification, but if you want to stay on this PR, the fixing patch can be found at 4fd0a6d .

Thanks a lot for your work!

goffi-contrib pushed a commit to goffi-contrib/python-for-android that referenced this pull request Oct 25, 2018
This is a squash of many commits comming from kivy#1166
work by Zachary Goldberg (https://github.com/ZachGoldberg) and Elena
Pereira (https://github.com/Scefing)
goffi-contrib added a commit to goffi-contrib/python-for-android that referenced this pull request Oct 25, 2018
This patch fixes the recipes from PR
kivy#1166.
goffi-contrib added a commit to goffi-contrib/python-for-android that referenced this pull request Oct 25, 2018
This patch fixes the recipes from PR
kivy#1166.
goffi-contrib added a commit to goffi-contrib/python-for-android that referenced this pull request Oct 26, 2018
This patch fixes the recipes from PR
kivy#1166.

levenshtein recipe has been removed has it's not used anywhere and its
causing compilation troubles.
goffi-contrib pushed a commit to goffi-contrib/python-for-android that referenced this pull request Nov 4, 2018
This is a squash of many commits comming from kivy#1166
work by Zachary Goldberg (https://github.com/ZachGoldberg) and Elena
Pereira (https://github.com/Scefing)
goffi-contrib added a commit to goffi-contrib/python-for-android that referenced this pull request Nov 4, 2018
This patch fixes the recipes from PR
kivy#1166.

levenshtein recipe has been removed has it's not used anywhere and its
causing compilation troubles.
@goffi-contrib
Copy link
Contributor

Hi @AndreMiras I think this PR can be closed now.

@AndreMiras
Copy link
Member

Yep true, fixed in #1428

@AndreMiras AndreMiras closed this Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants