Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
gpgme


Commits:
9b4ccac1 by Christian Hesse at 2024-12-04T16:25:58+01:00
upgpkg: 1.24.1-2: python 3.13 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = gpgme
        pkgdesc = A C wrapper library for GnuPG
        pkgver = 1.24.1
-       pkgrel = 1
+       pkgrel = 2
        url = https://www.gnupg.org/related_software/gpgme/
        arch = x86_64
        license = GPL-2.0-or-later


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 pkgbase=gpgme
 pkgname=(gpgme qgpgme-qt6 python-gpgme)
 pkgver=1.24.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A C wrapper library for GnuPG'
 arch=('x86_64')
 url='https://www.gnupg.org/related_software/gpgme/'
@@ -56,6 +56,10 @@ build() {
     # use a PEP517 workflow to get a reproducible Python package
     # NOTE: top_builddir is required so that the build takes place against 
local gpgme, not system gpgme
     cd lang/python/
+    # add symlinks for the "gpg" module and header files so that the wheel 
build process can find it
+    ln -sv ./src gpg
+    ln -sv ../../conf/config.h config.h
+    ln -sv ../../src/data.h data.h
     top_builddir="$srcdir/$pkgbase-$pkgver" python -m build --wheel 
--no-isolation
   )
 }
@@ -89,7 +93,6 @@ package_gpgme() {
 
   # split qgpgme
   rm -r "${pkgdir}"/usr/lib/{cmake/QGpgmeQt6/,libqgpgmeqt6.*}
-  rm -r "${pkgdir}"/usr/lib/python*
   rm -r "${pkgdir}"/usr/include/qgpgme-qt6/
   install -vDm 644 LICENSES "$pkgdir/usr/share/licenses/$pkgname/MIT.txt"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gpgme/-/commit/9b4ccac1e2f7009a45f801dd820ef0c448e04b73

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gpgme/-/commit/9b4ccac1e2f7009a45f801dd820ef0c448e04b73
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to