summaryrefslogtreecommitdiff
path: root/python-pygments/Makefile
blob: 9db49ff5f74c6ff1944e02dea72678b1ea29ce4f (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
#
# Copyright (C) 2022 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-pygments
PKG_VERSION:=2.11.2
PKG_RELEASE:=1

PKG_LICENSE:=BSD
PKG_LICENSE_FILES:=LICENSE

PYPI_NAME:=Pygments
PKG_HASH:=4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a

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-pygments
  SECTION:=lang-python
  CATEGORY:=Languages
  SUBMENU:=Python
  TITLE:=Pygments
  URL:=https://pygments.org/
  DEPENDS:=+python3-light
  VARIANT:=python3
endef

define Package/python3-pygments/description
  Pygments is a syntax highlighting package written in Python.
endef

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