• 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

96.67
/pythonforandroid/recipes/libcurl/__init__.py
1
import sh
4✔
2
from pythonforandroid.recipe import Recipe
4✔
3
from pythonforandroid.util import current_directory
4✔
4
from pythonforandroid.logger import shprint
4✔
5
from os.path import join
4✔
6
from multiprocessing import cpu_count
4✔
7

8

9
class LibcurlRecipe(Recipe):
4✔
10
    version = '8.8.0'
4✔
11
    url = 'https://github.com/curl/curl/releases/download/curl-{_version}/curl-{version}.tar.gz'
4✔
12
    built_libraries = {'libcurl.so': 'dist/lib'}
4✔
13
    depends = ['openssl']
4✔
14

15
    @property
4✔
16
    def versioned_url(self):
4✔
NEW
17
        return self.url.format(version=self.version, _version=self.version.replace(".", "_"))
×
18

19
    def build_arch(self, arch):
4✔
20
        env = self.get_recipe_env(arch)
4✔
21

22
        openssl_recipe = self.get_recipe('openssl', self.ctx)
4✔
23
        openssl_dir = openssl_recipe.get_build_dir(arch.arch)
4✔
24

25
        env['LDFLAGS'] += openssl_recipe.link_dirs_flags(arch)
4✔
26
        env['LIBS'] = env.get('LIBS', '') + openssl_recipe.link_libs_flags()
4✔
27

28
        with current_directory(self.get_build_dir(arch.arch)):
4✔
29
            dst_dir = join(self.get_build_dir(arch.arch), 'dist')
4✔
30
            shprint(
4✔
31
                sh.Command('./configure'),
32
                '--host={}'.format(arch.command_prefix),
33
                '--enable-shared',
34
                '--with-ssl={}'.format(openssl_dir),
35
                '--prefix={}'.format(dst_dir),
36
                _env=env)
37
            shprint(sh.make, '-j', str(cpu_count()), _env=env)
4✔
38
            shprint(sh.make, 'install', _env=env)
4✔
39

40

41
recipe = LibcurlRecipe()
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