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

kivy / python-for-android / 5976260269

25 Aug 2023 01:05PM UTC coverage: 58.986% (+0.3%) from 58.676%
5976260269

push

github

web-flow
Standardise `ensure_dir` and `rmdir` (#2871)

* Standardise ensure_dir and rmdir

* Standardise ensure_dir and rmdir

* Add libmysqlclient to broken list

* Libtorrent failing to be rebuilt

* Add boost to broken recipes list

940 of 2241 branches covered (0.0%)

Branch coverage included in aggregate %.

73 of 113 new or added lines in 21 files covered. (64.6%)

3 existing lines in 3 files now uncovered.

4715 of 7346 relevant lines covered (64.18%)

2.56 hits per line

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

62.5
/pythonforandroid/recipes/zope_interface/__init__.py
1
from os.path import join
4✔
2

3
from pythonforandroid.recipe import PythonRecipe
4✔
4
from pythonforandroid.toolchain import current_directory
4✔
5
from pythonforandroid.util import rmdir
4✔
6

7

8
class ZopeInterfaceRecipe(PythonRecipe):
4✔
9
    call_hostpython_via_targetpython = False
4✔
10
    name = 'zope_interface'
4✔
11
    version = '4.1.3'
4✔
12
    url = 'https://pypi.python.org/packages/source/z/zope.interface/zope.interface-{version}.tar.gz'
4✔
13
    site_packages_name = 'zope.interface'
4✔
14
    depends = ['setuptools']
4✔
15
    patches = ['no_tests.patch']
4✔
16

17
    def build_arch(self, arch):
4✔
18
        super().build_arch(arch)
×
19
        # The zope.interface module lacks of the __init__.py file in one of his
20
        # folders (once is installed), that leads into an ImportError.
21
        # Here we intentionally apply a patch to solve that, so, in case that
22
        # this is solved in the future an error will be triggered
23
        zope_install = join(self.ctx.get_site_packages_dir(arch), 'zope')
×
24
        self.apply_patch('fix-init.patch', arch.arch, build_dir=zope_install)
×
25

26
    def prebuild_arch(self, arch):
4✔
27
        super().prebuild_arch(arch)
×
28
        with current_directory(self.get_build_dir(arch.arch)):
×
NEW
29
            rmdir('src/zope/interface/tests')
×
NEW
30
            rmdir('src/zope/interface/common/tests')
×
31

32

33
recipe = ZopeInterfaceRecipe()
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