blob: 03af3f5f8155ae153890fe0c9eba92f0598c4db7 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2019-2020 CZ.NIC z.s.p.o. (http://www.nic.cz/)
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=python-wcwidth
12PKG_VERSION:=0.2.6
13PKG_RELEASE:=1
14
15PYPI_NAME:=wcwidth
16PKG_HASH:=a5220780a404dbe3353789870978e472cfe477761f06ee55077256e509b156d0
17
18PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
19PKG_LICENSE:=MIT
20PKG_LICENSE_FILES:=LICENSE
21
22include ../pypi.mk
23include $(INCLUDE_DIR)/package.mk
24include ../python3-package.mk
25
26define Package/python3-wcwidth
27 SECTION:=lang
28 CATEGORY:=Languages
29 SUBMENU:=Python
30 TITLE:=Terminal width calculation library
31 URL:=https://github.com/jquast/wcwidth
32 DEPENDS:=+python3-light
33endef
34
35define Package/python3-wcwidth/description
36Python library that measures the width of unicode strings rendered to a
37terminal
38endef
39
40$(eval $(call Py3Package,python3-wcwidth))
41$(eval $(call BuildPackage,python3-wcwidth))
42$(eval $(call BuildPackage,python3-wcwidth-src))