[arch-commits] Commit in sip/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Jul 4 06:11:59 UTC 2022


    Date: Monday, July 4, 2022 @ 06:11:58
  Author: arojas
Revision: 449854

Fix exceptions handling

Modified:
  sip/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-04 05:56:02 UTC (rev 449853)
+++ PKGBUILD	2022-07-04 06:11:58 UTC (rev 449854)
@@ -2,16 +2,22 @@
 
 pkgname=sip
 pkgver=6.6.2
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 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-toml python-packaging python-setuptools python-ply)
-source=(https://pypi.python.org/packages/source/s/sip/$pkgname-$pkgver.tar.gz)
-sha256sums=('0e3efac1c5dfd8e525ae57140927df26993e13f58b89d1577c314f4105bfd90d')
+source=(https://pypi.python.org/packages/source/s/sip/$pkgname-$pkgver.tar.gz
+        sip-fix-exceptions.patch::https://riverbankcomputing.com/hg/sip/raw-rev/1430b279a3c9)
+sha256sums=('0e3efac1c5dfd8e525ae57140927df26993e13f58b89d1577c314f4105bfd90d'
+            'bdd73d3188004b1e430dc21595b8dde3de99ac29b7d523328347b9d1b01f669a')
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < sip-fix-exceptions.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   python setup.py build



More information about the arch-commits mailing list