@ -7,41 +7,70 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := openpyxl
PKG_VERSION := 2.5.9
PKG_RELEASE := 2
PKG_NAME := python-openpyxl
PKG_VERSION := 2.6.2
PKG_RELEASE := 1
PKG_MAINTAINER := Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE := MIT
PKG_LICENSE_FILES := LICENCE.rst
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := openpyxl -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/source/o/openpyxl
PKG_HASH := 022c0f3fa1e873cc0ba20651c54dd5e6276fc4ff150b4060723add4fc448645e
PKG_MAINTAINER := Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_HASH := 1d2af392cef8c8227bd2ac3ebe3a28b25aba74fd4fa473ce106065f0b73bfe2e
PKG_BUILD_DIR := $( BUILD_DIR) /$( BUILD_VARIANT) -openpyxl-$( PKG_VERSION)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / p y t h o n - p a c k a g e . m k
i n c l u d e . . / p y t h o n 3 - p a c k a g e . m k
PKG_UNPACK := $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
d e f i n e P a c k a g e / o p e n p y x l
d e f i n e P a c k a g e / p y t h o n - o p e n p y x l / D e f a u l t
SUBMENU:= Python
SECTION:= lang
CATEGORY:= Languages
TITLE:= A Python library to read/write Excel 2010 xlsx/xlsm files
URL:= https://openpyxl.readthedocs.org/
DEPENDS:= +python +django
e n d e f
d e f i n e P a c k a g e / o p e n p y x l / d e s c r i p t i o n
A Python library to read/write Excel 2010 xlsx/xlsm files
d e f i n e P a c k a g e / p y t h o n - o p e n p y x l
$( call Package/python-openpyxl/Default)
DEPENDS:= \
+PACKAGE_python-openpyxl:python \
+PACKAGE_python-openpyxl:python-defusedxml \
+PACKAGE_python-openpyxl:python-et_xmlfile \
+PACKAGE_python-openpyxl:python-jdcal
VARIANT:= python
# The PROVIDES below is deprecated and should be dropped with the next version.
PROVIDES:= openpyxl
e n d e f
d e f i n e B u i l d / C o m p i l e
$( call Build/Compile/PyMod,,install --prefix= /usr --root= $( PKG_INSTALL_DIR) )
d e f i n e P a c k a g e / p y t h o n 3 - o p e n p y x l
$( call Package/python-openpyxl/Default)
DEPENDS:= \
+PACKAGE_python3-openpyxl:python3 \
+PACKAGE_python3-openpyxl:python3-defusedxml \
+PACKAGE_python3-openpyxl:python3-et_xmlfile \
+PACKAGE_python3-openpyxl:python3-jdcal
VARIANT:= python3
e n d e f
d e f i n e P a c k a g e / o p e n p y x l / i n s t a l l
$( INSTALL_DIR) $( 1) $( PYTHON_PKG_DIR)
$( CP) \
$( PKG_INSTALL_DIR) $( PYTHON_PKG_DIR) /* \
$( 1) $( PYTHON_PKG_DIR)
d e f i n e P a c k a g e / p y t h o n - o p e n p y x l / d e s c r i p t i o n
A Python library to read/write Excel 2010 xlsx/xlsm files
e n d e f
$( eval $ ( call BuildPackage ,openpyxl ) )
d e f i n e P a c k a g e / p y t h o n 3 - o p e n p y x l / d e s c r i p t i o n
$( call Package /python -openpyxl /description )
.
( V a r i a n t f o r P y t h o n 3 )
e n d e f
$( eval $ ( call PyPackage ,python -openpyxl ) )
$( eval $ ( call BuildPackage ,python -openpyxl ) )
$( eval $ ( call BuildPackage ,python -openpyxl -src ) )
$( eval $ ( call Py 3Package ,python 3-openpyxl ) )
$( eval $ ( call BuildPackage ,python 3-openpyxl ) )
$( eval $ ( call BuildPackage ,python 3-openpyxl -src ) )