blob: d93b939c29d0a69ddbd6a37696d338c18dea4de0 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2016, 2018-2023 Jeffery To
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-attrs
11PKG_VERSION:=23.1.0
12PKG_RELEASE:=1
13
14PYPI_NAME:=attrs
15PKG_HASH:=6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015
16
17PKG_LICENSE:=MIT
18PKG_LICENSE_FILES:=LICENSE
19PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host
22
23include ../pypi.mk
24include $(INCLUDE_DIR)/package.mk
25include ../python3-package.mk
26
27define Package/python3-attrs
28 SECTION:=lang
29 CATEGORY:=Languages
30 SUBMENU:=Python
31 TITLE:=Classes Without Boilerplate
32 URL:=https://www.attrs.org/
33 DEPENDS:=+python3-light
34endef
35
36define Package/python3-attrs/description
37attrs is an MIT-licensed Python package with class decorators that ease
38the chores of implementing the most common attribute-related object
39protocols.
40endef
41
42$(eval $(call Py3Package,python3-attrs))
43$(eval $(call BuildPackage,python3-attrs))
44$(eval $(call BuildPackage,python3-attrs-src))