poezio: update to 0.14.
This commit is contained in:
parent
db89c2151a
commit
83f760fba8
|
@ -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'])
|
|
@ -1,24 +1,21 @@
|
||||||
# Template file for 'poezio'
|
# Template file for 'poezio'
|
||||||
pkgname=poezio
|
pkgname=poezio
|
||||||
version=0.13.1
|
version=0.14
|
||||||
revision=4
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools pkg-config"
|
hostmakedepends="python3-setuptools pkg-config"
|
||||||
makedepends="python3-devel"
|
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"
|
short_desc="Console XMPP/Jabber client"
|
||||||
maintainer="Franklin Delehelle <franklin.delehelle@odena.eu>"
|
maintainer="Franklin Delehelle <franklin.delehelle@odena.eu>"
|
||||||
license="Zlib"
|
license="Zlib"
|
||||||
homepage="https://poez.io/"
|
homepage="https://poez.io/"
|
||||||
distfiles="${PYPI_SITE}/p/poezio/poezio-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/poezio/poezio-${version}.tar.gz"
|
||||||
checksum=54befa84633c5158112fa5673490ccaf30af3e52a61daf433c867df47bca2271
|
checksum=d9b8a3e22fa39a8683a9a289229f23d922e63c938a76b9897b77f3278bb3a420
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
sed -i "s|os.environ.get('CC', 'cc')|'${CC}'|" setup.py
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# keep man pages only
|
# keep man pages only
|
||||||
rm -rf ${DESTDIR}/usr/share/{doc,poezio}
|
rm -r ${DESTDIR}/usr/share/{doc,poezio}
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue