contrib/sip/Pkgfile

23 lines
586 B
Plaintext
Raw Normal View History

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
2023-10-15 00:04:43 +02:00
# Depends on: python3-packaging python3-ply python3-toml python3-tomli
2021-01-26 12:00:22 +01:00
2021-01-26 13:44:09 +01:00
name=sip
2024-02-10 09:52:21 +01:00
version=6.8.3
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
}