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

Antonio Rojas arojas at archlinux.org
Fri Dec 20 14:10:43 UTC 2019


    Date: Friday, December 20, 2019 @ 14:10:42
  Author: arojas
Revision: 371990

archrelease: copy trunk to extra-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-20 14:10:18 UTC (rev 371989)
+++ PKGBUILD	2019-12-20 14:10:42 UTC (rev 371990)
@@ -1,29 +0,0 @@
-# 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
-}

Copied: sip5/repos/extra-x86_64/PKGBUILD (from rev 371989, sip5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-20 14:10:42 UTC (rev 371990)
@@ -0,0 +1,22 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sip5
+pkgver=5.0.1
+pkgrel=1
+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://pypi.python.org/packages/source/s/sip/sip-$pkgver.tar.gz")
+sha256sums=('299f5463946acf079f35979bf6f598f790a58611ada2514c0d9b04c91b9baee8')
+
+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-20 14:10:18 UTC (rev 371989)
+++ sip5-destdir.patch	2019-12-20 14:10:42 UTC (rev 371990)
@@ -1,41 +0,0 @@
---- 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