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: Wed, 16 Jan 2019 21:30:53
Message-Id: 1547674239.ba91f4e7bbfc94cb1012b3aa069969077c879198.polynomial-c@gentoo
1 commit: ba91f4e7bbfc94cb1012b3aa069969077c879198
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 16 20:31:23 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 16 21:30:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba91f4e7
7
8 sys-libs/tevent: Bump to version 0.9.38
9
10 Package-Manager: Portage-2.3.56, 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.38.ebuild | 71 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/sys-libs/tevent/Manifest b/sys-libs/tevent/Manifest
18 index 9e16ca0840d..8576f37f2d0 100644
19 --- a/sys-libs/tevent/Manifest
20 +++ b/sys-libs/tevent/Manifest
21 @@ -2,3 +2,4 @@ DIST tevent-0.9.28.tar.gz 581522 BLAKE2B 95db3ed16b91673ee99fbf30d3c40dfceda080f
22 DIST tevent-0.9.31.tar.gz 587784 BLAKE2B 0e562600ae8ba4dae194b1a28a020f5618b1566f65cf2b2f158cd44e6cb30c422086bd2ebfd65a03bc4d4b13de4ca833ff04ab1368255eb2181c148de3487214 SHA512 048e37a7f5d3b8e948215fdb909c9b6e94b915c9d4978a8e18c73c9d27d5b1f179c10d19ec90325f8250e7c177c28231ad116a2975caaa43312c383e75517258
23 DIST tevent-0.9.36.tar.gz 592439 BLAKE2B b24dc37aaeb3bc08eb642c85cf34e4fbcf35fbc38421d3f5c3f03fe77ea8252e7a54a956a9c6750c78dcbb11a092e894bd24ea700acdd634edada1f930a67756 SHA512 bca9db9bcf142ba68b207180d19414dddb89a069a4f040383069c8af0df5bb184ca219293c4a1e7b0bc241b9a1ea3d414f8284278ad3a5f0383b9e432450167b
24 DIST tevent-0.9.37.tar.gz 603859 BLAKE2B 2210416b09c3f83cf68a9f686d1d582891cd22b4547eb0e5237288dca6a0b94619769060c541e0cfc3ccce79246b1140875109934e009015b8e04a31a94d6792 SHA512 5d4833403e1c2f2749f00a389e4757261a4f22cd3a67c906001b36a8b622cc68a38e86d4eb475848a2121ebba054a7e7dac7f486d9f2906a401c3cc97fb447f4
25 +DIST tevent-0.9.38.tar.gz 794856 BLAKE2B 1198de5e68cec39bac3931aa5c26ee26aa5fd713d9cbc72bd90d5dd9c787d617d17c57d8393a845800168452cd8092d38ddc480d3bbe176dfe364d6c9a211094 SHA512 f475a7b7c261368bd641992c8f657c081bbbe783535ff435a7b68f7749d0e5873d57d05cf6ce80a28ccc9f11033022d28e9ae357b03854109c2c279a003d2035
26
27 diff --git a/sys-libs/tevent/tevent-0.9.38.ebuild b/sys-libs/tevent/tevent-0.9.38.ebuild
28 new file mode 100644
29 index 00000000000..2639789e899
30 --- /dev/null
31 +++ b/sys-libs/tevent/tevent-0.9.38.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.15[${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 +}