2017-11-05 18:18:17 +11:00
|
|
|
# Description: python classes without boilerplate.
|
|
|
|
# URL: https://pypi.python.org/pypi/attrs
|
2023-08-13 09:22:21 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-04-29 20:49:22 +02:00
|
|
|
# Depends on: python3-hatch-fancy-pypi-readme python3-hatch-vcs
|
2017-11-05 18:18:17 +11:00
|
|
|
|
|
|
|
name=python3-attrs
|
2023-04-29 20:49:22 +02:00
|
|
|
version=23.1.0
|
2017-11-05 18:18:17 +11:00
|
|
|
release=1
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2023-08-13 09:22:21 +02:00
|
|
|
cd ${name#*-}-$version
|
2023-04-29 20:49:22 +02:00
|
|
|
|
2023-08-13 09:22:21 +02:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2017-11-05 18:18:17 +11:00
|
|
|
}
|