2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://pypi.python.org/packages/source/s/six
16 PKG_MD5SUM:=34eed507548117b2ab523ab14b2f8b55
18 PKG_BUILD_DEPENDS:=python python-setuptools
21 PKG_LICENSE_FILES:=LICENSE
22 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
24 include $(INCLUDE_DIR)/package.mk
25 $(call include_mk, python-package.mk)
27 define Package/python-six
32 URL:=https://pypi.python.org/pypi/six
33 DEPENDS:=+python-light
36 define Package/python-six/description
37 Six is a Python 2 and 3 compatibility library. It provides utility functions
38 for smoothing over the differences between the Python versions with the goal of
39 writing Python code that is compatible on both Python versions. See the
40 documentation for more information on what is provided.
44 $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
47 $(eval $(call PyPackage,python-six))
48 $(eval $(call BuildPackage,python-six))