Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/tevent/
Date: Tue, 21 Nov 2017 19:32:04
Message-Id: 1511292707.f866ba884cfeac5485f57ff7ab3cba3a78952d5d.axs@gentoo
1 commit: f866ba884cfeac5485f57ff7ab3cba3a78952d5d
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 21 18:54:02 2017 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 21 19:31:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f866ba88
7
8 sys-libs/tevent: version bump
9
10 Needed for samba-4.6.11 and 4.7.3
11
12 Package-Manager: Portage-2.3.13, Repoman-2.3.3
13
14 sys-libs/tevent/Manifest | 1 +
15 sys-libs/tevent/tevent-0.9.34.ebuild | 66 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 67 insertions(+)
17
18 diff --git a/sys-libs/tevent/Manifest b/sys-libs/tevent/Manifest
19 index 30174f43261..f70fd243c98 100644
20 --- a/sys-libs/tevent/Manifest
21 +++ b/sys-libs/tevent/Manifest
22 @@ -2,3 +2,4 @@ DIST tevent-0.9.28.tar.gz 581522 SHA256 04d953379025b1560af5c4ffcce58a3ee84db7aa
23 DIST tevent-0.9.31.tar.gz 587784 SHA256 4a13f2256ad804c860e84068258bd0f8be31cf0c79aa8f3019fa32f6928c2bfc SHA512 048e37a7f5d3b8e948215fdb909c9b6e94b915c9d4978a8e18c73c9d27d5b1f179c10d19ec90325f8250e7c177c28231ad116a2975caaa43312c383e75517258 WHIRLPOOL 44061dd68b284bcaef625a70769f472ff1f2bd509843f8da9aca3c7b5affa12a825d3df49f126edc2d883bc0b1ad10eb59fba75ad80b1db12c92aeb100701fcd
24 DIST tevent-0.9.32.tar.gz 590314 SHA256 d316e1438ffbb588a0afc90b748499dead25884ef275664fdca0df2793b62f8b SHA512 9bd256c245d9f82dcd5b31787c8b11780b958bef96426de231f54eaea6df680a5cf3eb8c8d066d05f271e81f303404fc4191a23a6bc2533b7d1b732b2c206fbd WHIRLPOOL 9fc88d9e946eaa3c3bd50c538b48e1f4a29e1cab8d81f7ddc81aec43b088cb931592cbf0d3cdd44c4bb0b787a7d144cf518a9b3f5e67208627aac3b7f19258e0
25 DIST tevent-0.9.33.tar.gz 590611 SHA256 22712ee981fd4298fcd5f3afb27d87a72257cebad37812cfbd3da5d968ed1bdc SHA512 3a437957859a556e06f24334301c41a3db1433c1e90d651fa74585a638a36d71369f235a8ab51aa0dd8f9d9bb88ad42f2c3ddeba0b99c4234c63866a8c922b91 WHIRLPOOL a9c667998e40fe58349c31e543f8b665fda8b78972a8c7ba7e7b77557a597498146288a26f0cb5d1590c5706b2f957d028624c7639c0e8c8063e7a17595f3924
26 +DIST tevent-0.9.34.tar.gz 590260 SHA256 73213ef8b27f4a0164e375140a177a751e06fe190a90f3178e24f206b4747b8a SHA512 29ff88cedc05d9345749ee241f8ab083fc6f98d3975b2739629a3a75a766db6ec42133eeb6c9297315ee0c68ab512c70b8b927d2df5ea61880c673ef33b44183 WHIRLPOOL 5ae8d4a98700309aec3ddcb73a078e2dc37ac5bdd46a721bfad61ac03923e025102a782830e4860c2c4e1210d4019e3bd918ec2b1bd8f1f4deaaa1acacfd6a0b
27
28 diff --git a/sys-libs/tevent/tevent-0.9.34.ebuild b/sys-libs/tevent/tevent-0.9.34.ebuild
29 new file mode 100644
30 index 00000000000..8631e3e4141
31 --- /dev/null
32 +++ b/sys-libs/tevent/tevent-0.9.34.ebuild
33 @@ -0,0 +1,66 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +PYTHON_COMPAT=( python2_7 )
39 +PYTHON_REQ_USE="threads(+)"
40 +
41 +inherit waf-utils multilib-minimal python-single-r1
42 +
43 +DESCRIPTION="Samba tevent library"
44 +HOMEPAGE="https://tevent.samba.org/"
45 +SRC_URI="https://www.samba.org/ftp/tevent/${P}.tar.gz"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
50 +IUSE="python"
51 +
52 +RDEPEND=">=sys-libs/talloc-2.1.10[${MULTILIB_USEDEP}]
53 + python? ( ${PYTHON_DEPS} )"
54 +
55 +DEPEND="${RDEPEND}
56 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
57 + ${PYTHON_DEPS}
58 +"
59 +# build system does not work with python3
60 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
61 +
62 +#PATCHES=(
63 +# "${FILESDIR}"/talloc-disable-python.patch
64 +#)
65 +
66 +WAF_BINARY="${S}/buildtools/bin/waf"
67 +
68 +pkg_setup() {
69 + python-single-r1_pkg_setup
70 +}
71 +
72 +src_prepare() {
73 + default
74 + multilib_copy_sources
75 +}
76 +
77 +multilib_src_configure() {
78 + waf-utils_src_configure \
79 + --bundled-libraries=NONE \
80 + --builtin-libraries=NONE \
81 + $(multilib_native_usex python '' '--disable-python')
82 +}
83 +
84 +multilib_src_compile() {
85 + # need to avoid parallel building, this looks like the sanest way with waf-utils/multiprocessing eclasses
86 + unset MAKEOPTS
87 + waf-utils_src_compile
88 +}
89 +
90 +multilib_src_install() {
91 + waf-utils_src_install
92 +
93 + multilib_is_native_abi && use python && python_domodule tevent.py
94 +}
95 +
96 +multilib_src_install_all() {
97 + insinto /usr/include
98 + doins tevent_internal.h
99 +}