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.

42 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2019 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.1.7
  11. PKG_RELEASE:=1
  12. PYPI_NAME:=wcwidth
  13. PKG_HASH:=3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  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. VARIANT:=python3
  28. endef
  29. define Package/python3-wcwidth/description
  30. Python library that measures the width of unicode strings rendered to a terminal
  31. endef
  32. $(eval $(call Py3Package,python3-wcwidth))
  33. $(eval $(call BuildPackage,python3-wcwidth))
  34. $(eval $(call BuildPackage,python3-wcwidth-src))