Files
packages/lang/python/python-attrs/Makefile
Alexandru Ardelean 54e813217a python-attrs: bump to 26.1.0
Changelog since 25.3.0:
- v25.4.0: Add python-hatch-fancy-pypi-readme as build dependency
- v26.1.0: Field aliases now resolved before calling field_transformer,
  with new Attribute.alias_is_default flag (#1509); fix type annotations
  for validators.optional() with tuples (#1496); validators.disabled()
  now supports nesting (#1513); frozen classes support
  on_setattr=attrs.setters.NO_OP (#1515); attrs.fields() accepts
  instances in addition to classes (#1529)

Full changelog: https://www.attrs.org/en/stable/changelog.html

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-23 11:08:42 +02:00

45 lines
1.1 KiB
Makefile

#
# Copyright (C) 2016, 2018-2023 Jeffery To
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-attrs
PKG_VERSION:=26.1.0
PKG_RELEASE:=1
PYPI_NAME:=attrs
PKG_HASH:=d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-attrs
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Classes Without Boilerplate
URL:=https://www.attrs.org/
DEPENDS:=+python3-light +python3-codecs
endef
define Package/python3-attrs/description
attrs is an MIT-licensed Python package with class decorators that ease
the chores of implementing the most common attribute-related object
protocols.
endef
$(eval $(call Py3Package,python3-attrs))
$(eval $(call BuildPackage,python3-attrs))
$(eval $(call BuildPackage,python3-attrs-src))