tevent: update to 0.16.1.

This commit is contained in:
Otto Modinos 2024-05-20 15:51:28 +03:00 committed by Andrew Benson
parent 8c5f875a17
commit cb4cf2630e
2 changed files with 17 additions and 21 deletions

View file

@ -1,13 +0,0 @@
tevent.h needs sys/types.h for pid_t
--- a/tevent.h 2018-07-12 05:51:30.000000000 +0000
+++ b/tevent.h 2018-07-19 10:13:15.360128807 +0000
@@ -31,6 +31,7 @@
#include <stdint.h>
#include <talloc.h>
#include <sys/time.h>
+#include <sys/types.h>
#include <stdbool.h>
struct tevent_context;

View file

@ -1,28 +1,37 @@
# Template file for 'tevent' # Template file for 'tevent'
pkgname=tevent pkgname=tevent
version=0.11.0 version=0.16.1
revision=3 revision=1
build_style=waf3 build_style=waf3
build_helper="qemu" build_helper="qemu"
configure_script="buildtools/bin/waf" configure_script="buildtools/bin/waf"
configure_args="--sysconfdir=/etc --localstatedir=/var configure_args="--sysconfdir=/etc --localstatedir=/var
--disable-rpath --disable-rpath-install --without-gettext --disable-rpath --disable-rpath-install --without-gettext
--builtin-libraries=replace --bundled-libraries=NONE" --builtin-libraries=replace --bundled-libraries=NONE"
hostmakedepends="pkg-config docbook2x python3-setuptools" hostmakedepends="pkg-config docbook-xsl libxslt"
makedepends="python3-devel talloc-devel libxslt gettext-devel cmocka-devel" makedepends="python3-devel talloc-devel cmocka-devel"
short_desc="Event system based on the talloc memory management library" short_desc="Event system based on the talloc memory management library"
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>" maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://tevent.samba.org" homepage="https://tevent.samba.org"
distfiles="https://download.samba.org/pub/tevent/tevent-${version}.tar.gz" distfiles="https://download.samba.org/pub/tevent/tevent-${version}.tar.gz"
checksum=ee9a86c8e808aac2fe1e924eaa139ff7f0269d0e8e4fafa850ae5c7489bc82ba checksum=362971e0f32dc1905f6fe4736319c4b8348c22dc85aa6c3f690a28efe548029e
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
export PYTHON_CONFIG="${XBPS_CROSS_BASE}/usr/bin/python3-config" export PYTHON_CONFIG="${XBPS_CROSS_BASE}/usr/bin/python3-config"
export PYTHONHASHSEED=1
do_check() {
${configure_script} test
}
post_patch() { post_patch() {
# Avoid Python shlib extension noise in libpytallic-util.so # Look for properly named python support libraries
vsed -e "/env.pyext_PATTERN/s/dct\['SO'\]/'.so'/" \ vsed -i third_party/waf/waflib/Tools/python.py \
-i third_party/waf/waflib/Tools/python.py -e "s|env.pyext_PATTERN = .*$|env.pyext_PATTERN = '%s.so'|"
} }
tevent-python3_package() { tevent-python3_package() {