Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5142eb

Browse files
authored
Support for pre 2.7.1 freetype savannah versions
Versions earlier than 2.7.1 are indexed on /freetype/freetype-old/ on the savannah site. Pypi installs for Matplotlib can request early versions (e.g. 2.6.1) which can cause build failure if sourceforge access is unavailable
1 parent bc1d37c commit e5142eb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

setupext.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,9 @@ def do_custom_build(self, env):
592592
(f'https://downloads.sourceforge.net/project/freetype'
593593
f'/freetype2/{LOCAL_FREETYPE_VERSION}/{tarball}'),
594594
(f'https://download.savannah.gnu.org/releases/freetype'
595-
f'/{tarball}')
595+
f'/{tarball}'),
596+
(f'https://download.savannah.gnu.org/releases/freetype'
597+
f'/freetype-old/{tarball}')
596598
],
597599
sha=LOCAL_FREETYPE_HASH,
598600
dirname=f'freetype-{LOCAL_FREETYPE_VERSION}',

0 commit comments

Comments
 (0)