• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kivy / python-for-android / 17090290875

20 Aug 2025 06:20AM UTC coverage: 59.287% (+0.07%) from 59.214%
17090290875

Pull #3180

github

web-flow
Merge 7cb4f3f5e into 5330267b5
Pull Request #3180: `python`: add `3.13` support

1068 of 2403 branches covered (44.44%)

Branch coverage included in aggregate %.

121 of 163 new or added lines in 17 files covered. (74.23%)

12 existing lines in 5 files now uncovered.

5003 of 7837 relevant lines covered (63.84%)

2.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

58.33
/pythonforandroid/recipes/genericndkbuild/__init__.py
1
from os.path import join
4✔
2
from multiprocessing import cpu_count
4✔
3
from pythonforandroid.recipe import BootstrapNDKRecipe
4✔
4
from pythonforandroid.toolchain import current_directory, shprint
4✔
5
import sh
4✔
6

7

8
class GenericNDKBuildRecipe(BootstrapNDKRecipe):
4✔
9
    version = None
4✔
10
    url = None
4✔
11

12
    depends = ['python3']
4✔
13
    conflicts = ['sdl2', 'sdl3']
4✔
14

15
    def should_build(self, arch):
4✔
16
        return True
×
17

18
    def get_recipe_env(self, arch=None, with_flags_in_cc=True, with_python=True):
4✔
19
        env = super().get_recipe_env(
×
20
            arch=arch, with_flags_in_cc=with_flags_in_cc,
21
            with_python=with_python,
22
        )
23
        env['APP_ALLOW_MISSING_DEPS'] = 'true'
×
24
        # required for Qt bootstrap
25
        env['PREFERRED_ABI'] = arch.arch
×
26
        return env
×
27

28
    def build_arch(self, arch):
4✔
29
        env = self.get_recipe_env(arch)
×
30

31
        with current_directory(self.get_jni_dir()):
×
NEW
32
            shprint(sh.Command(join(self.ctx.ndk_dir, "ndk-build")), "V=1", "-j", str(cpu_count()), _env=env)
×
33

34

35
recipe = GenericNDKBuildRecipe()
4✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc