Skip to content

Commit 046771c

Browse files
committed
sklearn: follow recipe naming conventions
1 parent f32c86a commit 046771c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from pythonforandroid.recipe import PythonRecipe
22

33

4-
class ThisRecipe(PythonRecipe):
4+
class JoblibRecipe(PythonRecipe):
55
org = 'joblib'
66
name = 'joblib'
77
version = '0.17.0'
@@ -11,4 +11,4 @@ class ThisRecipe(PythonRecipe):
1111
patches = ['multiprocessing.patch']
1212

1313

14-
recipe = ThisRecipe()
14+
recipe = JoblibRecipe()

pythonforandroid/recipes/scikit-learn/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from multiprocessing import cpu_count
33

44

5-
class ThisRecipe(CompiledComponentsPythonRecipe):
5+
class ScikitlearnRecipe(CompiledComponentsPythonRecipe):
66

77
site_packages_name = 'scikit-learn'
88
version = '0.23.2'
@@ -37,4 +37,4 @@ def get_recipe_env(self, arch):
3737
return env
3838

3939

40-
recipe = ThisRecipe()
40+
recipe = ScikitlearnRecipe()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from pythonforandroid.recipe import PythonRecipe
22

33

4-
class ThisRecipe(PythonRecipe):
4+
class ThreadpoolctlRecipe(PythonRecipe):
55
org = 'joblib'
66
name = 'threadpoolctl'
77
version = '2.1.0'
@@ -11,4 +11,4 @@ class ThisRecipe(PythonRecipe):
1111
patches = ['docstring.patch', 'setuptools.patch']
1212

1313

14-
recipe = ThisRecipe()
14+
recipe = ThreadpoolctlRecipe()

0 commit comments

Comments
 (0)