summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2020-12-05 05:43:04 (GMT)
committerTony Theodore <tonyt@logyst.com>2020-12-10 01:38:39 (GMT)
commit9020281cbf8e07786b9ab6c999dc6443ff2d5946 (patch)
tree5266dfa26b6736e18cca486ec37b1d52485dc76e
parent2ae5e77bfa81fb52db76d45ac0f0d93e532dad23 (diff)
downloadmxe-9020281cbf8e07786b9ab6c999dc6443ff2d5946.zip
mxe-9020281cbf8e07786b9ab6c999dc6443ff2d5946.tar.gz
mxe-9020281cbf8e07786b9ab6c999dc6443ff2d5946.tar.bz2
add python-setuptools
not installed in Ubuntu by default
-rw-r--r--src/python-markupsafe.mk2
-rw-r--r--src/python-setuptools.mk17
2 files changed, 18 insertions, 1 deletions
diff --git a/src/python-markupsafe.mk b/src/python-markupsafe.mk
index d1a465f..5772e0c 100644
--- a/src/python-markupsafe.mk
+++ b/src/python-markupsafe.mk
@@ -7,7 +7,7 @@ $(PKG)_IGNORE :=
$(PKG)_VERSION := 1.1.1
$(PKG)_CHECKSUM := 222a10e3237d92a9cd45ed5ea882626bc72bc5e0264d3ed0f2c9129fa69fc167
$(PKG)_GH_CONF := pallets/markupsafe/tags,,,a,
-$(PKG)_DEPS := python-conf
+$(PKG)_DEPS := python-conf $(BUILD)~python-setuptools
$(PKG)_TARGETS := $(BUILD)
define $(PKG)_BUILD
diff --git a/src/python-setuptools.mk b/src/python-setuptools.mk
new file mode 100644
index 0000000..d7931b5
--- /dev/null
+++ b/src/python-setuptools.mk
@@ -0,0 +1,17 @@
+# This file is part of MXE. See LICENSE.md for licensing information.
+
+PKG := python-setuptools
+$(PKG)_WEBSITE := https://pypi.org/project/setuptools
+$(PKG)_DESCR := Easily download, build, install, upgrade, and uninstall Python packages
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := df51e62
+$(PKG)_CHECKSUM := 238ee37579c7e07a3057cb92e223982b9c513d590908ee54e1d8ecbe2a496639
+# LTS branch for python2 support
+$(PKG)_GH_CONF := pypa/setuptools/branches/maint/44.x
+$(PKG)_DEPS := python-conf
+$(PKG)_TARGETS := $(BUILD)
+
+define $(PKG)_BUILD
+ cd '$(SOURCE_DIR)' && $(BUILD)-python$(PY_XY_VER) bootstrap.py
+ $(PYTHON_SETUP_INSTALL)
+endef