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, 06 Jul 2017 12:43:05
Message-Id: 1499344966.f4820d0562730c0e144c1bb98d2be040484cbac5.polynomial-c@gentoo
1 commit: f4820d0562730c0e144c1bb98d2be040484cbac5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 6 12:22:38 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 6 12:42:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4820d05
7
8 sys-libs/tevent: Bump to version 0.9.32
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 sys-libs/tevent/Manifest | 1 +
13 sys-libs/tevent/tevent-0.9.32.ebuild | 60 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/sys-libs/tevent/Manifest b/sys-libs/tevent/Manifest
17 index 1bd4cb71b1e..6ef12903996 100644
18 --- a/sys-libs/tevent/Manifest
19 +++ b/sys-libs/tevent/Manifest
20 @@ -1,2 +1,3 @@
21 DIST tevent-0.9.28.tar.gz 581522 SHA256 04d953379025b1560af5c4ffcce58a3ee84db7aaa09c9f1e3eff5b2945a13529 SHA512 328d586a5891796a731e6f0d02e1a731d3541a977c16abca355359cd7f60bbdbb0baaad49c05eb42c3a44f97e57a775605974d22d46ca6c26f283c8ca1b5a909 WHIRLPOOL 3a572a1c73d564b535b15fca06a1df1ba124cac031026a1cabcbc66e38cac374eb8dad05a25372ab66982ff3c772ed63e890b62545dcce926fa782fe5fc21147
22 DIST tevent-0.9.31.tar.gz 587784 SHA256 4a13f2256ad804c860e84068258bd0f8be31cf0c79aa8f3019fa32f6928c2bfc SHA512 048e37a7f5d3b8e948215fdb909c9b6e94b915c9d4978a8e18c73c9d27d5b1f179c10d19ec90325f8250e7c177c28231ad116a2975caaa43312c383e75517258 WHIRLPOOL 44061dd68b284bcaef625a70769f472ff1f2bd509843f8da9aca3c7b5affa12a825d3df49f126edc2d883bc0b1ad10eb59fba75ad80b1db12c92aeb100701fcd
23 +DIST tevent-0.9.32.tar.gz 590314 SHA256 d316e1438ffbb588a0afc90b748499dead25884ef275664fdca0df2793b62f8b SHA512 9bd256c245d9f82dcd5b31787c8b11780b958bef96426de231f54eaea6df680a5cf3eb8c8d066d05f271e81f303404fc4191a23a6bc2533b7d1b732b2c206fbd WHIRLPOOL 9fc88d9e946eaa3c3bd50c538b48e1f4a29e1cab8d81f7ddc81aec43b088cb931592cbf0d3cdd44c4bb0b787a7d144cf518a9b3f5e67208627aac3b7f19258e0
24
25 diff --git a/sys-libs/tevent/tevent-0.9.32.ebuild b/sys-libs/tevent/tevent-0.9.32.ebuild
26 new file mode 100644
27 index 00000000000..6a12144b62e
28 --- /dev/null
29 +++ b/sys-libs/tevent/tevent-0.9.32.ebuild
30 @@ -0,0 +1,60 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 )
36 +PYTHON_REQ_USE="threads(+)"
37 +
38 +inherit waf-utils multilib-minimal python-single-r1
39 +
40 +DESCRIPTION="Samba tevent library"
41 +HOMEPAGE="http://tevent.samba.org/"
42 +SRC_URI="http://samba.org/ftp/tevent/${P}.tar.gz"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
47 +IUSE="python"
48 +
49 +RDEPEND=">=sys-libs/talloc-2.1.9[${MULTILIB_USEDEP}]
50 + python? ( ${PYTHON_DEPS} )"
51 +
52 +DEPEND="${RDEPEND}
53 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
54 + ${PYTHON_DEPS}
55 +"
56 +# build system does not work with python3
57 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
58 +
59 +WAF_BINARY="${S}/buildtools/bin/waf"
60 +
61 +pkg_setup() {
62 + python-single-r1_pkg_setup
63 +}
64 +
65 +src_prepare() {
66 + default
67 + multilib_copy_sources
68 +}
69 +
70 +multilib_src_configure() {
71 + waf-utils_src_configure \
72 + $(multilib_native_usex python '' '--disable-python')
73 +}
74 +
75 +multilib_src_compile() {
76 + # need to avoid parallel building, this looks like the sanest way with waf-utils/multiprocessing eclasses
77 + unset MAKEOPTS
78 + waf-utils_src_compile
79 +}
80 +
81 +multilib_src_install() {
82 + waf-utils_src_install
83 +
84 + multilib_is_native_abi && use python && python_domodule tevent.py
85 +}
86 +
87 +multilib_src_install_all() {
88 + insinto /usr/include
89 + doins tevent_internal.h
90 +}