Jelajahi Sumber

python-bitstring: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yegor Yefremov 8 tahun lalu
induk
melakukan
c9129558b9

+ 1 - 0
package/Config.in

@@ -655,6 +655,7 @@ menu "External python modules"
 	source "package/python-babel/Config.in"
 	source "package/python-babel/Config.in"
 	source "package/python-backports-abc/Config.in"
 	source "package/python-backports-abc/Config.in"
 	source "package/python-beautifulsoup4/Config.in"
 	source "package/python-beautifulsoup4/Config.in"
+	source "package/python-bitstring/Config.in"
 	source "package/python-bottle/Config.in"
 	source "package/python-bottle/Config.in"
 	source "package/python-can/Config.in"
 	source "package/python-can/Config.in"
 	source "package/python-cbor/Config.in"
 	source "package/python-cbor/Config.in"

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

@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_BITSTRING
+	bool "python-bitstring"
+	help
+	  Simple construction, analysis and modification of binary data.
+
+	  https://github.com/scott-griffiths/bitstring

+ 2 - 0
package/python-bitstring/python-bitstring.hash

@@ -0,0 +1,2 @@
+# Locally computed:
+sha256	b769620c1b52d6c1548c6c4f055613f4eee3120ed8a5cff4ba4ffbbc8a582286  bitstring-3.1.5.tar.gz

+ 14 - 0
package/python-bitstring/python-bitstring.mk

@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-bitstring
+#
+################################################################################
+
+PYTHON_BITSTRING_VERSION = 3.1.5
+PYTHON_BITSTRING_SOURCE = bitstring-$(PYTHON_BITSTRING_VERSION).tar.gz
+PYTHON_BITSTRING_SITE = https://github.com/scott-griffiths/bitstring/archive
+PYTHON_BITSTRING_SETUP_TYPE = distutils
+PYTHON_BITSTRING_LICENSE = MIT
+PYTHON_BITSTRING_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))