Ver código fonte

package/python-tomlkit: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
James Hilliard 1 ano atrás
pai
commit
8a549a1bad

+ 1 - 0
package/Config.in

@@ -1397,6 +1397,7 @@ menu "External python modules"
 	source "package/python-tomako/Config.in"
 	source "package/python-toml/Config.in"
 	source "package/python-tomli/Config.in"
+	source "package/python-tomlkit/Config.in"
 	source "package/python-tornado/Config.in"
 	source "package/python-tortoise-orm/Config.in"
 	source "package/python-tqdm/Config.in"

+ 6 - 0
package/python-tomlkit/Config.in

@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_TOMLKIT
+	bool "python-tomlkit"
+	help
+	  Style preserving TOML library.
+
+	  https://github.com/sdispater/tomlkit

+ 5 - 0
package/python-tomlkit/python-tomlkit.hash

@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/tomlkit/json
+md5  e182df9625d617692a9ae035266634fe  tomlkit-0.12.4.tar.gz
+sha256  7ca1cfc12232806517a8515047ba66a19369e71edf2439d0f5824f91032b6cc3  tomlkit-0.12.4.tar.gz
+# Locally computed sha256 checksums
+sha256  f2f9b460ba719da6626add264d3782f275a4ff7aab677beda08b330911e23adb  LICENSE

+ 15 - 0
package/python-tomlkit/python-tomlkit.mk

@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-tomlkit
+#
+################################################################################
+
+PYTHON_TOMLKIT_VERSION = 0.12.4
+PYTHON_TOMLKIT_SOURCE = tomlkit-$(PYTHON_TOMLKIT_VERSION).tar.gz
+PYTHON_TOMLKIT_SITE = https://files.pythonhosted.org/packages/7d/49/4c0764898ee67618996148bdba4534a422c5e698b4dbf4001f7c6f930797
+PYTHON_TOMLKIT_SETUP_TYPE = pep517
+PYTHON_TOMLKIT_LICENSE = MIT
+PYTHON_TOMLKIT_LICENSE_FILES = LICENSE
+PYTHON_TOMLKIT_DEPENDENCIES = host-python-poetry-core
+
+$(eval $(python-package))