diff options
author | Karel Kočí <cynerd@email.cz> | 2022-03-11 12:24:25 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-03-11 12:24:25 +0100 |
commit | d1bed62641e895f0a1191c4c7844500b54b57828 (patch) | |
tree | 4524fbffd0a9db7b22ff9c71f61f36a8584dd303 /python-commonmark/Makefile | |
parent | 403d4e98cadc69a238060cce2614537f94a76ba9 (diff) | |
download | openwrt-personal-pkgs-d1bed62641e895f0a1191c4c7844500b54b57828.tar.gz openwrt-personal-pkgs-d1bed62641e895f0a1191c4c7844500b54b57828.tar.bz2 openwrt-personal-pkgs-d1bed62641e895f0a1191c4c7844500b54b57828.zip |
python-rich: add missing dependencies and update to latest version
Diffstat (limited to 'python-commonmark/Makefile')
-rw-r--r-- | python-commonmark/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/python-commonmark/Makefile b/python-commonmark/Makefile new file mode 100644 index 0000000..621dde4 --- /dev/null +++ b/python-commonmark/Makefile @@ -0,0 +1,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)) |