mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
tevent: update to 0.16.1.
This commit is contained in:
parent
8c5f875a17
commit
cb4cf2630e
2 changed files with 17 additions and 21 deletions
|
@ -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;
|
||||
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue