python-typepy: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 18 Jul 2017 10:36:04 +0000 (12:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Jul 2017 19:56:57 +0000 (21:56 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-typepy/Config.in [new file with mode: 0644]
package/python-typepy/python-typepy.hash [new file with mode: 0644]
package/python-typepy/python-typepy.mk [new file with mode: 0644]

index 28cb6f145459ee9179e5f66027e239db79d09388..1775fc16264ded78d42b42bb92d452b1dadd8da9 100644 (file)
@@ -864,6 +864,7 @@ menu "External python modules"
        source "package/python-sortedcontainers//Config.in"
        source "package/python-spidev/Config.in"
        source "package/python-tempora/Config.in"
+       source "package/python-typepy/Config.in"
        source "package/python-thrift/Config.in"
        source "package/python-tomako/Config.in"
        source "package/python-toml/Config.in"
diff --git a/package/python-typepy/Config.in b/package/python-typepy/Config.in
new file mode 100644 (file)
index 0000000..866a067
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_TYPEPY
+       bool "python-typepy"
+       select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
+       select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
+       select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
+       select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime
+       select BR2_PACKAGE_PYTHON_PYTZ # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       help
+         A Python library for variable type checker/validator/converter at a
+         run time.
+
+         https://github.com/thombashi/typepy
diff --git a/package/python-typepy/python-typepy.hash b/package/python-typepy/python-typepy.hash
new file mode 100644 (file)
index 0000000..7700390
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/typepy/json, sha256 locally computed
+md5    a8ab7edcf8f52bb091121e90d21dc113  typepy-0.0.14.tar.gz
+sha256 ef07125b464a6808b7ac052d7ee35873a4424a95dbc9d7db71a380d0135d9981  typepy-0.0.14.tar.gz
diff --git a/package/python-typepy/python-typepy.mk b/package/python-typepy/python-typepy.mk
new file mode 100644 (file)
index 0000000..10270bb
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-typepy
+#
+################################################################################
+
+PYTHON_TYPEPY_VERSION = 0.0.14
+PYTHON_TYPEPY_SOURCE = typepy-$(PYTHON_TYPEPY_VERSION).tar.gz
+PYTHON_TYPEPY_SITE = https://pypi.python.org/packages/5c/1a/3836e06f2f476e785006bb0f9305160577586a8d4ae2a017fc778f580344
+PYTHON_TYPEPY_SETUP_TYPE = setuptools
+PYTHON_TYPEPY_LICENSE = MIT
+PYTHON_TYPEPY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))