aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Modinos <ottomodinos@gmail.com>2024-05-20 12:51:28 +0000
committerAndrew Benson <abenson@gmail.com>2024-05-26 03:48:09 +0000
commitcb4cf2630ed806f357b8c415983e515348688592 (patch)
tree8306e4c98a8f759fe138f87cbc91b1535cf1b840
parent8c5f875a1752b8cc034479aa24461fcbdb6d736f (diff)
downloadvoid-packages-cb4cf2630ed806f357b8c415983e515348688592.tar
void-packages-cb4cf2630ed806f357b8c415983e515348688592.tar.gz
void-packages-cb4cf2630ed806f357b8c415983e515348688592.tar.bz2
void-packages-cb4cf2630ed806f357b8c415983e515348688592.tar.lz
void-packages-cb4cf2630ed806f357b8c415983e515348688592.tar.xz
void-packages-cb4cf2630ed806f357b8c415983e515348688592.tar.zst
void-packages-cb4cf2630ed806f357b8c415983e515348688592.zip
tevent: update to 0.16.1.
-rw-r--r--srcpkgs/tevent/patches/fix-public-headers.patch13
-rw-r--r--srcpkgs/tevent/template25
2 files changed, 17 insertions, 21 deletions
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 <stdint.h>
- #include <talloc.h>
- #include <sys/time.h>
-+#include <sys/types.h>
- #include <stdbool.h>
-
- 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 <xyuusha@paranoici.org>"
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() {