summaryrefslogtreecommitdiff
path: root/python-rich/Makefile
blob: 59c6679653a450969028ab503d222b8a53820102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Copyright (C) 2021 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-rich
PKG_VERSION:=12.0.0
PKG_RELEASE:=1

PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE

PYPI_NAME:=rich
PKG_HASH:=14bfd0507edc633e021b02c45cbf7ca22e33b513817627b8de3412f047a3e798

include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk

define Package/python3-rich
  SECTION:=lang-python
  CATEGORY:=Languages
  SUBMENU:=Python
  TITLE:=Render rich text and more to the terminal
  URL:=https://github.com/willmcgugan/rich
  DEPENDS:=+python3-light \
	+python3-pygments \
	+python3-commonmark
  VARIANT:=python3
endef

define Package/python3-rich/description
 Render rich text, tables, progress bars, syntax highlighting, markdown and more
 to the terminal.
endef

$(eval $(call Py3Package,python3-rich))
$(eval $(call BuildPackage,python3-rich))
$(eval $(call BuildPackage,python3-rich-src))