poezio: update to 0.14.

This commit is contained in:
Andrew J. Hesford 2022-09-19 21:09:36 -04:00
parent db89c2151a
commit 83f760fba8
2 changed files with 22 additions and 9 deletions

View File

@ -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'])

View File

@ -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 <franklin.delehelle@odena.eu>"
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
}