diff --git a/extra/sip/.SRCINFO b/extra/sip/.SRCINFO new file mode 100644 index 000000000..8f0057fd2 --- /dev/null +++ b/extra/sip/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = sip + pkgdesc = A tool that makes it easy to create Python bindings for C and C++ libraries + pkgver = 6.8.0 + pkgrel = 1 + url = https://www.riverbankcomputing.com/software/sip/intro + arch = any + license = custom:"sip" + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + depends = python + depends = python-packaging + depends = python-setuptools + depends = python-tomli + source = https://pypi.python.org/packages/source/s/sip/sip-6.8.0.tar.gz + sha256sums = 2ed1904820cb661b7207eb1dccfaebec1a5463dcad903ba448ad1945502d089c + +pkgname = sip diff --git a/extra/sip/PKGBUILD b/extra/sip/PKGBUILD new file mode 100644 index 000000000..afd633988 --- /dev/null +++ b/extra/sip/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas + +# removed when bumped upstream + +pkgname=sip +pkgver=6.8.0 +pkgrel=1 +arch=(any) +pkgdesc='A tool that makes it easy to create Python bindings for C and C++ libraries' +url='https://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +depends=(python + python-packaging + python-setuptools + python-tomli) +makedepends=(python-build + python-installer + python-wheel) +source=(https://pypi.python.org/packages/source/s/sip/$pkgname-$pkgver.tar.gz) +sha256sums=('2ed1904820cb661b7207eb1dccfaebec1a5463dcad903ba448ad1945502d089c') + +build() { + cd $pkgname-$pkgver + python -m build --wheel --no-isolation +} + +package() { + cd $pkgname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl +}