Commit graph

220 commits

Author SHA1 Message Date
Andre Miras
c06c51f149 Uses new cd context manager more
Also adds logging as we change directories.
2020-05-03 11:57:58 +02:00
Andre Miras
d180ee0807 Fixes building in venv
Borrowed from p4a:
https://github.com/kivy/python-for-android/pull/2159
Also refs upstream issue:
https://bugs.python.org/issue40261
Note that the fix used upstream cannot really be used directly here
because the actual system Python is impacted.
Adds venv build to CI to check for regressions.
2020-05-01 19:56:15 +02:00
Richard Larkin
8416d46fd4
Fix flake8 CI check on toolchain, remaining recipes (#456)
* 🔥 Fix flake8 checks for host_setuptools3

* 🔥 Fix flake8 checks for kivy recipe

*  Fix flake8 for toolchain.py

* 💡 Set python3 as the default python

* Add .tox and ven to .gitignore

* Update toolchain.py

Co-Authored-By: Andre Miras <AndreMiras@users.noreply.github.com>

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-27 07:29:11 +02:00
Mirko
9bb9efe0f7
Update to python 3.8.2 (#443)
* bump python version to 3.8.2

* Revert to cython 0.28.1
2020-04-25 20:12:59 +02:00
Richard Larkin
64bd692632
Flake8 CI fixes (#451)
* Pep8 fixes

* tox Pep8 compliance

* Excluded external tools folder from flake 8 tests

* Added Flake 8 exclusions

* Pep8 fixes

* Pep8 fixes

* Corrected type

* Pep8 fixes

* Pep 8 compliance

* Pep8 fixes

* Pep8  fixes

* Pep8 fixes

* Pep8 fixes

* Pep 8 fixes

* Pep 8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8

* Pep8

* Pep 8

* Pep 8

* Pep8 fixes

* Pep8

* Pep8

* Pep8

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Pep8 fixes

* Revert chagnes

* Revert changes to kivy/__init.py

* Revert changes

* REvert changes

* Revert changes

* Revert changes to toolchain

* Add files exclusions to tox.ini

* Added exclusions for alias recipes

* Remove dead code

* Added py extension to recipes

* Removed recipe build skip

* Improves recipe matching

Previous expression was matching all the following three lines of a `git diff --name-only` output.
```
recipes/hostlibffi/__init__.py
recipes/hostpython.py
recipes/hostpython2/__init__.py
```
This was resulting to a bug when later splitting with `recipe = file_path.split('/')[1]` the `recipes/hostpython.py` string would return including the `\n` new line char, see:
 ```
>>> 'recipes/hostpython.py\n'.split('/')[1]
'hostpython.py\n'
>>> 'recipes/hostlibffi/__init__.py\n'.split('/')[1]
'hostlibffi'
>>> 
```

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-25 18:28:16 +02:00
Mirko Galimberti
b47cddddad Fixes openssl compilation + bumps version 2020-04-11 19:21:28 +02:00
Richard Larkin
a583d5db07
Add NativeImagePicker class for use from the player IOS FileChooser class (#428)
Co-authored-by: richard <richard@dotmodus>
2020-03-10 21:24:31 +02:00
Mirko
558f987d9d Moved some utils to ios_utils, webview accepts x,y coords, improved get_scale and get_dpi (#415) 2020-01-12 12:21:16 +01:00
Mirko
2e8e9a1709 Add IOS_IS_WINDOWED env switch + update SDL2 (#414)
* Add IOS_IS_WINDOWED env switch + update SDL2

* updated kivy hash
2020-01-12 12:20:06 +01:00
Mirko
921f6b209d Fixes missing sqlite3 module in python3 (#398)
Cleanup
2019-11-24 23:49:08 +01:00
Mirko
eacd88bf3f Added the ability to query the safe area (#404) 2019-11-24 23:47:35 +01:00
Mirko
493e9c63af Update ffmpeg and ffpyplayer recipes (#403) 2019-11-24 22:34:18 +01:00
Mathieu Virbel
dc695b1392 kivy: pin kivy version to have FBO fixes 2019-09-29 11:58:27 +02:00
Mathieu Virbel
e58fef85c3 update numpy to 1.16.4
Fixes #327
2019-09-28 18:06:36 +02:00
Mathieu Virbel
49b16c6f0d toolchain: have a better installation method
Instead of installing on a temporary directory, and copying only what
we want, this install directly in the dist,
and the recipe can clean itself in
reduce_python_package().

This prevent the fix for kivy recipes using bdist_egg and easy_install.
2019-09-28 18:04:36 +02:00
Richard Larkin
1d01005ba5 Python3 pillow recipe (#394)
* Pillow 6.1.0 building for python 3

* Added tiff disabling

* Removed prefix patch

* Removed darwin patch

* Removed standard locations patch

* Removed patch file altogether

* Removed easy_install, renamed to libpillow.a

* Added back destdir prefix

* Switched to python3 directory

* Removed commented code

* Remove pkgresources dependency

* Adde pillow 6.1.0 to docs
2019-09-27 23:59:42 +02:00
Mirko
cc62c3c56e Fixes missing WKWebView (#392) 2019-09-25 17:29:43 +02:00
Mathieu Virbel
0523593c0d kivy: remove unused files on iOS (examples, tools, tests) 2019-09-22 23:25:18 +02:00
Mathieu Virbel
3d76c34ec8 fixes missing CoreMedia and CoreVideo when using Kivy 2019-09-22 19:56:58 +02:00
Mathieu Virbel
5a175f44a0
Fixes ITMS-90809 about UIWebView deprecation (#390) 2019-09-22 19:52:42 +02:00
Mirko
2ec7cb5ce0 Updated sdl2, sdl2_image, sdl2_mixer, sdl2_ttf, kivy (#370)
* Updated sdl2, sdl2_image, sdl2_mixer, sdl2_ttf, kivy

* bump kivy version to 1.11.0
2019-09-22 16:48:49 +02:00
mahomahomaho
1fc58cb392 Cymunk py3 (#354)
* - recipe which make cymunk build (but doesn't work)

* - cymunk not only builds, but also can be imported

* - python3=>python in cymunk recipe

* - and even single ['python']
2019-09-16 19:54:49 +02:00
GoBig87
c4852a4b97 Adding Zbar Light and Libzbar recipes (#359)
* Adding receipes for zbar camera

Adding recipes for libzbar and zbarlight for ios bar code scanning.

* removed shprint

Removed unnecessary shprint
2019-09-16 19:53:56 +02:00
Benoît HERVIER
ee7abed8dc Fix python recipe folder with the right python folder (python2 or python3) #363 (#364) 2019-09-16 19:53:14 +02:00
Mathieu Virbel
5e4b561d55 add curly and libcurl recipes 2019-09-04 19:46:27 +02:00
Hackalog
7dd350c75b Use python logging infrastructure (#357) 2019-02-07 10:00:22 +01:00
Mathieu Virbel
49c607a80d
Merge pull request #338 from learnleapfly/deprecate_armv7
Deprecate armv7
2019-01-14 19:41:24 +01:00
Mathieu Virbel
93edfa2a6a
Merge pull request #337 from learnleapfly/versions_as_strings
Versions as strings
2019-01-13 23:27:59 +01:00
Mathieu Virbel
0db47936f2
Merge pull request #336 from learnleapfly/fix_status_list
Fix status list
2019-01-13 23:27:27 +01:00
Kjell Wooding
b35556b379 increase minapi, remove armv7 (32-bit arm),
link to arm64 by default and use new-style linker flags
2019-01-12 21:12:30 -05:00
Kjell Wooding
545d24e010 remove __pycache__ from the recipe list, and fix the hostlibffi recipe so it displays correctly in ./toolchain status 2019-01-12 17:36:26 -05:00
Kjell Wooding
7691b541a4 now that version is a string, fix major computation 2019-01-12 15:38:41 -05:00
Kjell Wooding
4405ef04d3 whitespace fixes 2019-01-11 12:22:49 -05:00
Mathieu Virbel
7ee0d6ad64 fix numpy http-https link. Closes #323 2019-01-10 20:45:42 +01:00
Kjell Wooding
5cca6c29a2 missed one 2019-01-04 18:15:08 -05:00
Kjell Wooding
526177bf8d change names in python recipe too 2019-01-04 15:55:57 -05:00
Kjell Wooding
8af6bc59e0 Remove hardcoded version numbers on python and pip
restore "hostpython2" filename
2019-01-04 14:22:13 -05:00
Mathieu Virbel
cfc9dc1c29 libffi/hostlibffi: force the binary to be python2.7, as by default osx don't have an alias for python2. This will allow the build system to use system python2.7 if brew python2 is not installed.
Closes #309
2018-11-16 10:42:12 +01:00
Mathieu Virbel
c9ca2de912 fixes plyer and pkgresources recipes that was depending on old platform 2018-11-10 10:14:39 +01:00
Mathieu Virbel
654f71f481 Merge branch 'master' of github.com:kivy/kivy-ios 2018-11-10 10:09:45 +01:00
Mathieu Virbel
4258cfd64b remove moodstocks, service is gone 2018-11-10 10:09:27 +01:00
Mathieu Virbel
fa5229f2a4 make python/hostpython version in the first list of recipes mandatory, otherwise we dont know which python version it will uses 2018-11-10 01:40:55 +01:00
Mathieu Virbel
7f139e382e remove pymoodstocks recipes, the service got shutdown 2018-11-09 20:39:18 +01:00
Mathieu Virbel
f316b8422c Merge branch 'python3' of github.com:kivy/kivy-ios into python3 2018-11-09 19:52:58 +01:00
Mathieu Virbel
0e52dab468 fix recipes order with hostpython/python alias that didnt work in the first run 2018-11-09 19:14:05 +01:00
Mathieu Virbel
9ad9abf9b6 fix cookiecutter project for python3 2018-11-09 18:48:08 +01:00
Mathieu Virbel
7c8a2c6c4b rework toolchain for python 3, new possibility to have a specific name for the include directory (like the recipe libffi install in ffi directory, not libffi), and new pyobjus recipe (works with new-ios-toolchain branch). 2018-11-09 17:54:56 +01:00
Mathieu Virbel
811cbd48a7 add alias for hostpython/python, that point to either 2 or 3 version depending of the previous compiled state.
This allows the recipe to point on an versionless python.
2018-11-02 11:44:25 +01:00
Mathieu Virbel
9762ee754c move hostpython/python to hostpython2/python2 2018-11-02 11:42:54 +01:00
Mathieu Virbel
6c043cf9f3 python3: recipe with cross compilation patch + example of main.m that works 2018-11-01 21:53:18 +01:00