[arch-commits] Commit in sip/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Mar 14 21:49:30 UTC 2019


    Date: Thursday, March 14, 2019 @ 21:49:29
  Author: arojas
Revision: 348126

archrelease: copy trunk to extra-x86_64

Added:
  sip/repos/extra-x86_64/PKGBUILD
    (from rev 348125, sip/trunk/PKGBUILD)
Deleted:
  sip/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  189 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 97 insertions(+), 92 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 21:49:05 UTC (rev 348125)
+++ PKGBUILD	2019-03-14 21:49:29 UTC (rev 348126)
@@ -1,92 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-# Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
-
-pkgbase=sip
-pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5')
-pkgver=4.19.14
-pkgrel=1
-arch=('x86_64')
-url='http://www.riverbankcomputing.com/software/sip/intro'
-license=('custom:"sip"')
-makedepends=('python' 'python2')
-source=("https://www.riverbankcomputing.com/static/Downloads/sip/sip-$pkgver.tar.gz")
-sha256sums=('0ef3765dbcc3b8131f83e60239f49508f82205b33cae5408c405e2e2f2d0af87')
-
-prepare() {
-  mkdir -p build{,-py2,-pyqt5,-pyqt5-py2}
-}
-
-build() {
-  cd "$srcdir"/build
-  python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
-  make
-
-  cd "$srcdir"/build-py2
-  python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
-  make
-
-  cd "$srcdir"/build-pyqt5
-  python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools
-  make
-
-  cd "$srcdir"/build-pyqt5-py2
-  python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools
-  make
-}
-
-package_sip() {
-  pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
-  depends=('glibc')
-
-  cd build
-  make DESTDIR="$pkgdir" install -C sipgen
-# move sip.h to /usr/include
-  mv "$pkgdir"/usr/include/{python*/sip.h,}
-  rm -r "$pkgdir"/usr/include/python*
-
-  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-sip() {
-  pkgdesc="Python 3.x SIP bindings for C and C++ libraries"
-  depends=('python')
-
-  cd build
-  make DESTDIR="$pkgdir" install
-  rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip
-
-  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-sip() {
-  pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
-  depends=('python2')
-
-  cd build-py2
-  make DESTDIR="$pkgdir" install
-  rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip
-
-  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-sip-pyqt5() {
-  pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)"
-  depends=('python')
-
-  cd build-pyqt5
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-sip-pyqt5() {
-  pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)"
-  depends=('python2')
-
-  cd build-pyqt5-py2
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: sip/repos/extra-x86_64/PKGBUILD (from rev 348125, sip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-14 21:49:29 UTC (rev 348126)
@@ -0,0 +1,97 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
+
+pkgbase=sip
+pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5')
+pkgver=4.19.14
+pkgrel=2
+arch=('x86_64')
+url='https://www.riverbankcomputing.com/software/sip/intro'
+license=('custom:"sip"')
+makedepends=('python' 'python2')
+source=("https://www.riverbankcomputing.com/static/Downloads/sip/sip-$pkgver.tar.gz"
+        sip-qt4.patch::"https://www.riverbankcomputing.com/hg/sip/raw-rev/7bd4d19479ad")
+sha256sums=('0ef3765dbcc3b8131f83e60239f49508f82205b33cae5408c405e2e2f2d0af87'
+            '1454250769202ced369fcaed42f88b19392e83ced2e62fcd5bf32e64259374e3')
+
+prepare() {
+  mkdir -p build{,-py2,-pyqt5,-pyqt5-py2}
+
+  cd sip-$pkgver
+  patch -p1 -i ../sip-qt4.patch # Fix qt4 code generation
+}
+
+build() {
+  cd "$srcdir"/build
+  python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
+  make
+
+  cd "$srcdir"/build-py2
+  python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
+  make
+
+  cd "$srcdir"/build-pyqt5
+  python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools
+  make
+
+  cd "$srcdir"/build-pyqt5-py2
+  python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools
+  make
+}
+
+package_sip() {
+  pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
+  depends=('glibc')
+
+  cd build
+  make DESTDIR="$pkgdir" install -C sipgen
+# move sip.h to /usr/include
+  mv "$pkgdir"/usr/include/{python*/sip.h,}
+  rm -r "$pkgdir"/usr/include/python*
+
+  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-sip() {
+  pkgdesc="Python 3.x SIP bindings for C and C++ libraries"
+  depends=('python')
+
+  cd build
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip
+
+  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-sip() {
+  pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
+  depends=('python2')
+
+  cd build-py2
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip
+
+  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-sip-pyqt5() {
+  pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)"
+  depends=('python')
+
+  cd build-pyqt5
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-sip-pyqt5() {
+  pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)"
+  depends=('python2')
+
+  cd build-pyqt5-py2
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list