diff mbox

[v2,2/3] python-backports-abc: new package

Message ID 1450251372-7064-2-git-send-email-yegorslists@googlemail.com
State Accepted
Headers show

Commit Message

Yegor Yefremov Dec. 16, 2015, 7:36 a.m. UTC
From: Yegor Yefremov <yegorslists@googlemail.com>

A backport of recent additions to the 'collections.abc' module.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes:
	v2: make the patch a part of the Tornado update series

 package/Config.in                                      |  1 +
 package/python-backports-abc/Config.in                 |  7 +++++++
 package/python-backports-abc/python-backports-abc.hash |  3 +++
 package/python-backports-abc/python-backports-abc.mk   | 13 +++++++++++++
 4 files changed, 24 insertions(+)
 create mode 100644 package/python-backports-abc/Config.in
 create mode 100644 package/python-backports-abc/python-backports-abc.hash
 create mode 100644 package/python-backports-abc/python-backports-abc.mk

Comments

Thomas Petazzoni Dec. 18, 2015, 9:26 p.m. UTC | #1
Hello,

On Wed, 16 Dec 2015 08:36:11 +0100, yegorslists@googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> A backport of recent additions to the 'collections.abc' module.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> Changes:
> 	v2: make the patch a part of the Tornado update series

I've applied. However, it is not really great that the package doesn't
carry any license information. The PKG-INFO file even says that the
license is "UNKNOWN". Can you talk with upstream so that they clarify
the license of this package (which obviously must be the same license
as Python itself, but it is better if it's clearly said).

Thanks!

Thomas
Yegor Yefremov Dec. 18, 2015, 10:29 p.m. UTC | #2
On Fri, Dec 18, 2015 at 10:26 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Wed, 16 Dec 2015 08:36:11 +0100, yegorslists@googlemail.com wrote:
>> From: Yegor Yefremov <yegorslists@googlemail.com>
>>
>> A backport of recent additions to the 'collections.abc' module.
>>
>> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
>> ---
>> Changes:
>>       v2: make the patch a part of the Tornado update series
>
> I've applied. However, it is not really great that the package doesn't
> carry any license information. The PKG-INFO file even says that the
> license is "UNKNOWN". Can you talk with upstream so that they clarify
> the license of this package (which obviously must be the same license
> as Python itself, but it is better if it's clearly said).

Thanks. I'll take care of this.

Yegor
diff mbox

Patch

diff --git a/package/Config.in b/package/Config.in
index 1f5a590..d31b503 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -599,6 +599,7 @@  endif
 if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "External python modules"
 	source "package/python-alsaaudio/Config.in"
+	source "package/python-backports-abc/Config.in"
 	source "package/python-bottle/Config.in"
 	source "package/python-can/Config.in"
 	source "package/python-certifi/Config.in"
diff --git a/package/python-backports-abc/Config.in b/package/python-backports-abc/Config.in
new file mode 100644
index 0000000..26d8cfd
--- /dev/null
+++ b/package/python-backports-abc/Config.in
@@ -0,0 +1,7 @@ 
+config BR2_PACKAGE_PYTHON_BACKPORTS_ABC
+	bool "python-backports-abc"
+	help
+	  A backport of recent additions to the 'collections.abc'
+	  module.
+
+	  https://pypi.python.org/pypi/backports_abc
diff --git a/package/python-backports-abc/python-backports-abc.hash b/package/python-backports-abc/python-backports-abc.hash
new file mode 100644
index 0000000..07e954e
--- /dev/null
+++ b/package/python-backports-abc/python-backports-abc.hash
@@ -0,0 +1,3 @@ 
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=0b65a216ce9dc9c1a7e20a729dd7c05b, sha256 locally computed
+md5     0b65a216ce9dc9c1a7e20a729dd7c05b backports_abc-0.4.tar.gz
+sha256  8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5  backports_abc-0.4.tar.gz
diff --git a/package/python-backports-abc/python-backports-abc.mk b/package/python-backports-abc/python-backports-abc.mk
new file mode 100644
index 0000000..1e3a9a6
--- /dev/null
+++ b/package/python-backports-abc/python-backports-abc.mk
@@ -0,0 +1,13 @@ 
+################################################################################
+#
+# python-backports-abc
+#
+################################################################################
+
+PYTHON_BACKPORTS_ABC_VERSION = 0.4
+PYTHON_BACKPORTS_ABC_SOURCE = backports_abc-$(PYTHON_BACKPORTS_ABC_VERSION).tar.gz
+PYTHON_BACKPORTS_ABC_SITE = https://pypi.python.org/packages/source/b/backports_abc
+PYTHON_BACKPORTS_ABC_LICENSE = Python Software Foundation License
+PYTHON_BACKPORTS_ABC_SETUP_TYPE = setuptools
+
+$(eval $(python-package))