We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FreetypePyRecipe
PyProjectRecipe
1 parent 9286612 commit 8102b33Copy full SHA for 8102b33
pythonforandroid/recipes/freetype-py/__init__.py
@@ -1,16 +1,11 @@
1
-from pythonforandroid.recipe import PythonRecipe
+from pythonforandroid.recipe import PyProjectRecipe
2
3
4
-class FreetypePyRecipe(PythonRecipe):
+class FreetypePyRecipe(PyProjectRecipe):
5
version = '2.5.1'
6
url = 'https://github.com/rougier/freetype-py/archive/refs/tags/v{version}.tar.gz'
7
depends = ['freetype']
8
site_packages_name = 'freetype'
9
10
- def get_recipe_env(self, arch=None, with_flags_in_cc=True):
11
- env = super().get_recipe_env(arch, with_flags_in_cc)
12
- env["SETUPTOOLS_SCM_PRETEND_VERSION_FOR_freetype"] = self.version
13
- return env
14
-
15
16
recipe = FreetypePyRecipe()
0 commit comments