2022-03-27 19:10:24 +02:00
|
|
|
# Description: Design and implementation for a planned importlib.resources
|
|
|
|
# URL: https://github.com/python/importlib_resources
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-08-07 18:48:27 +02:00
|
|
|
# Depends on: python3-toml python3-zipp
|
2022-03-27 19:10:24 +02:00
|
|
|
|
|
|
|
name=python3-importlib_resources
|
2024-03-22 00:55:28 +01:00
|
|
|
version=6.4.0
|
2022-03-27 19:10:24 +02:00
|
|
|
release=1
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/i/importlib_resources/importlib_resources-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd importlib_resources-$version
|
2022-03-29 19:39:18 +02:00
|
|
|
/usr/bin/python3 -m build \
|
|
|
|
--wheel \
|
|
|
|
--skip-dependency-check \
|
|
|
|
--no-isolation
|
2022-07-10 18:51:18 +02:00
|
|
|
/usr/bin/python3 -m installer \
|
|
|
|
--compile-bytecode 0 \
|
2022-03-29 19:39:18 +02:00
|
|
|
--destdir=$PKG dist/*.whl
|
2022-03-27 19:10:24 +02:00
|
|
|
}
|