summaryrefslogtreecommitdiff
path: root/python-commonmark/Makefile
blob: 621dde432352068c35694221c35caf440b44da7f (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
#
# 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-commonmark
PKG_VERSION:=0.9.1
PKG_RELEASE:=1

PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE

PYPI_NAME:=commonmark
PKG_HASH:=452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60

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-commonmark
  SECTION:=lang-python
  CATEGORY:=Languages
  SUBMENU:=Python
  TITLE:=CommonMark
  URL:=https://github.com/rtfd/commonmark.py
  DEPENDS:=+python3-light
  VARIANT:=python3
endef

define Package/python3-commonmark/description
 Markdown parser and renderer for the CommonMark specification, using only
 native modules.
endef

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