[arch-commits] Commit in sip5/trunk (PKGBUILD sip5-destdir.patch)

Antonio Rojas arojas at archlinux.org
Fri Dec 13 19:41:50 UTC 2019


    Date: Friday, December 13, 2019 @ 19:41:50
  Author: arojas
Revision: 371378

More fixes for packaging pyqt5

Modified:
  sip5/trunk/PKGBUILD
  sip5/trunk/sip5-destdir.patch

--------------------+
 PKGBUILD           |    4 ++--
 sip5-destdir.patch |   12 ++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-13 18:56:57 UTC (rev 371377)
+++ PKGBUILD	2019-12-13 19:41:50 UTC (rev 371378)
@@ -2,7 +2,7 @@
 
 pkgname=sip5
 pkgver=5.0.0
-pkgrel=3
+pkgrel=4
 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'
@@ -11,7 +11,7 @@
 source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz"
          sip5-destdir.patch)
 sha256sums=('c034d427f52584d63277dd7df4d16d00c5df0b5cb838e0c256865b854b7e074b'
-            '337daf8721b14066160afaae85e2b3ad880ad6d016407a754e3f11331c4b65eb')
+            '7d059d7826d1d8b96b939ddbd0f0eac9273823e9285a78b11d0de4079a25d389')
 
 prepare() {
   cd sip-$pkgver

Modified: sip5-destdir.patch
===================================================================
--- sip5-destdir.patch	2019-12-13 18:56:57 UTC (rev 371377)
+++ sip5-destdir.patch	2019-12-13 19:41:50 UTC (rev 371378)
@@ -1,3 +1,15 @@
+--- sip-5.0.0/sipbuild/installable.py.orig      2019-12-13 19:12:02.163301429 +0000
++++ sip-5.0.0/sipbuild/installable.py   2019-12-13 19:12:33.600398673 +0000
+@@ -58,7 +58,8 @@
+         """
+ 
+         target_dir = self.get_full_target_dir(target_dir)
+-        os.makedirs(target_dir, exist_ok=True)
++        if do_install:
++            os.makedirs(target_dir, exist_ok=True)
+ 
+         for fn in self.files:
+             t_path = os.path.join(target_dir, os.path.basename(fn))
 --- sip-5.0.0/sipbuild/distinfo/distinfo.py.orig	2019-12-13 18:28:50.195055008 +0000
 +++ sip-5.0.0/sipbuild/distinfo/distinfo.py	2019-12-13 18:30:22.169531691 +0000
 @@ -72,20 +72,20 @@



More information about the arch-commits mailing list