lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1280B)


      1 #
      2 # Copyright (C) 2015 OpenWrt.org
      3 #
      4 # This is free software, licensed under the GNU General Public License v2.
      5 # See /LICENSE for more information.
      6 #
      7 
      8 include $(TOPDIR)/rules.mk
      9 
     10 PKG_NAME:=six
     11 PKG_VERSION:=1.10.0
     12 PKG_RELEASE:=1
     13 
     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
     17 
     18 PKG_BUILD_DEPENDS:=python python-setuptools
     19 
     20 PKG_LICENSE:=MIT
     21 PKG_LICENSE_FILES:=LICENSE
     22 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
     23 
     24 include $(INCLUDE_DIR)/package.mk
     25 $(call include_mk, python-package.mk)
     26 
     27 define Package/python-six
     28 	SECTION:=lang
     29 	CATEGORY:=Languages
     30 	SUBMENU:=Python
     31 	TITLE:=python-six
     32 	URL:=https://pypi.python.org/pypi/six
     33 	DEPENDS:=+python-light
     34 endef
     35 
     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.
     41 endef
     42 
     43 define Build/Compile
     44 	$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
     45 endef
     46 
     47 $(eval $(call PyPackage,python-six))
     48 $(eval $(call BuildPackage,python-six))