added extra/sip

This commit is contained in:
Kevin Mihelich 2023-12-06 19:33:13 +00:00
parent b86c7c9d90
commit 8f076d5f61
2 changed files with 48 additions and 0 deletions

18
extra/sip/.SRCINFO Normal file
View file

@ -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

30
extra/sip/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# 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
}