Skip to contentSkip to conversation

python-attrs: new package

PATCH New yegorslists at googlemail.com 2 participants 3 messages Feb 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-attrs: new package

From: Yegor Yefremov <[email protected]>

---
 package/Config.in                      |  1 +
 package/python-attrs/Config.in         |  8 ++++++++
 package/python-attrs/python-attrs.hash |  3 +++
 package/python-attrs/python-attrs.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-attrs/Config.in
 create mode 100644 package/python-attrs/python-attrs.hash
 create mode 100644 package/python-attrs/python-attrs.mk
package/Config.in +1 -0
index d1c517aa5..304a78046 100644
@@ -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"
package/python-attrs/Config.in new file +8 -0
new file mode 100644
index 000000000..fb0ab248f
@@ -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/
package/python-attrs/python-attrs.hash new file +3 -0
new file mode 100644
index 000000000..33ecd2c0f
@@ -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
package/python-attrs/python-attrs.mk new file +14 -0
new file mode 100644
index 000000000..5e7985a3f
@@ -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))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 python-bitstring: new package

From: Yegor Yefremov <[email protected]>

---
 package/Config.in                              |  1 +
 package/python-bitstring/Config.in             |  6 ++++++
 package/python-bitstring/python-bitstring.hash |  2 ++
 package/python-bitstring/python-bitstring.mk   | 14 ++++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/python-bitstring/Config.in
 create mode 100644 package/python-bitstring/python-bitstring.hash
 create mode 100644 package/python-bitstring/python-bitstring.mk
package/Config.in +1 -0
index 304a78046..09672b955 100644
@@ -655,6 +655,7 @@ menu "External python modules"
 	source "package/python-babel/Config.in"
 	source "package/python-backports-abc/Config.in"
 	source "package/python-beautifulsoup4/Config.in"
+	source "package/python-bitstring/Config.in"
 	source "package/python-bottle/Config.in"
 	source "package/python-can/Config.in"
 	source "package/python-cbor/Config.in"
package/python-bitstring/Config.in new file +6 -0
new file mode 100644
index 000000000..93d768257
@@ -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
package/python-bitstring/python-bitstring.hash new file +2 -0
new file mode 100644
index 000000000..52630e0aa
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256	b769620c1b52d6c1548c6c4f055613f4eee3120ed8a5cff4ba4ffbbc8a582286  bitstring-3.1.5.tar.gz
package/python-bitstring/python-bitstring.mk new file +14 -0
new file mode 100644
index 000000000..2c8fb9959
@@ -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))
Signature · 1 line
2.11.0
#2 lore raw

PATCH 1/2 python-attrs: new package

In reply to yegorslists at googlemail.com

Hello,

Quoted 12 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 package/Config.in                      |  1 +
 package/python-attrs/Config.in         |  8 ++++++++
 package/python-attrs/python-attrs.hash |  3 +++
 package/python-attrs/python-attrs.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-attrs/Config.in
 create mode 100644 package/python-attrs/python-attrs.hash
 create mode 100644 package/python-attrs/python-attrs.mk

Both applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com