From a8602a7ccbde983412b5f0f27961ff2ab9155194 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 7 Dec 2015 16:09:31 +0200 Subject: python: upgrade to version 2.7.11 And split python-dev and python-lib2to3 packages. Seems for python3 this was done, so we'll sync here. Signed-off-by: Alexandru Ardelean --- lang/python/files/python-package-dev.mk | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lang/python/files/python-package-dev.mk (limited to 'lang/python/files/python-package-dev.mk') diff --git a/lang/python/files/python-package-dev.mk b/lang/python/files/python-package-dev.mk new file mode 100644 index 000000000..2f807b283 --- /dev/null +++ b/lang/python/files/python-package-dev.mk @@ -0,0 +1,27 @@ +# +# Copyright (C) 2006-2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Package/python-dev +$(call Package/python/Default) + TITLE:=Python $(PYTHON_VERSION) development files + DEPENDS:=+python +endef + +define PyPackage/python-dev/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/python*config $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib +endef + +$(eval $(call PyBasePackage,python-dev, \ + /usr/lib/python$(PYTHON_VERSION)/config \ + /usr/include/python$(PYTHON_VERSION) \ + /usr/lib/pkgconfig \ + , \ + DO_NOT_ADD_TO_PACKAGE_DEPENDS \ +)) + -- cgit