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
|
|
|
|
# Depends on: python3-toml
|
|
|
|
|
2021-01-26 12:44:09 +00:00
|
|
|
name=sip
|
2021-10-14 14:32:05 +02:00
|
|
|
version=6.3.1
|
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
|
|
|
|
2021-01-26 11:00:22 +00: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 11:00:22 +00:00
|
|
|
find $PKG \
|
|
|
|
-iname "*README*" \
|
|
|
|
-delete
|
|
|
|
}
|