Date: Friday, December 20, 2019 @ 14:03:19 Author: arojas Revision: 371986
archrelease: copy trunk to extra-x86_64 Added: sip/repos/extra-x86_64/PKGBUILD (from rev 371985, sip/trunk/PKGBUILD) Deleted: sip/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 126 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-20 14:02:58 UTC (rev 371985) +++ PKGBUILD 2019-12-20 14:03:19 UTC (rev 371986) @@ -1,63 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> -# Contributor: riai <r...@bigfoot.com>, Ben <b...@benmazer.net> - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip-pyqt5') -pkgver=4.19.19 -pkgrel=4 -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/$pkgver/sip-$pkgver.tar.gz") -sha256sums=('5436b61a78f48c7e8078e93a6b59453ad33780f80c644e5f3af39f94be1ede44') - -prepare() { - mkdir -p build{,-pyqt5-py2} -} - -build() { - cd "$srcdir"/build - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - 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 SIP4 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-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 371985, sip/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-20 14:03:19 UTC (rev 371986) @@ -0,0 +1,63 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> +# Contributor: riai <r...@bigfoot.com>, Ben <b...@benmazer.net> + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip-pyqt5') +pkgver=4.19.20 +pkgrel=1 +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/$pkgver/sip-$pkgver.tar.gz") +sha256sums=('04cc2f87ac97e8718d8e1ef036e3ec26050ab44c21f9277618d5b67432fcbfd6') + +prepare() { + mkdir -p build{,-pyqt5-py2} +} + +build() { + cd "$srcdir"/build + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + 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 SIP4 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-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 +}