# Description: python classes without boilerplate.
# URL: https://pypi.python.org/pypi/attrs
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-hatch-fancy-pypi-readme python3-hatch-vcs

name=python3-attrs
version=23.1.0
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)

build() {
	cd ${name#*-}-$version

	/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
	/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
