2 # Copyright (C) 2007-2016 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
://pypi.python.org
/packages
/7e
/75/9bb309f80e4f75d139ecc55e9edf65c5844336b5a84966a609267255f961
/
17 PKG_MD5SUM
:=e3376d1fce0681fd0b4047ab89218af4
18 PKG_BUILD_DEPENDS
:=python python-setuptools
20 include $(INCLUDE_DIR
)/package.mk
21 $(call include_mk
, python-package.mk
)
23 define Package
/openpyxl
27 MAINTAINER
:=Gergely Kiss
<mail.gery@gmail.com
>
28 TITLE
:=A Python library to read
/write Excel
2010 xlsx
/xlsm files
29 URL
:=https
://openpyxl.readthedocs.org
/
30 DEPENDS
:=+python
+django
33 define Package
/openpyxl
/description
34 A Python library to read
/write Excel
2010 xlsx
/xlsm files
38 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
41 define Package
/openpyxl
/install
42 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
44 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
48 $(eval
$(call BuildPackage
,openpyxl
))