mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changes since 2.0.0: - Improve error messages for invalid ini files - Drop support for Python 3.7, add Python 3.12/3.13 Also add test.sh to verify version and basic INI parsing. Link: https://github.com/pytest-dev/iniconfig/blob/main/CHANGELOG Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-iniconfig
|
|
PKG_VERSION:=2.3.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=iniconfig
|
|
PKG_HASH:=c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-iniconfig
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=Simple config-ini parser
|
|
URL:=https://github.com/pytest-dev/iniconfig
|
|
DEPENDS:= +python3-light
|
|
endef
|
|
|
|
define Package/python3-iniconfig/description
|
|
iniconfig is a small and simple INI-file parser module.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-iniconfig))
|
|
$(eval $(call BuildPackage,python3-iniconfig))
|
|
$(eval $(call BuildPackage,python3-iniconfig-src))
|