python-attrs: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov 2017-02-06 16:56:23 +01:00 committed by Thomas Petazzoni
parent e026c3bdb8
commit 9ebf0a963f
4 changed files with 26 additions and 0 deletions

View 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"

View File

@ -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/

View File

@ -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

View File

@ -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))