Skip to content

Commit 81a1b6a

Browse files
AndreMirastshirtman
authored andcommitted
Use enaml {version} rather than master, fixes #1409
Also fixes PEP8 after recent flake8==3.7.1 update
1 parent 3cc0657 commit 81a1b6a

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

ci/constants.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ class TargetPython(Enum):
1616
# https://github.com/kivy/python-for-android/issues/550
1717
'audiostream',
1818
'brokenrecipe',
19-
# https://github.com/kivy/python-for-android/issues/1409
20-
'enaml',
2119
'evdev',
2220
# distutils.errors.DistutilsError
2321
# Could not find suitable distribution for Requirement.parse('cython')

pythonforandroid/logger.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def format(self, record):
4444

4545

4646
logger = logging.getLogger('p4a')
47-
if not hasattr(logger, 'touched'): # Necessary as importlib reloads
48-
# this, which would add a second
49-
# handler and reset the level
47+
# Necessary as importlib reloads this,
48+
# which would add a second handler and reset the level
49+
if not hasattr(logger, 'touched'):
5050
logger.setLevel(logging.INFO)
5151
logger.touched = True
5252
ch = logging.StreamHandler(stderr)

pythonforandroid/recipes/enaml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class EnamlRecipe(CppCompiledComponentsPythonRecipe):
55
site_packages_name = 'enaml'
66
version = '0.9.8'
7-
url = 'https://github.com/nucleic/enaml/archive/master.zip'
7+
url = 'https://github.com/nucleic/enaml/archive/{version}.zip'
88
patches = ['0001-Update-setup.py.patch'] # Remove PyQt dependency
99
depends = ['setuptools', 'atom', 'kiwisolver']
1010

0 commit comments

Comments
 (0)