* update sip to 6.8.6-1

This commit is contained in:
Alexander Baldeck 2024-08-08 14:41:53 +02:00
parent d5eb9adc3f
commit d36b068a43
3 changed files with 33 additions and 8 deletions

19
python/sip/.SRCINFO Normal file
View File

@ -0,0 +1,19 @@
pkgbase = sip
pkgdesc = A tool that makes it easy to create Python bindings for C and C++ libraries
pkgver = 6.8.6
pkgrel = 1
url = https://www.riverbankcomputing.com/
arch = any
license = BSD-2-Clause
makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools-scm
makedepends = python-wheel
depends = python
depends = python-packaging
depends = python-setuptools
source = git+https://github.com/Python-SIP/sip#tag=6.8.6
sha256sums = 2489fc17c34b30451564c296fa5460b90beca6c831e25dd3ed43f96a4832b48f
pkgname = sip

View File

@ -0,0 +1,3 @@
[sip]
source = 'pypi'
pypi = 'sip'

View File

@ -2,27 +2,30 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=sip
pkgver=6.8.3
pkgrel=3
pkgver=6.8.6
pkgrel=1
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
pkgdesc='A tool that makes it easy to create Python bindings for C and C++ libraries'
url='https://www.riverbankcomputing.com/'
license=('custom:"sip"')
license=(BSD-2-Clause)
depends=(python
python-packaging
python-setuptools)
makedepends=(python-build
makedepends=(git
python-build
python-installer
python-setuptools-scm
python-wheel)
source=(https://pypi.python.org/packages/source/s/sip/$pkgname-$pkgver.tar.gz)
sha256sums=('888547b018bb24c36aded519e93d3e513d4c6aa0ba55b7cc1affbd45cf10762c')
source=(git+https://github.com/Python-SIP/sip#tag=$pkgver)
sha256sums=('2489fc17c34b30451564c296fa5460b90beca6c831e25dd3ed43f96a4832b48f')
build() {
cd $pkgname-$pkgver
cd $pkgname
python -m build --wheel --no-isolation
}
package() {
cd $pkgname-$pkgver
cd $pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}