2021-01-26 12:00:22 +01: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
|
|
|
|
# Depends on: python3-toml
|
|
|
|
|
2021-01-26 13:44:09 +01:00
|
|
|
name=sip
|
2021-10-04 23:29:37 +02:00
|
|
|
version=6.2.0
|
2021-01-26 12:00:22 +01: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
|
|
|
|
2021-01-26 12:00:22 +01:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --skip-build \
|
|
|
|
--root=$PKG \
|
|
|
|
--optimize=1
|
2021-10-04 23:29:37 +02:00
|
|
|
|
2021-01-26 12:00:22 +01:00
|
|
|
find $PKG \
|
|
|
|
-iname "*README*" \
|
|
|
|
-delete
|
|
|
|
}
|