Skip to content

Commit 0d0d9f3

Browse files
committed
Switch to pythonhosted FreetypePy
`setuptools-scm` can't deal with the github hosted one, it seems.
1 parent fbdf8c2 commit 0d0d9f3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pythonforandroid/recipes/freetype-py/__init__.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33

44
class FreetypePyRecipe(PyProjectRecipe):
55
version = '2.5.1'
6-
url = 'https://github.com/rougier/freetype-py/archive/refs/tags/v{version}.tar.gz'
6+
url = ('https://files.pythonhosted.org/packages/d0/9c/'
7+
'61ba17f846b922c2d6d101cc886b0e8fb597c109cedfcb39b8c5d2304b54/'
8+
'freetype-py-{version}.zip')
79
depends = ['freetype']
810
site_packages_name = 'freetype'
911

10-
def get_recipe_env(self, arch=None, **kwargs):
11-
env = super().get_recipe_env(arch, **kwargs)
12-
env["SETUPTOOLS_SCM_PRETEND_VERSION_FOR_freetype"] = self.version
13-
return env
14-
1512

1613
recipe = FreetypePyRecipe()

0 commit comments

Comments
 (0)