2 # Copyright (C) 2007-2017 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
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
19 include $(INCLUDE_DIR
)/package.mk
20 include ..
/python-package.mk
22 define Package
/openpyxl
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
32 define Package
/openpyxl
/description
33 A Python library to read
/write Excel
2010 xlsx
/xlsm files
37 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
40 define Package
/openpyxl
/install
41 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
43 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
47 $(eval
$(call BuildPackage
,openpyxl
))