2021-04-30 21:12:19 +00:00
|
|
|
# Description: A python package that provides useful locks
|
2021-06-15 20:09:47 +00:00
|
|
|
# URL: https://github.com/harlowja/fasteners
|
2021-04-30 21:12:19 +00:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-09-20 17:23:58 +02:00
|
|
|
# Depends on: python3-build python3-installer python3-wheel
|
2021-06-05 07:58:40 +00:00
|
|
|
# Optional: python3-six
|
2021-04-30 21:12:19 +00:00
|
|
|
|
|
|
|
name=python3-fasteners
|
2023-09-20 17:23:58 +02:00
|
|
|
version=0.19
|
2021-04-30 21:12:19 +00:00
|
|
|
release=1
|
2021-06-15 20:09:47 +00:00
|
|
|
source=(https://pypi.org/packages/source/f/fasteners/fasteners-$version.tar.gz)
|
2021-04-30 21:12:19 +00:00
|
|
|
|
|
|
|
build() {
|
2021-06-15 20:09:47 +00:00
|
|
|
cd fasteners-$version
|
2022-02-16 15:31:53 +01:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
2022-07-10 18:52:17 +02:00
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2021-04-30 21:12:19 +00:00
|
|
|
}
|