packages/lang/python/python3/patches-setuptools
Jeffery To 70a7f736c5 python3-setuptools: Fix error when installing from source
When a Python package is installed from source (i.e. using setup.py)
into a custom location (with --home), setuptools may want to create a
site.py file in the custom location. This file is created based on the
source code of site-patch.py, a file bundled with setuptools.

Because the normal OpenWrt setuptools package does not contain Python
source code, this file is missing and the installation will end with an
error.

This copies site-patch.py to site-patch.py.txt so that it will be
included in python3-setuptools, and patches setuptools to look for this
file.

See https://github.com/openwrt/packages/issues/12223

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 20:02:13 +08:00
..
001-reproducible.patch python-setuptools: Add reproducibility patches from Debian 2019-05-24 13:18:09 +08:00
002-sorted-requires.patch python-setuptools: Add reproducibility patches from Debian 2019-05-24 13:18:09 +08:00
003-PKG-INFO-output-reproducible.patch python-setuptools: Add reproducibility patches from Debian 2019-05-24 13:18:09 +08:00
004-site-patch.patch python3-setuptools: Fix error when installing from source 2020-05-21 20:02:13 +08:00