2016-03-18 02:02:26 +08:00
|
|
|
#
|
2018-01-10 17:35:11 +08:00
|
|
|
# Copyright (C) 2016-2018 OpenWrt.org
|
2016-03-18 02:02:26 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2018-01-10 17:35:11 +08:00
|
|
|
PKG_NAME:=python-attrs
|
2019-10-21 04:43:23 +08:00
|
|
|
PKG_VERSION:=19.3.0
|
2020-04-22 01:27:50 +08:00
|
|
|
PKG_RELEASE:=2
|
2016-03-18 02:02:26 +08:00
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
PYPI_NAME:=attrs
|
2019-10-21 04:43:23 +08:00
|
|
|
PKG_HASH:=f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72
|
2018-01-10 17:35:11 +08:00
|
|
|
|
2016-03-18 02:02:26 +08:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
include ../pypi.mk
|
2016-03-18 02:02:26 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 15:56:52 +08:00
|
|
|
include ../python3-package.mk
|
2018-01-10 17:35:11 +08:00
|
|
|
|
2020-04-22 01:27:50 +08:00
|
|
|
define Package/python3-attrs
|
2018-01-10 17:35:11 +08:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-20 15:19:26 +08:00
|
|
|
TITLE:=Classes Without Boilerplate
|
2019-03-22 21:48:27 +08:00
|
|
|
URL:=https://www.attrs.org/
|
2020-04-22 01:27:50 +08:00
|
|
|
DEPENDS:=+python3-light
|
2016-03-18 02:02:26 +08:00
|
|
|
endef
|
|
|
|
|
2020-04-01 22:21:16 +08:00
|
|
|
define Package/python3-attrs/description
|
2016-03-18 02:02:26 +08:00
|
|
|
attrs is an MIT-licensed Python package with class decorators that ease
|
|
|
|
the chores of implementing the most common attribute-related object
|
|
|
|
protocols.
|
|
|
|
endef
|
|
|
|
|
2018-01-10 17:35:11 +08:00
|
|
|
$(eval $(call Py3Package,python3-attrs))
|
|
|
|
$(eval $(call BuildPackage,python3-attrs))
|
2018-01-14 22:38:54 +08:00
|
|
|
$(eval $(call BuildPackage,python3-attrs-src))
|