python-attrs: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 6 Feb 2017 15:56:23 +0000 (16:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Feb 2017 16:15:35 +0000 (17:15 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-attrs/Config.in [new file with mode: 0644]
package/python-attrs/python-attrs.hash [new file with mode: 0644]
package/python-attrs/python-attrs.mk [new file with mode: 0644]

index cb6c12e6ab40dec856f19718156e767da6b092b5..907b1e6743b29636cd1e29f4b8708f6945a0524e 100644 (file)
@@ -650,6 +650,7 @@ menu "External python modules"
        source "package/python-alsaaudio/Config.in"
        source "package/python-argh/Config.in"
        source "package/python-arrow/Config.in"
+       source "package/python-attrs/Config.in"
        source "package/python-autobahn/Config.in"
        source "package/python-babel/Config.in"
        source "package/python-backports-abc/Config.in"
diff --git a/package/python-attrs/Config.in b/package/python-attrs/Config.in
new file mode 100644 (file)
index 0000000..fb0ab24
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_ATTRS
+       bool "python-attrs"
+       help
+         attrs is the Python package that will bring back the joy of
+         writing classes by relieving you from the drudgery of
+         implementing object protocols (aka dunder methods).
+
+         https://attrs.readthedocs.io/
diff --git a/package/python-attrs/python-attrs.hash b/package/python-attrs/python-attrs.hash
new file mode 100644 (file)
index 0000000..33ecd2c
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/attrs/json, sha256 locally computed
+md5    4ec003c49360853cf935113d1ae56151  attrs-16.3.0.tar.gz
+sha256 80203177723e36f3bbe15aa8553da6e80d47bfe53647220ccaa9ad7a5e473ccc  attrs-16.3.0.tar.gz
diff --git a/package/python-attrs/python-attrs.mk b/package/python-attrs/python-attrs.mk
new file mode 100644 (file)
index 0000000..5e7985a
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-attrs
+#
+################################################################################
+
+PYTHON_ATTRS_VERSION = 16.3.0
+PYTHON_ATTRS_SOURCE = attrs-$(PYTHON_ATTRS_VERSION).tar.gz
+PYTHON_ATTRS_SITE = https://pypi.python.org/packages/01/b0/3ac73bf6df716a38568a16f6a9cbc46cc9e8ed6fe30c8768260030db55d4
+PYTHON_ATTRS_SETUP_TYPE = setuptools
+PYTHON_ATTRS_LICENSE = MIT
+PYTHON_ATTRS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))