contrib/sip/Pkgfile

21 lines
606 B
Plaintext

# Description: A tool that makes it easy to create Python bindings for C and C++ libraries
# URL: https://www.riverbankcomputing.com/software/sip/intro
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-hatchling python3-ply python3-toml
name=sip
version=6.8.6
release=1
source=(https://pypi.python.org/packages/source/s/sip/sip-$version.tar.gz)
build() {
cd sip-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
find $PKG \
-iname "*README*" \
-delete
}