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, 28 Feb 2018 09:29:11
Message-Id: 1519810135.960d2dc4df1262e7a1b7590a0ebae6fdadcedbcf.polynomial-c@gentoo
1 commit: 960d2dc4df1262e7a1b7590a0ebae6fdadcedbcf
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 28 09:18:47 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 28 09:28:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960d2dc4
7
8 sys-libs/tevent: Bump to version 0.9.36
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sys-libs/tevent/Manifest | 1 +
13 sys-libs/tevent/tevent-0.9.36.ebuild | 66 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/sys-libs/tevent/Manifest b/sys-libs/tevent/Manifest
17 index 675d6b8f7f6..c79d44fd0ac 100644
18 --- a/sys-libs/tevent/Manifest
19 +++ b/sys-libs/tevent/Manifest
20 @@ -4,3 +4,4 @@ DIST tevent-0.9.32.tar.gz 590314 BLAKE2B 6159d2eac6ea49814fa83b982176db58fad6a9b
21 DIST tevent-0.9.33.tar.gz 590611 BLAKE2B 087cd196b5cd0ca675280ce35d2a3f51a69d3e36f3ca99be0860873b0078fa4b94092731e2d23c15e8ad0db9703735ee07b90a1900e27245295f11edb3798e6d SHA512 3a437957859a556e06f24334301c41a3db1433c1e90d651fa74585a638a36d71369f235a8ab51aa0dd8f9d9bb88ad42f2c3ddeba0b99c4234c63866a8c922b91
22 DIST tevent-0.9.34.tar.gz 590260 BLAKE2B 7acd5b5ec540ab97641729e2b6300335a581d70ae2a76d0a93959c47cf84109cb1f52234b7189ecdd28390205b828296bbbde0820e9ba23a7bb33677b347a584 SHA512 29ff88cedc05d9345749ee241f8ab083fc6f98d3975b2739629a3a75a766db6ec42133eeb6c9297315ee0c68ab512c70b8b927d2df5ea61880c673ef33b44183
23 DIST tevent-0.9.35.tar.gz 591546 BLAKE2B d0df81dc1998ae5806f3f8b613c5640af56d52c0e6fdea8f57c95cf4ef5d8bf349992582b97da94cbcc048bc3f758ecb03e836847467588e7dbfbb1aef87b906 SHA512 935719382469a0f39764a7ebdbc0ee977ccca2fc55ff1e896ddd95ba2d065d989f0c366cb98be95ce87475e628b0de38b7138261717a5c2cee870e98339ed5fd
24 +DIST tevent-0.9.36.tar.gz 592439 BLAKE2B b24dc37aaeb3bc08eb642c85cf34e4fbcf35fbc38421d3f5c3f03fe77ea8252e7a54a956a9c6750c78dcbb11a092e894bd24ea700acdd634edada1f930a67756 SHA512 bca9db9bcf142ba68b207180d19414dddb89a069a4f040383069c8af0df5bb184ca219293c4a1e7b0bc241b9a1ea3d414f8284278ad3a5f0383b9e432450167b
25
26 diff --git a/sys-libs/tevent/tevent-0.9.36.ebuild b/sys-libs/tevent/tevent-0.9.36.ebuild
27 new file mode 100644
28 index 00000000000..c2a8eb8ad78
29 --- /dev/null
30 +++ b/sys-libs/tevent/tevent-0.9.36.ebuild
31 @@ -0,0 +1,66 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python2_7 )
37 +PYTHON_REQ_USE="threads(+)"
38 +
39 +inherit waf-utils multilib-minimal python-single-r1
40 +
41 +DESCRIPTION="Samba tevent library"
42 +HOMEPAGE="https://tevent.samba.org/"
43 +SRC_URI="https://www.samba.org/ftp/tevent/${P}.tar.gz"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
48 +IUSE="python"
49 +
50 +RDEPEND=">=sys-libs/talloc-2.1.11[${MULTILIB_USEDEP}]
51 + python? ( ${PYTHON_DEPS} )"
52 +
53 +DEPEND="${RDEPEND}
54 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
55 + ${PYTHON_DEPS}
56 +"
57 +# build system does not work with python3
58 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
59 +
60 +#PATCHES=(
61 +# "${FILESDIR}"/talloc-disable-python.patch
62 +#)
63 +
64 +WAF_BINARY="${S}/buildtools/bin/waf"
65 +
66 +pkg_setup() {
67 + python-single-r1_pkg_setup
68 +}
69 +
70 +src_prepare() {
71 + default
72 + multilib_copy_sources
73 +}
74 +
75 +multilib_src_configure() {
76 + waf-utils_src_configure \
77 + --bundled-libraries=NONE \
78 + --builtin-libraries=NONE \
79 + $(multilib_native_usex python '' '--disable-python')
80 +}
81 +
82 +multilib_src_compile() {
83 + # need to avoid parallel building, this looks like the sanest way with waf-utils/multiprocessing eclasses
84 + unset MAKEOPTS
85 + waf-utils_src_compile
86 +}
87 +
88 +multilib_src_install() {
89 + waf-utils_src_install
90 +
91 + multilib_is_native_abi && use python && python_domodule tevent.py
92 +}
93 +
94 +multilib_src_install_all() {
95 + insinto /usr/include
96 + doins tevent_internal.h
97 +}