17 lines
506 B
Plaintext
17 lines
506 B
Plaintext
# Description: Python subprocess replacement
|
|
# URL: https://pypi.python.org/pypi/sh
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-build python3-wheel python3-installer python3-poetry-core
|
|
|
|
name=python3-sh
|
|
version=2.0.6
|
|
release=1
|
|
source=(https://pypi.io/packages/source/s/sh/sh-$version.tar.gz)
|
|
|
|
build() {
|
|
cd sh-$version
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|