You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.0 KiB

  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. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=python-wcwidth
  10. PKG_VERSION:=0.2.5
  11. PKG_RELEASE:=1
  12. PYPI_NAME:=wcwidth
  13. PKG_HASH:=c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=LICENSE.txt
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-wcwidth
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Terminal width calculation library
  25. URL:=https://github.com/jquast/wcwidth
  26. DEPENDS:=+python3-light
  27. endef
  28. define Package/python3-wcwidth/description
  29. Python library that measures the width of unicode strings rendered to a terminal
  30. endef
  31. $(eval $(call Py3Package,python3-wcwidth))
  32. $(eval $(call BuildPackage,python3-wcwidth))
  33. $(eval $(call BuildPackage,python3-wcwidth-src))