2021-01-26 11:00:22 +00:00
|
|
|
# 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
|
2024-06-22 11:34:14 +02:00
|
|
|
# Depends on: python3-build python3-installer python3-ply python3-toml python3-wheel
|
2021-01-26 11:00:22 +00:00
|
|
|
|
2021-01-26 12:44:09 +00:00
|
|
|
name=sip
|
2024-07-12 20:49:16 +02:00
|
|
|
version=6.8.6
|
2021-01-26 11:00:22 +00:00
|
|
|
release=1
|
|
|
|
source=(https://pypi.python.org/packages/source/s/sip/sip-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd sip-$version
|
2021-10-04 23:29:37 +02:00
|
|
|
|
2024-06-22 11:34:14 +02:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2021-10-04 23:29:37 +02:00
|
|
|
|
2021-01-26 11:00:22 +00:00
|
|
|
find $PKG \
|
|
|
|
-iname "*README*" \
|
|
|
|
-delete
|
|
|
|
}
|