summaryrefslogtreecommitdiff
path: root/lang/python/python-toml/Makefile
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2020-08-24 13:14:35 +0200
committerGitHub <noreply@github.com>2020-08-24 13:14:35 +0200
commitf70d02511731a94f759b01dc9f2b8af606082bd8 (patch)
tree81212a84c99fb0ce4854111081d45b466fc22bab /lang/python/python-toml/Makefile
parent7df1e45985eaa30a5d4677e874b71ee4b19b765b (diff)
parentbbbea447804035e37dd7a6cb1327fe6fad3472b0 (diff)
Merge pull request #12480 from ja-pa/python-pytest-update
python-pytest: update to version 6.0.1
Diffstat (limited to 'lang/python/python-toml/Makefile')
-rw-r--r--lang/python/python-toml/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/python/python-toml/Makefile b/lang/python/python-toml/Makefile
new file mode 100644
index 000000000..5ee5c5411
--- /dev/null
+++ b/lang/python/python-toml/Makefile
@@ -0,0 +1,40 @@
+#
+# Copyright (C) 2020 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-toml
+PKG_VERSION:=0.10.1
+PKG_RELEASE:=1
+
+PYPI_NAME:=toml
+PKG_HASH:=926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f
+
+PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-toml
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=A Python library for parsing and creating TOML
+ URL:=https://github.com/uiri/toml
+ DEPENDS:= +python3-light +python3-decimal
+endef
+
+define Package/python3-toml/description
+ Python Library for Tom's Obvious, Minimal Language
+endef
+
+$(eval $(call Py3Package,python3-toml))
+$(eval $(call BuildPackage,python3-toml))
+$(eval $(call BuildPackage,python3-toml-src))