2021-06-14 21:51:53 +02:00
|
|
|
# Description: Poetry PEP 517 Build Backend & Core Utilities
|
|
|
|
# URL: https://github.com/python-poetry/poetry-core
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-07-10 18:08:40 +02:00
|
|
|
# Depends on: python3-installer python3-jsonschema python3-lark-parser python3-tomlkit
|
2021-06-14 21:51:53 +02:00
|
|
|
|
|
|
|
name=python3-poetry-core
|
2022-09-02 22:43:58 +02:00
|
|
|
version=1.1.0
|
2022-03-02 15:48:09 +01:00
|
|
|
release=1
|
2022-05-18 07:40:55 +02:00
|
|
|
source=(https://github.com/python-poetry/poetry-core/archive/$version/$name-$version.tar.gz)
|
2021-06-14 21:51:53 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd poetry-core-$version
|
2022-05-18 07:40:55 +02:00
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
2022-07-10 18:08:40 +02:00
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2021-06-14 21:51:53 +02:00
|
|
|
}
|