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

kivy / python-for-android / 9022488340

09 May 2024 07:28PM UTC coverage: 59.119% (+0.2%) from 58.893%
9022488340

push

github

web-flow
recipe: introduce `PyProjectRecipe` and `MesonRecipe` (to update `pandas`, `numpy` and other recipes) (#3007)

1044 of 2353 branches covered (44.37%)

Branch coverage included in aggregate %.

75 of 167 new or added lines in 9 files covered. (44.91%)

5 existing lines in 2 files now uncovered.

4820 of 7566 relevant lines covered (63.71%)

2.54 hits per line

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

52.94
/pythonforandroid/recipes/cryptography/__init__.py
1
from pythonforandroid.recipe import RustCompiledComponentsRecipe
4✔
2
from os.path import join
4✔
3

4

5
class CryptographyRecipe(RustCompiledComponentsRecipe):
4✔
6

7
    name = 'cryptography'
4✔
8
    version = '42.0.1'
4✔
9
    url = 'https://github.com/pyca/cryptography/archive/refs/tags/{version}.tar.gz'
4✔
10
    depends = ['openssl']
4✔
11

12
    def get_recipe_env(self, arch, **kwargs):
4✔
NEW
13
        env = super().get_recipe_env(arch, **kwargs)
×
14
        openssl_build_dir = self.get_recipe('openssl', self.ctx).get_build_dir(arch.arch)
×
15
        build_target = self.RUST_ARCH_CODES[arch.arch].upper().replace("-", "_")
×
16
        openssl_include = "{}_OPENSSL_INCLUDE_DIR".format(build_target)
×
17
        openssl_libs = "{}_OPENSSL_LIB_DIR".format(build_target)
×
18
        env[openssl_include] = join(openssl_build_dir, 'include')
×
19
        env[openssl_libs] = join(openssl_build_dir)
×
20
        return env
×
21

22

23
recipe = CryptographyRecipe()
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

© 2025 Coveralls, Inc