[arch-commits] Commit in sip5/repos/extra-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Fri Dec 13 19:42:06 UTC 2019


    Date: Friday, December 13, 2019 @ 19:42:06
  Author: arojas
Revision: 371379

archrelease: copy trunk to extra-x86_64

Added:
  sip5/repos/extra-x86_64/PKGBUILD
    (from rev 371378, sip5/trunk/PKGBUILD)
  sip5/repos/extra-x86_64/sip5-destdir.patch
    (from rev 371378, sip5/trunk/sip5-destdir.patch)
Deleted:
  sip5/repos/extra-x86_64/PKGBUILD
  sip5/repos/extra-x86_64/sip5-destdir.patch

--------------------+
 PKGBUILD           |   58 +++++++++++++++++++++---------------------
 sip5-destdir.patch |   70 +++++++++++++++++++++++++++++----------------------
 2 files changed, 70 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-13 19:41:50 UTC (rev 371378)
+++ PKGBUILD	2019-12-13 19:42:06 UTC (rev 371379)
@@ -1,29 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=sip5
-pkgver=5.0.0
-pkgrel=3
-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-setuptools python-toml)
-source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz"
-         sip5-destdir.patch)
-sha256sums=('c034d427f52584d63277dd7df4d16d00c5df0b5cb838e0c256865b854b7e074b'
-            '337daf8721b14066160afaae85e2b3ad880ad6d016407a754e3f11331c4b65eb')
-
-prepare() {
-  cd sip-$pkgver
-  patch -p1 -i ../sip5-destdir.patch # Honor DESTDIR in make install https://www.riverbankcomputing.com/pipermail/pyqt/2019-December/042390.html
-}
-
-build() {
-  cd sip-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd sip-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-}

Copied: sip5/repos/extra-x86_64/PKGBUILD (from rev 371378, sip5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-13 19:42:06 UTC (rev 371379)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sip5
+pkgver=5.0.0
+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'
+license=('custom:"sip"')
+depends=(python-setuptools python-toml)
+source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz"
+         sip5-destdir.patch)
+sha256sums=('c034d427f52584d63277dd7df4d16d00c5df0b5cb838e0c256865b854b7e074b'
+            '7d059d7826d1d8b96b939ddbd0f0eac9273823e9285a78b11d0de4079a25d389')
+
+prepare() {
+  cd sip-$pkgver
+  patch -p1 -i ../sip5-destdir.patch # Honor DESTDIR in make install https://www.riverbankcomputing.com/pipermail/pyqt/2019-December/042390.html
+}
+
+build() {
+  cd sip-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd sip-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}

Deleted: sip5-destdir.patch
===================================================================
--- sip5-destdir.patch	2019-12-13 19:41:50 UTC (rev 371378)
+++ sip5-destdir.patch	2019-12-13 19:42:06 UTC (rev 371379)
@@ -1,29 +0,0 @@
---- 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 @@
- 
-     # Make sure we have an empty dist-info directory.  Handle exceptions as the
-     # user may be trying something silly with a system directory.
--    if os.path.exists(distinfo_dir):
-+    if os.path.exists(real_distinfo_dir):
-         try:
--            shutil.rmtree(distinfo_dir)
-+            shutil.rmtree(real_distinfo_dir)
-         except Exception as e:
-             raise UserException(
-                     "unable remove old dist-info directory '{}'".format(
--                            distinfo_dir),
-+                            real_distinfo_dir),
-                     str(e))
- 
-     try:
--        os.mkdir(distinfo_dir)
-+        os.mkdir(real_distinfo_dir)
-     except Exception as e:
-         raise UserException(
--                "unable create dist-info directory '{}'".format(distinfo_dir),
-+                "unable create dist-info directory '{}'".format(real_distinfo_dir),
-                 str(e))
- 
-     # Reproducable builds.
- 

Copied: sip5/repos/extra-x86_64/sip5-destdir.patch (from rev 371378, sip5/trunk/sip5-destdir.patch)
===================================================================
--- sip5-destdir.patch	                        (rev 0)
+++ sip5-destdir.patch	2019-12-13 19:42:06 UTC (rev 371379)
@@ -0,0 +1,41 @@
+--- 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 @@
+ 
+     # Make sure we have an empty dist-info directory.  Handle exceptions as the
+     # user may be trying something silly with a system directory.
+-    if os.path.exists(distinfo_dir):
++    if os.path.exists(real_distinfo_dir):
+         try:
+-            shutil.rmtree(distinfo_dir)
++            shutil.rmtree(real_distinfo_dir)
+         except Exception as e:
+             raise UserException(
+                     "unable remove old dist-info directory '{}'".format(
+-                            distinfo_dir),
++                            real_distinfo_dir),
+                     str(e))
+ 
+     try:
+-        os.mkdir(distinfo_dir)
++        os.mkdir(real_distinfo_dir)
+     except Exception as e:
+         raise UserException(
+-                "unable create dist-info directory '{}'".format(distinfo_dir),
++                "unable create dist-info directory '{}'".format(real_distinfo_dir),
+                 str(e))
+ 
+     # Reproducable builds.
+ 



More information about the arch-commits mailing list