1 |
commit: 45b77aa6516057b8ee59312c02f532bbd6298505 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 15 09:10:54 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 15 09:49:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45b77aa6 |
7 |
|
8 |
sys-libs/tevent: Bump to version 0.11.0 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-libs/tevent/Manifest | 1 + |
13 |
sys-libs/tevent/tevent-0.11.0.ebuild | 76 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/sys-libs/tevent/Manifest b/sys-libs/tevent/Manifest |
17 |
index 09de55dd85e..8453f187408 100644 |
18 |
--- a/sys-libs/tevent/Manifest |
19 |
+++ b/sys-libs/tevent/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tevent-0.10.2.tar.gz 800731 BLAKE2B 5ea6b83378b04dbe1666432db0dbd4c0df2e6b0bf5ebcc8ec4ec9bdeb834efec75c87b2019dc78c691aba6c4f6467394101febd6010f106046a1fb8848e27405 SHA512 1da8f28898f35daab515892b880d1de601062cc3e2b2570cd62e6913df17b0195a05acb7b484c628cddc0eb8b0cde893105ede3feb32bc5764e7d25684f332ba |
22 |
+DIST tevent-0.11.0.tar.gz 866327 BLAKE2B 9e6e958597e21c0d228346aa102987f89bb6630a5661cef21b908735469a59e7b4f46bc4473e9c25fe636913a1eebc1f26234448c09739ad812cd3ce97bf5048 SHA512 740346b19bf290ff31b0c1b36e232021b8ad107c3ce27e0e8b1ec1a77485214b07a9b7837ba57f3650a50e4c04f530674e486b5fa4d118a1778259be63b49790 |
23 |
|
24 |
diff --git a/sys-libs/tevent/tevent-0.11.0.ebuild b/sys-libs/tevent/tevent-0.11.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..29c12c05ac9 |
27 |
--- /dev/null |
28 |
+++ b/sys-libs/tevent/tevent-0.11.0.ebuild |
29 |
@@ -0,0 +1,76 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+PYTHON_REQ_USE="threads(+)" |
37 |
+inherit waf-utils multilib-minimal python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="Samba tevent library" |
40 |
+HOMEPAGE="https://tevent.samba.org/" |
41 |
+SRC_URI="https://samba.org/ftp/tevent/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" |
46 |
+IUSE="elibc_glibc python" |
47 |
+ |
48 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
+RESTRICT="test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
53 |
+ >=sys-libs/talloc-2.3.1[${MULTILIB_USEDEP}] |
54 |
+ python? ( |
55 |
+ ${PYTHON_DEPS} |
56 |
+ sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ elibc_glibc? ( |
61 |
+ net-libs/libtirpc[${MULTILIB_USEDEP}] |
62 |
+ || ( |
63 |
+ net-libs/rpcsvc-proto |
64 |
+ <sys-libs/glibc-2.26[rpc(+)] |
65 |
+ ) |
66 |
+ ) |
67 |
+" |
68 |
+BDEPEND="${PYTHON_DEPS} |
69 |
+ virtual/pkgconfig |
70 |
+" |
71 |
+ |
72 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
73 |
+ |
74 |
+pkg_setup() { |
75 |
+ python-single-r1_pkg_setup |
76 |
+} |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ default |
80 |
+ multilib_copy_sources |
81 |
+} |
82 |
+ |
83 |
+multilib_src_configure() { |
84 |
+ waf-utils_src_configure \ |
85 |
+ --bundled-libraries=NONE \ |
86 |
+ --builtin-libraries=NONE \ |
87 |
+ $(multilib_native_usex python '' '--disable-python') |
88 |
+} |
89 |
+ |
90 |
+multilib_src_compile() { |
91 |
+ # need to avoid parallel building, this looks like the sanest way with waf-utils/multiprocessing eclasses |
92 |
+ unset MAKEOPTS |
93 |
+ waf-utils_src_compile |
94 |
+} |
95 |
+ |
96 |
+multilib_src_install() { |
97 |
+ waf-utils_src_install |
98 |
+ |
99 |
+ multilib_is_native_abi && use python && python_domodule tevent.py |
100 |
+} |
101 |
+ |
102 |
+multilib_src_install_all() { |
103 |
+ insinto /usr/include |
104 |
+ doins tevent_internal.h |
105 |
+} |