2018-08-13 16:14:40 +02:00
|
|
|
|
#
|
2021-12-31 12:38:05 +01:00
|
|
|
|
# Copyright (C) 2019-2O21 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
2018-08-13 16:14:40 +02:00
|
|
|
|
#
|
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=python-markdown
|
2023-08-11 19:30:24 +02:00
|
|
|
|
PKG_VERSION:=3.4.4
|
2020-11-03 01:31:32 +01:00
|
|
|
|
PKG_RELEASE:=1
|
2018-08-13 16:14:40 +02:00
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
|
PYPI_NAME:=Markdown
|
2023-08-11 19:30:24 +02:00
|
|
|
|
PKG_HASH:=225c6123522495d4119a90b3a3ba31a1e87a70369e03f14799ea9c0d7183a3d6
|
2018-08-13 16:14:40 +02:00
|
|
|
|
|
2023-09-04 11:00:32 +02:00
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2018-08-13 16:14:40 +02:00
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.md
|
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
|
include ../pypi.mk
|
2018-08-13 16:14:40 +02:00
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
|
|
define Package/python3-markdown
|
|
|
|
|
SECTION:=lang
|
|
|
|
|
CATEGORY:=Languages
|
|
|
|
|
SUBMENU:=Python
|
2023-08-11 19:30:24 +02:00
|
|
|
|
TITLE:=Implementation of John Gruber's Markdown
|
2018-08-13 16:14:40 +02:00
|
|
|
|
URL:=https://python-markdown.github.io/
|
|
|
|
|
DEPENDS:= \
|
|
|
|
|
+python3-light \
|
2023-08-11 19:30:24 +02:00
|
|
|
|
+python3-codecs \
|
|
|
|
|
+python3-logging \
|
|
|
|
|
+python3-xml
|
2018-08-13 16:14:40 +02:00
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/python3-markdown/description
|
2023-08-11 19:30:24 +02:00
|
|
|
|
This is a Python implementation of John Gruber’s Markdown. It is almost
|
|
|
|
|
completely compliant with the reference implementation, though there are
|
|
|
|
|
a few very minor differences.
|
2018-08-13 16:14:40 +02:00
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-markdown))
|
|
|
|
|
$(eval $(call BuildPackage,python3-markdown))
|
|
|
|
|
$(eval $(call BuildPackage,python3-markdown-src))
|