From cb4cf2630ed806f357b8c415983e515348688592 Mon Sep 17 00:00:00 2001 From: Otto Modinos Date: Mon, 20 May 2024 15:51:28 +0300 Subject: tevent: update to 0.16.1. --- srcpkgs/tevent/patches/fix-public-headers.patch | 13 ------------- srcpkgs/tevent/template | 25 +++++++++++++++++-------- 2 files changed, 17 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/tevent/patches/fix-public-headers.patch diff --git a/srcpkgs/tevent/patches/fix-public-headers.patch b/srcpkgs/tevent/patches/fix-public-headers.patch deleted file mode 100644 index 1710226d458..00000000000 --- a/srcpkgs/tevent/patches/fix-public-headers.patch +++ /dev/null @@ -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 - #include - #include -+#include - #include - - struct tevent_context; - diff --git a/srcpkgs/tevent/template b/srcpkgs/tevent/template index 7dadd564db0..1a3f49d8bb8 100644 --- a/srcpkgs/tevent/template +++ b/srcpkgs/tevent/template @@ -1,28 +1,37 @@ # Template file for 'tevent' pkgname=tevent -version=0.11.0 -revision=3 +version=0.16.1 +revision=1 build_style=waf3 build_helper="qemu" configure_script="buildtools/bin/waf" configure_args="--sysconfdir=/etc --localstatedir=/var --disable-rpath --disable-rpath-install --without-gettext --builtin-libraries=replace --bundled-libraries=NONE" -hostmakedepends="pkg-config docbook2x python3-setuptools" -makedepends="python3-devel talloc-devel libxslt gettext-devel cmocka-devel" +hostmakedepends="pkg-config docbook-xsl libxslt" +makedepends="python3-devel talloc-devel cmocka-devel" short_desc="Event system based on the talloc memory management library" maintainer="Yuusha Spacewolf " license="GPL-3.0-or-later" homepage="https://tevent.samba.org" 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 PYTHONHASHSEED=1 + +do_check() { + ${configure_script} test +} post_patch() { - # Avoid Python shlib extension noise in libpytallic-util.so - vsed -e "/env.pyext_PATTERN/s/dct\['SO'\]/'.so'/" \ - -i third_party/waf/waflib/Tools/python.py + # Look for properly named python support libraries + vsed -i third_party/waf/waflib/Tools/python.py \ + -e "s|env.pyext_PATTERN = .*$|env.pyext_PATTERN = '%s.so'|" } tevent-python3_package() { -- cgit v1.2.3