2016-04-30 10:37:30 +02:00
|
|
|
#
|
2017-02-13 22:03:14 +01:00
|
|
|
# Copyright (C) 2007-2017 OpenWrt.org
|
2016-04-30 10:37:30 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2019-05-14 22:05:44 +02:00
|
|
|
PKG_NAME:=python-openpyxl
|
2022-06-03 09:12:14 +02:00
|
|
|
PKG_VERSION:=3.0.10
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=1
|
2019-05-14 22:05:44 +02:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
2016-04-30 10:37:30 +02:00
|
|
|
PKG_LICENSE:=MIT
|
2019-05-14 22:05:44 +02:00
|
|
|
PKG_LICENSE_FILES:=LICENCE.rst
|
2016-04-30 10:37:30 +02:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=openpyxl
|
2022-06-03 09:12:14 +02:00
|
|
|
PKG_HASH:=e47805627aebcf860edb4edf7987b1309c1b3632f3750538ed962bbcc3bd7449
|
2019-05-14 22:05:44 +02:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2016-04-30 10:37:30 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-05-14 22:05:44 +02:00
|
|
|
include ../python3-package.mk
|
|
|
|
|
2019-11-18 15:28:39 +01:00
|
|
|
define Package/python3-openpyxl
|
2016-04-30 10:37:30 +02:00
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=A Python library to read/write Excel 2010 xlsx/xlsm files
|
|
|
|
URL:=https://openpyxl.readthedocs.org/
|
2019-11-18 15:28:39 +01:00
|
|
|
DEPENDS:=+python3 +python3-defusedxml +python3-et_xmlfile +python3-jdcal
|
2016-04-30 10:37:30 +02:00
|
|
|
endef
|
|
|
|
|
2019-05-14 22:05:44 +02:00
|
|
|
define Package/python3-openpyxl/description
|
2020-04-01 16:21:16 +02:00
|
|
|
A Python library to read/write Excel 2010 xlsx/xlsm files
|
2019-05-14 22:05:44 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-openpyxl))
|
|
|
|
$(eval $(call BuildPackage,python3-openpyxl))
|
|
|
|
$(eval $(call BuildPackage,python3-openpyxl-src))
|