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

kivy / python-for-android / 17571128714

09 Sep 2025 03:46AM UTC coverage: 59.263% (+0.05%) from 59.214%
17571128714

Pull #3180

github

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

1068 of 2403 branches covered (44.44%)

Branch coverage included in aggregate %.

115 of 157 new or added lines in 17 files covered. (73.25%)

12 existing lines in 5 files now uncovered.

4997 of 7831 relevant lines covered (63.81%)

2.54 hits per line

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

58.33
/pythonforandroid/recipes/libsodium/__init__.py
1
from pythonforandroid.recipe import Recipe
4✔
2
from pythonforandroid.util import current_directory
4✔
3
from pythonforandroid.logger import shprint
4✔
4
from multiprocessing import cpu_count
4✔
5
import sh
4✔
6

7

8
class LibsodiumRecipe(Recipe):
4✔
9
    version = '1.0.16'
4✔
10
    url = 'https://github.com/jedisct1/libsodium/releases/download/{version}/libsodium-{version}.tar.gz'
4✔
11
    depends = []
4✔
12
    patches = ['size_max_fix.patch']
4✔
13
    built_libraries = {'libsodium.so': 'src/libsodium/.libs'}
4✔
14

15
    def build_arch(self, arch):
4✔
UNCOV
16
        env = self.get_recipe_env(arch)
×
17
        with current_directory(self.get_build_dir(arch.arch)):
×
18
            bash = sh.Command('bash')
×
19
            shprint(
×
20
                bash,
21
                'configure',
22
                '--disable-soname-versions',
23
                '--host={}'.format(arch.command_prefix),
24
                '--enable-shared',
25
                _env=env,
26
            )
27
            shprint(sh.make, '-j', str(cpu_count()), _env=env)
×
28

29
    def get_recipe_env(self, arch):
4✔
30
        env = super().get_recipe_env(arch)
×
31
        env['CFLAGS'] += ' -Os'
×
32
        return env
×
33

34

35
recipe = LibsodiumRecipe()
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