gpgme: rebuild for python3-3.13

This commit is contained in:
Andrew J. Hesford 2024-11-16 09:26:04 -05:00
parent b69ad27b2d
commit 54cee80326

View file

@ -3,7 +3,7 @@
# THIS PACKAGE MUST BE SYNCHRONIZED WITH "srcpkgs/gpgme-qt6"
pkgname=gpgme
version=1.23.2
revision=4
revision=5
build_style=gnu-configure
build_helper="python3"
configure_args="--enable-fd-passing
@ -32,6 +32,12 @@ fi
post_build() {
cd lang/python
mkdir build
ln -sf ../../../src/data.h build/data.h
ln -sf ../../../conf/config.h build/config.h
ln -sf src gpg
top_builddir=../.. python3 -m build --wheel --no-isolation
}
@ -82,8 +88,7 @@ gpgme-python3_package() {
short_desc+=" - Python binding"
depends="gpgme"
pkg_install() {
vmove $py3_sitelib
rm -r ${PKGDESTDIR}/$py3_sitelib/gpg*.egg
vmove "${py3_sitelib}"
}
}