haproxy: Update all patches for HAProxy v1.8.14
[feed/packages.git] / lang / python / openpyxl / Makefile
1 #
2 # Copyright (C) 2007-2017 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:=openpyxl
11 PKG_VERSION:=2.5.7
12 PKG_RELEASE:=1
13 PKG_LICENSE:=MIT
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/o/openpyxl
17 PKG_HASH:=d3da4d6a78077d6f9fb1a1ec12d4aa500f7caa4661b8528538503b24ed72d632
18
19 include $(INCLUDE_DIR)/package.mk
20 include ../python-package.mk
21
22 define Package/openpyxl
23 SUBMENU:=Python
24 SECTION:=lang
25 CATEGORY:=Languages
26 MAINTAINER:=Gergely Kiss <mail.gery@gmail.com>
27 TITLE:=A Python library to read/write Excel 2010 xlsx/xlsm files
28 URL:=https://openpyxl.readthedocs.org/
29 DEPENDS:=+python +django
30 endef
31
32 define Package/openpyxl/description
33 A Python library to read/write Excel 2010 xlsx/xlsm files
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
38 endef
39
40 define Package/openpyxl/install
41 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
42 $(CP) \
43 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
44 $(1)$(PYTHON_PKG_DIR)
45 endef
46
47 $(eval $(call BuildPackage,openpyxl))