This adds the ability to patch setuptools (and pip), and adds 3 reproducibility patches from Debian[1]. (003-PKG-INFO-output-reproducible.patch addresses the issue identified in #9039.) The patching is not perfect, in that the patches are applied to setuptools and pip after they have been installed, since they are installed from wheels which are already "precompiled". Also, patching for the host install cannot be updated in place, for example if a patch is added or removed. [1]: https://sources.debian.org/patches/python-setuptools/40.8.0-1/ Signed-off-by: Jeffery To <jeffery.to@gmail.com>
19 lines
467 B
Makefile
19 lines
467 B
Makefile
#
|
|
# Copyright (C) 2007-2016 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
# Note: keep in sync with setuptools & pip
|
|
PYTHON3_VERSION_MAJOR:=3
|
|
PYTHON3_VERSION_MINOR:=7
|
|
PYTHON3_VERSION_MICRO:=2
|
|
|
|
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
|
|
|
|
PYTHON3_SETUPTOOLS_PKG_RELEASE:=3
|
|
PYTHON3_PIP_PKG_RELEASE:=2
|
|
|
|
PYTHON3_SETUPTOOLS_VERSION:=40.6.2
|
|
PYTHON3_PIP_VERSION:=18.1
|