Commit graph

963 commits

Author SHA1 Message Date
Kostiantyn Syrykh
e587305308 Update iOS codesign options 2021-03-17 21:46:55 +02:00
Kostiantyn Syrykh
1a3fb61b37
Allow setting custom p4a URL instead of fork (#1305)
* Allow setting custom p4a URL instead of fork

* Apply suggestions from code review

Co-authored-by: Pol Canelles <canellestudi@gmail.com>

* Add tests for p4a clone URL

Co-authored-by: Pol Canelles <canellestudi@gmail.com>
2021-03-14 10:47:27 +01:00
Ankit Dobhal
d2944ad54c
Fixed code quality issues using deepsource (#1300)
- Added .deepsource.toml to fix bug risks

- Remove unnecessary use of comprehension

- Use `os.environ.copy()` to copy the environment variables

- Remove unnecessary return statement

- Use `sys.exit()` calls
2021-03-04 15:34:12 +01:00
Gabriel Pettier
b24b77b36e
Allow displaying only the logcat of our app. (#1272)
Todo
[ ] test with a service
[ ] consider making default
[ ] test for robustness

To discuss
[ ] should it exit automatically like it does currently? what if user reruns manually?
[ ] consider the cost of additional complexity vs usage simplification for users
2021-02-21 16:40:00 +01:00
Andre Miras
7ebc048c97
♻️ Minor check_requirements() refactoring (#1274) 2021-02-19 01:04:38 +01:00
Andre Miras
54b2975f57
Merge pull request #1238 from germn/add_adb_args_option
Add android.adb_args option
2021-01-07 00:30:20 +01:00
Alexander Taylor
eecb248101
Merge pull request #1265 from misl6/fix/change-manifestPlaceholders-default
Change android.manifest_placeholders default to None
2020-12-17 12:40:48 +00:00
Mirko Galimberti
52facfa280 Change android.manifest_placeholders default to None 2020-12-17 13:18:44 +01:00
Mirko Galimberti
b60055cdc0 Add manifestPlaceholders feature 2020-12-14 20:31:47 +01:00
Mirko
3e008a4609
Merge pull request #1257 from misl6/fix/use-develop-for-tests
Use develop branch for automated tests
2020-12-11 19:25:06 +01:00
Mirko Galimberti
5f74603349 Use develop branch for automated tests 2020-12-08 21:31:46 +01:00
germn
84d9390805 Add android.adb_args option 2020-10-15 16:13:47 +03:00
Artem Bulgakov
513ad560b7 Add link to GitHub action 2020-10-03 18:20:20 +02:00
Mathieu Virbel
5d75e75376
sdl2_gradle is now in sdl2, fix invalid documentation 2020-10-02 10:48:44 +02:00
Felix C. Stegerman
2f07073759 make include_exts etc. properly case-insentitive 2020-10-02 10:33:44 +02:00
Eero af Heurlin
2c445735bf Add support for p4a --feature option
See https://github.com/kivy/python-for-android/pull/2322
2020-10-02 10:24:57 +02:00
Stefan Sherwood
fdb3d78739 WSL workaround now accommodates WSL 2
Examples:

For WSL 1:
	uname()[2] = '4.4.0-18362-Microsoft'
For WSL 2:
	uname()[2] = '4.19.104-microsoft-standard'
2020-10-02 10:23:55 +02:00
Márcio Moreira
3198f244f2 Update quickstart.rst for Windows 10
Added note to check if Windows ADB and Buildozer installed ADB are the same version.
2020-10-02 10:23:14 +02:00
Márcio Moreira
0d9b536407 Update quickstart.rst for Windows 10 2020-10-02 10:23:14 +02:00
Joril
d27020fe4e Add android.backup_rules parameter to buildozer.spec 2020-10-02 10:21:17 +02:00
Mathieu Virbel
c9345fa06a
Update README.md 2020-10-02 10:06:34 +02:00
Eero af Heurlin
7b35b3d030
Add option for controlling p4a distutils support, fixes #1224 (#1225)
* Add option for controlling p4a distutils support, refs #1224

* note that .toml needs to be in included extensions if using pyprojet.toml

* Add the default --ignore-setup-py flag to test
2020-09-13 17:25:14 +02:00
Jorilx
7bf9f39709
Fix issue #881: Add android.allow_backup parameter to buildozer.spec (#1206)
* Add android.allow_backup parameter to buildozer.spec
* Rework patch to only use --allow-backup when it is set to false
* Added testcase for android.allow_backup
* Added default value for android.allow_backup to spec
2020-08-14 15:35:13 +02:00
Gabriel Pettier
4a18fb321e
Merge pull request #1208 from kivy/lottie_android
Add support for --presplash-lottie option of p4a
2020-08-13 16:31:53 +02:00
Gabriel Pettier
236cdaee16 Add support for --presplash-lottie option of p4a
allow using Lottie animation as splashscreen on Android
2020-08-12 23:14:29 +02:00
Andre Miras
79e16e23ee
Merge pull request #1175 from fullbuffer/patch-1
Fixes heading for iOS target
2020-07-02 21:38:33 +02:00
FullBuffer
be801e0ab8
Fixed heading for iOS target 2020-07-02 12:25:11 -04:00
Andre Miras
459807465a
Merge pull request #1171 from AndreMiras/feature/test_ios_follow_up
 Increases ios target test coverage
2020-06-28 23:22:45 +02:00
Andre Miras
3f851ec924
Merge pull request #1168 from AndreMiras/feature/test_ios
 Unit test ios target
2020-06-27 16:00:22 +02:00
Andre Miras
f858adfa7e
Merge pull request #1165 from pakal/user_expansion_in_paths
Expand "~" before every path normalization.
2020-06-25 16:16:10 +02:00
Andre Miras
a9fc2fce61 Increases ios target test coverage
This is a follow-up for #1160 and #1168.
Addresses the following:
- grows `buildozer/targets/ios.py` target coverage from 24% to 56%
- fixes `AttributeError` on `TargetIos` error call

Next up should be improving:
- code signing process (toggle off not fully integrated)
- actual deployment (not yet tested)
- further increase `buildozer/targets/ios.py` test coverage
2020-06-25 07:42:42 +02:00
Pascal Chambon
1323c057e1 Expand "~" user before every path normalization. 2020-06-24 21:42:38 +02:00
Andre Miras
ece5748982 Unit test ios target
- basic ios target test
- refactors existing android test for code sharing
- changes `call_build_package()` to simple function

Grows `buildozer/targets/ios.py` coverage from 11% to 24%.
This setups the canvas for more tests to come later.
2020-06-24 18:07:34 +02:00
Andre Miras
a967c0912e
Merge pull request #1160 from AndreMiras/feature/ios_build
🍏 Improves iOS support
2020-06-21 14:39:23 +02:00
Andre Miras
020a5504f3 🍏 Improves iOS support
Updates & fixes support for iOS target, covers the following:
- Build integration test
- Updates to new kivy-ios structure
- Bumps to ios-deploy 1.10.0 (`make` replaced by `xcodebuild`)
- Makes it possible to toggle code signing (now disabled by default)

Note this is the first iteration of a longer serie.
Subsequent pull requests will try to improve the following:
- code signing process (toggle not fully integrated)
- actual deployment (not yet tested)
- unit tests (mainly `buildozer/targets/ios.py`)
- other forms of technical debt
2020-06-20 19:11:14 +02:00
Andre Miras
af577b6138
Merge pull request #1158 from AndreMiras/feature/split_ci
👷 Moves Android build to dedicated workflow file
2020-06-20 00:41:29 +02:00
Andre Miras
afab91caf8 👷 Moves Android build to dedicated workflow file
This is in preparation for the soon to come ios build integration test.
2020-06-19 21:04:56 +02:00
Julian
a3704e7fb7
SafeConfigParser deprecated (#1155)
SafeConfigParser deprecated.
SafeConfigParser was renamed to ConfigParser in Python 3.2. Use of it in Python 3.7 gives a DeprecationWarning.
As Buildozer is not supported at below Python 3.2, simply replaced all mentions.

Co-authored-by: Julian-O <kraken@somethinkodd.com>
2020-06-15 13:40:25 +02:00
Andre Miras
40c79e5a93
Merge pull request #1142 from AndreMiras/feature/garden_is_deprecated
🔥 Drops garden support
2020-06-11 17:02:57 +02:00
Andre Miras
e8b20d5beb 🔥 Drops garden support
Garden are now installed like normal packages, refs:
https://kivy.org/doc/stable/api-kivy.garden.html#update-to-garden-structure
2020-06-11 14:42:28 +02:00
Andre Miras
25a5a11b64
Merge pull request #1147 from Julian-O/patch-1
Declare Buildozer to be Stable
2020-06-10 12:32:03 +02:00
Julian
3081af7cca
Declare Buildozer to be Stable
According to @AndreMiras ([ref](https://discord.com/channels/423249981340778496/490493814281338890/719947159570612264)), buildozer should be considered to be stable.

This edit lets PyPI know.

(This feels like it deserves a little fanfare: 🥳🎉 Congrats and thanks to you all for your work!)
2020-06-10 08:59:04 +10:00
Andre Miras
2d9c05af58
Merge pull request #1140 from AndreMiras/feature/bumps_openjdk_version
⬆️ Bumps Ubuntu and OpenJDK versions
2020-06-06 15:38:51 +02:00
Andre Miras
47630e848b ⬆️ Bumps Ubuntu and OpenJDK versions
- Ubuntu 20.04
- OpenJDK 13
2020-06-03 13:51:04 +02:00
Gabriel Pettier
ffe73a67b5
Merge pull request #1139 from AndreMiras/feature/post_release_version
Post release bump 1.2.0.dev0
2020-06-01 21:55:47 +02:00
Andre Miras
5d7610cf6c Post release bump 1.2.0.dev0 2020-06-01 21:51:01 +02:00
Andre Miras
94cfcb8d59
Merge pull request #1137 from AndreMiras/release/1.2.0
🔖 1.2.0
2020-06-01 21:45:23 +02:00
Andre Miras
4a2bf27cda 🔖 1.2.0 2020-06-01 21:30:37 +02:00
Andre Miras
ce114822df
Merge pull request #1135 from AndreMiras/feature/command_line_tools
⬆️ Migrates to Command line tools
2020-05-31 12:29:12 +02:00
Andre Miras
435d6a21eb ⬆️ Migrates to Command line tools
The SDK Tools package is deprecated and no longer receiving updates:
https://developer.android.com/studio/releases/sdk-tools
Also drops the "tools" package install as it's considered obsolete.

Migrates to command line tools:
https://developer.android.com/studio#cmdline-tools
https://developer.android.com/studio/command-line

Makes it possible to use both OpenJDK 8 and more recent versions.
Tested successfully in Arch with OpenJDK 10.
2020-05-31 12:06:20 +02:00