Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / lang / python / python-wcwidth / Makefile
1 #
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
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=python-wcwidth
12 PKG_VERSION:=0.2.5
13 PKG_RELEASE:=1
14
15 PYPI_NAME:=wcwidth
16 PKG_HASH:=c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83
17
18 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
19 PKG_LICENSE:=MIT
20 PKG_LICENSE_FILES:=LICENSE.txt
21
22 include ../pypi.mk
23 include $(INCLUDE_DIR)/package.mk
24 include ../python3-package.mk
25
26 define 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
33 endef
34
35 define Package/python3-wcwidth/description
36 Python library that measures the width of unicode strings rendered to a terminal
37 endef
38
39 $(eval $(call Py3Package,python3-wcwidth))
40 $(eval $(call BuildPackage,python3-wcwidth))
41 $(eval $(call BuildPackage,python3-wcwidth-src))