2016-03-17 19:02:26 +01:00
|
|
|
#
|
2023-05-17 10:27:16 +02:00
|
|
|
# Copyright (C) 2016, 2018-2023 Jeffery To
|
2016-03-17 19:02:26 +01: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 10:35:11 +01:00
|
|
|
PKG_NAME:=python-attrs
|
2023-05-17 10:27:16 +02:00
|
|
|
PKG_VERSION:=23.1.0
|
2020-08-30 18:55:20 +02:00
|
|
|
PKG_RELEASE:=1
|
2016-03-17 19:02:26 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=attrs
|
2023-05-17 10:27:16 +02:00
|
|
|
PKG_HASH:=6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015
|
2018-01-10 10:35:11 +01:00
|
|
|
|
2016-03-17 19:02:26 +01:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
2023-05-17 10:27:16 +02:00
|
|
|
PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2016-03-17 19:02:26 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 08:56:52 +01:00
|
|
|
include ../python3-package.mk
|
2018-01-10 10:35:11 +01:00
|
|
|
|
2020-04-21 19:27:50 +02:00
|
|
|
define Package/python3-attrs
|
2018-01-10 10:35:11 +01:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-20 08:19:26 +01:00
|
|
|
TITLE:=Classes Without Boilerplate
|
2019-03-22 14:48:27 +01:00
|
|
|
URL:=https://www.attrs.org/
|
2020-04-21 19:27:50 +02:00
|
|
|
DEPENDS:=+python3-light
|
2016-03-17 19:02:26 +01:00
|
|
|
endef
|
|
|
|
|
2020-04-01 16:21:16 +02:00
|
|
|
define Package/python3-attrs/description
|
2016-03-17 19:02:26 +01: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 10:35:11 +01:00
|
|
|
$(eval $(call Py3Package,python3-attrs))
|
|
|
|
$(eval $(call BuildPackage,python3-attrs))
|
2018-01-14 15:38:54 +01:00
|
|
|
$(eval $(call BuildPackage,python3-attrs-src))
|