[arch-commits] Commit in gpgme/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Allan McRae allan at archlinux.org
Sat May 23 08:42:50 UTC 2020


    Date: Saturday, May 23, 2020 @ 08:42:50
  Author: allan
Revision: 387443

archrelease: copy trunk to testing-x86_64

Added:
  gpgme/repos/testing-x86_64/PKGBUILD
    (from rev 387442, gpgme/trunk/PKGBUILD)
Deleted:
  gpgme/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  165 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 82 insertions(+), 83 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 08:37:10 UTC (rev 387442)
+++ PKGBUILD	2020-05-23 08:42:50 UTC (rev 387443)
@@ -1,83 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Roman Kyrylych <roman at archlinux.org>
-# Contributor: Sarah Hay <sarah at archlinux.org>
-
-pkgbase=gpgme
-pkgname=(gpgme qgpgme python-gpgme)
-pkgver=1.13.1
-pkgrel=6
-_python_ver=3.8
-pkgdesc="A C wrapper library for GnuPG"
-arch=('x86_64')
-url='https://www.gnupg.org/related_software/gpgme/'
-license=('LGPL')
-makedepends=('libgpg-error' 'gnupg' 'qt5-base' 'python' 'swig')
-source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
-sha256sums=('c4e30b227682374c23cddc7fdb9324a99694d907e79242a25a4deeedb393be46'
-            'SKIP')
-validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
-
-prepare() {
-  cd ${pkgbase}-${pkgver}
-
-  # touch python files for reproducibility
-  find lang/python -name *.py
-}
-
-build() {
-  cd ${pkgbase}-${pkgver}
-
-  export PYTHONHASHSEED=0
-  ./configure \
-    --prefix=/usr \
-    --disable-fd-passing \
-    --disable-static \
-    --disable-gpgsm-test
-  make
-
-  # ensure reproducibility of .pyc files
-  touch -d @$SOURCE_DATE_EPOCH lang/python/version.py
-  touch -d @$SOURCE_DATE_EPOCH lang/python/python${_python_ver}-gpg/lib.linux-x86_64-${_python_ver}/gpg/gpgme.py
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-
-  # this test fails with gnupg (FS#66572)
-  sed -i 's#"t-keylist-secret",##' tests/json/t-json.c
-
-  make check
-}
-
-package_gpgme() {
-  depends=('libgpg-error' 'gnupg>=2')
-  options=('!emptydirs')
-  provides=('libgpgme.so'
-            'libgpgmepp.so')
-
-  cd ${pkgbase}-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-
-  # split qgpgme
-  rm -r "${pkgdir}"/usr/include/{qgpgme,QGpgME}/
-  rm -r "${pkgdir}"/usr/lib/{cmake/QGpgme/,libqgpgme.*}
-  rm -r "${pkgdir}"/usr/lib/python*
-}
-
-package_qgpgme() {
-  pkgdesc="Qt bindings for GPGme"
-  depends=('gpgme' 'qt5-base')
-
-  cd ${pkgbase}-${pkgver}/lang/qt
-
-  make DESTDIR="${pkgdir}" install
-}
-
-package_python-gpgme() {
-  pkgdesc="Python bindings for GPGme"
-  depends=('gpgme' 'python')
-
-  cd ${pkgbase}-${pkgver}/lang/python
-  make DESTDIR="${pkgdir}" install
-}

Copied: gpgme/repos/testing-x86_64/PKGBUILD (from rev 387442, gpgme/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-23 08:42:50 UTC (rev 387443)
@@ -0,0 +1,82 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Sarah Hay <sarah at archlinux.org>
+
+pkgbase=gpgme
+pkgname=(gpgme qgpgme python-gpgme)
+pkgver=1.13.1
+pkgrel=7
+_python_ver=3.8
+pkgdesc="A C wrapper library for GnuPG"
+arch=('x86_64')
+url='https://www.gnupg.org/related_software/gpgme/'
+license=('LGPL')
+makedepends=('libgpg-error' 'gnupg' 'qt5-base' 'python' 'swig')
+source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
+sha256sums=('c4e30b227682374c23cddc7fdb9324a99694d907e79242a25a4deeedb393be46'
+            'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+  cd ${pkgbase}-${pkgver}
+
+  export PYTHONHASHSEED=0
+  ./configure \
+    --prefix=/usr \
+    --disable-fd-passing \
+    --disable-static \
+    --disable-gpgsm-test
+  make
+
+  # ensure reproducibility of .pyc files
+  touch -d @$SOURCE_DATE_EPOCH lang/python/version.py
+  touch -d @$SOURCE_DATE_EPOCH lang/python/python${_python_ver}-gpg/lib.linux-x86_64-${_python_ver}/gpg/gpgme.py
+  
+  # .pyc files will be created if check() is used - generate them here
+  
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+
+  # this test fails with gnupg (FS#66572)
+  sed -i 's#"t-keylist-secret",##' tests/json/t-json.c
+
+  make check
+
+  # ensure reproducibilty whether test-suite is run or not
+  find . -name *.pyc -exec rm {} +
+}
+
+package_gpgme() {
+  depends=('libgpg-error' 'gnupg>=2')
+  options=('!emptydirs')
+  provides=('libgpgme.so'
+            'libgpgmepp.so')
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  # split qgpgme
+  rm -r "${pkgdir}"/usr/include/{qgpgme,QGpgME}/
+  rm -r "${pkgdir}"/usr/lib/{cmake/QGpgme/,libqgpgme.*}
+  rm -r "${pkgdir}"/usr/lib/python*
+}
+
+package_qgpgme() {
+  pkgdesc="Qt bindings for GPGme"
+  depends=('gpgme' 'qt5-base')
+
+  cd ${pkgbase}-${pkgver}/lang/qt
+
+  make DESTDIR="${pkgdir}" install
+}
+
+package_python-gpgme() {
+  pkgdesc="Python bindings for GPGme"
+  depends=('gpgme' 'python')
+
+  cd ${pkgbase}-${pkgver}/lang/python
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list