From 85e52f926696907e7ac283713083f5ee97a66436 Mon Sep 17 00:00:00 2001 From: Johannes Habel Date: Sat, 27 Jun 2026 20:40:50 +0200 Subject: [PATCH 1/3] - Add recipe for selectolax --- pythonforandroid/recipes/selectolax/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pythonforandroid/recipes/selectolax/__init__.py diff --git a/pythonforandroid/recipes/selectolax/__init__.py b/pythonforandroid/recipes/selectolax/__init__.py new file mode 100644 index 000000000..1188e7247 --- /dev/null +++ b/pythonforandroid/recipes/selectolax/__init__.py @@ -0,0 +1,10 @@ +from pythonforandroid.recipe import CythonRecipe + + +class SelectolaxRecipe(CythonRecipe): + version = '0.4.10' + url = 'https://pypi.python.org/packages/source/s/selectolax/selectolax-{version}.tar.gz' + depends = ['setuptools'] + + +recipe = SelectolaxRecipe() \ No newline at end of file From 18fe55a1e0baa1f2679a4b174679dd4e2d34a083 Mon Sep 17 00:00:00 2001 From: Johannes Habel Date: Wed, 1 Jul 2026 18:45:58 +0200 Subject: [PATCH 2/3] - switched to PyProjectRecipe --- pythonforandroid/recipes/selectolax/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pythonforandroid/recipes/selectolax/__init__.py b/pythonforandroid/recipes/selectolax/__init__.py index 1188e7247..acb4a88b9 100644 --- a/pythonforandroid/recipes/selectolax/__init__.py +++ b/pythonforandroid/recipes/selectolax/__init__.py @@ -1,10 +1,11 @@ -from pythonforandroid.recipe import CythonRecipe +from pythonforandroid.recipe import PyProjectRecipe -class SelectolaxRecipe(CythonRecipe): +class SelectolaxRecipe(PyProjectRecipe): version = '0.4.10' url = 'https://pypi.python.org/packages/source/s/selectolax/selectolax-{version}.tar.gz' depends = ['setuptools'] + hostpython_prerequisites = ['cython'] -recipe = SelectolaxRecipe() \ No newline at end of file +recipe = SelectolaxRecipe() From 932635897219118e530df992351cd1d6c0a68290 Mon Sep 17 00:00:00 2001 From: Johannes Habel Date: Thu, 2 Jul 2026 04:56:45 +0200 Subject: [PATCH 3/3] - pinned cython version 3.2.8 --- pythonforandroid/recipes/selectolax/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/recipes/selectolax/__init__.py b/pythonforandroid/recipes/selectolax/__init__.py index acb4a88b9..475113493 100644 --- a/pythonforandroid/recipes/selectolax/__init__.py +++ b/pythonforandroid/recipes/selectolax/__init__.py @@ -5,7 +5,7 @@ class SelectolaxRecipe(PyProjectRecipe): version = '0.4.10' url = 'https://pypi.python.org/packages/source/s/selectolax/selectolax-{version}.tar.gz' depends = ['setuptools'] - hostpython_prerequisites = ['cython'] + hostpython_prerequisites = ['cython==3.2.8'] recipe = SelectolaxRecipe()