summaryrefslogtreecommitdiff
path: root/lang/python/python-ruamel-yaml/Makefile
diff options
context:
space:
mode:
authorAlexandru Ardelean <alex@shruggie.ro>2023-09-10 16:14:41 +0300
committerGitHub <noreply@github.com>2023-09-10 16:14:41 +0300
commitd94a5cf5857415c145a076ea681c7fce45a3a0f8 (patch)
treef64712c98ac30b2da1c216f0217fa545eee172b7 /lang/python/python-ruamel-yaml/Makefile
parentff83a8444957898ed856dd1ddb7f0379751fa584 (diff)
parentfdff92f0855d40d65a77d47e0e0db8e23f75a1f3 (diff)
Merge pull request #22038 from jefferyto/ruamel-yaml-0.17.32
ruamel-yaml: Update to 0.17.32, rename source package
Diffstat (limited to 'lang/python/python-ruamel-yaml/Makefile')
-rw-r--r--lang/python/python-ruamel-yaml/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/lang/python/python-ruamel-yaml/Makefile b/lang/python/python-ruamel-yaml/Makefile
new file mode 100644
index 000000000..a63b1642b
--- /dev/null
+++ b/lang/python/python-ruamel-yaml/Makefile
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2019 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-ruamel-yaml
+PKG_VERSION:=0.17.32
+PKG_RELEASE:=1
+
+PYPI_NAME:=ruamel.yaml
+PKG_HASH:=ec939063761914e14542972a5cba6d33c23b0859ab6342f61cf070cfc600efc2
+
+PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-ruamel-yaml
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=YAML 1.2 loader/dumper
+ URL:=https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree
+ DEPENDS:= \
+ +python3-light
+endef
+
+define Package/python3-ruamel-yaml/description
+ruamel-yaml is a YAML parser/emitter that supports roundtrip
+preservation of comments, seq/map flow style, and map key order
+endef
+
+$(eval $(call Py3Package,python3-ruamel-yaml))
+$(eval $(call BuildPackage,python3-ruamel-yaml))
+$(eval $(call BuildPackage,python3-ruamel-yaml-src))