diff --git a/srcpkgs/poezio/patches/disable-header-checks.patch b/srcpkgs/poezio/patches/disable-header-checks.patch new file mode 100644 index 00000000000..09cf6d5434d --- /dev/null +++ b/srcpkgs/poezio/patches/disable-header-checks.patch @@ -0,0 +1,16 @@ +The check_include function in the setup script passes $CC as argv[0] to +subprocess.call, which fails in our cross environment where $CC includes some +extra command-line flags. Just assume the headers are found. + +--- a/setup.py ++++ b/setup.py +@@ -89,9 +89,6 @@ + ) + + +-if not check_include('python3', 'Python.h'): +- sys.exit(2) +- + module_poopt = Extension('poezio.poopt', + extra_compile_args=['-Wno-declaration-after-statement'], + sources=['poezio/pooptmodule.c']) diff --git a/srcpkgs/poezio/template b/srcpkgs/poezio/template index cc778aa4746..6924408a044 100644 --- a/srcpkgs/poezio/template +++ b/srcpkgs/poezio/template @@ -1,24 +1,21 @@ # Template file for 'poezio' pkgname=poezio -version=0.13.1 -revision=4 +version=0.14 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools pkg-config" makedepends="python3-devel" -depends="python3-setuptools python3-slixmpp" +depends="python3-slixmpp python3-aiodns python3-pyasn1-modules + python3-typing_extensions python3-setuptools" short_desc="Console XMPP/Jabber client" maintainer="Franklin Delehelle " license="Zlib" homepage="https://poez.io/" distfiles="${PYPI_SITE}/p/poezio/poezio-${version}.tar.gz" -checksum=54befa84633c5158112fa5673490ccaf30af3e52a61daf433c867df47bca2271 - -pre_configure() { - sed -i "s|os.environ.get('CC', 'cc')|'${CC}'|" setup.py -} +checksum=d9b8a3e22fa39a8683a9a289229f23d922e63c938a76b9897b77f3278bb3a420 post_install() { # keep man pages only - rm -rf ${DESTDIR}/usr/share/{doc,poezio} + rm -r ${DESTDIR}/usr/share/{doc,poezio} vlicense COPYING }