Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/tevent/
Date: Thu, 28 Feb 2019 11:51:10
Message-Id: 1551354656.decb9cd9edda265704d943555f883f7aa80faa82.polynomial-c@gentoo
1 commit: decb9cd9edda265704d943555f883f7aa80faa82
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 28 11:26:19 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 28 11:50:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=decb9cd9
7
8 sys-libs/tevent: Bump to version 0.9.39
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/tevent/Manifest | 1 +
14 sys-libs/tevent/tevent-0.9.39.ebuild | 71 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/sys-libs/tevent/Manifest b/sys-libs/tevent/Manifest
18 index 8576f37f2d0..fafe33c8e1b 100644
19 --- a/sys-libs/tevent/Manifest
20 +++ b/sys-libs/tevent/Manifest
21 @@ -3,3 +3,4 @@ DIST tevent-0.9.31.tar.gz 587784 BLAKE2B 0e562600ae8ba4dae194b1a28a020f5618b1566
22 DIST tevent-0.9.36.tar.gz 592439 BLAKE2B b24dc37aaeb3bc08eb642c85cf34e4fbcf35fbc38421d3f5c3f03fe77ea8252e7a54a956a9c6750c78dcbb11a092e894bd24ea700acdd634edada1f930a67756 SHA512 bca9db9bcf142ba68b207180d19414dddb89a069a4f040383069c8af0df5bb184ca219293c4a1e7b0bc241b9a1ea3d414f8284278ad3a5f0383b9e432450167b
23 DIST tevent-0.9.37.tar.gz 603859 BLAKE2B 2210416b09c3f83cf68a9f686d1d582891cd22b4547eb0e5237288dca6a0b94619769060c541e0cfc3ccce79246b1140875109934e009015b8e04a31a94d6792 SHA512 5d4833403e1c2f2749f00a389e4757261a4f22cd3a67c906001b36a8b622cc68a38e86d4eb475848a2121ebba054a7e7dac7f486d9f2906a401c3cc97fb447f4
24 DIST tevent-0.9.38.tar.gz 794856 BLAKE2B 1198de5e68cec39bac3931aa5c26ee26aa5fd713d9cbc72bd90d5dd9c787d617d17c57d8393a845800168452cd8092d38ddc480d3bbe176dfe364d6c9a211094 SHA512 f475a7b7c261368bd641992c8f657c081bbbe783535ff435a7b68f7749d0e5873d57d05cf6ce80a28ccc9f11033022d28e9ae357b03854109c2c279a003d2035
25 +DIST tevent-0.9.39.tar.gz 795796 BLAKE2B a352d2730f4d480f18559ac01b82354914ebf3ced0438bc6813e8cddc8e2ac1a5bcd867a00441cf243753daa299b6e61ad6328d5e3f7370483f01d468d7e2621 SHA512 72f48493aa3ef2efb78fa4e8cbeca8a66871e6835b51307ce08864ed0a778ccfd5f62d6768099f06680915375ee78c3b889514e247bcfe797889f16388c321b0
26
27 diff --git a/sys-libs/tevent/tevent-0.9.39.ebuild b/sys-libs/tevent/tevent-0.9.39.ebuild
28 new file mode 100644
29 index 00000000000..d7fea1a2686
30 --- /dev/null
31 +++ b/sys-libs/tevent/tevent-0.9.39.ebuild
32 @@ -0,0 +1,71 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +PYTHON_COMPAT=( python3_{4,5,6,7} )
38 +PYTHON_REQ_USE="threads(+)"
39 +
40 +inherit waf-utils multilib-minimal python-single-r1
41 +
42 +DESCRIPTION="Samba tevent library"
43 +HOMEPAGE="https://tevent.samba.org/"
44 +SRC_URI="https://www.samba.org/ftp/tevent/${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
49 +IUSE="elibc_glibc python"
50 +
51 +RDEPEND=">=sys-libs/talloc-2.1.16[${MULTILIB_USEDEP}]
52 + python? ( ${PYTHON_DEPS} )"
53 +
54 +DEPEND="${RDEPEND}
55 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
56 + elibc_glibc? (
57 + net-libs/libtirpc[${MULTILIB_USEDEP}]
58 + || (
59 + net-libs/rpcsvc-proto
60 + <sys-libs/glibc-2.26[rpc(+)]
61 + )
62 + )
63 + ${PYTHON_DEPS}
64 +"
65 +# build system does not work with python3
66 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
67 +
68 +WAF_BINARY="${S}/buildtools/bin/waf"
69 +
70 +RESTRICT="test"
71 +
72 +pkg_setup() {
73 + python-single-r1_pkg_setup
74 +}
75 +
76 +src_prepare() {
77 + default
78 + multilib_copy_sources
79 +}
80 +
81 +multilib_src_configure() {
82 + waf-utils_src_configure \
83 + --bundled-libraries=NONE \
84 + --builtin-libraries=NONE \
85 + $(multilib_native_usex python '' '--disable-python')
86 +}
87 +
88 +multilib_src_compile() {
89 + # need to avoid parallel building, this looks like the sanest way with waf-utils/multiprocessing eclasses
90 + unset MAKEOPTS
91 + waf-utils_src_compile
92 +}
93 +
94 +multilib_src_install() {
95 + waf-utils_src_install
96 +
97 + multilib_is_native_abi && use python && python_domodule tevent.py
98 +}
99 +
100 +multilib_src_install_all() {
101 + insinto /usr/include
102 + doins tevent_internal.h
103 +}