Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libevent/
Date: Sun, 10 Sep 2017 22:23:52
Message-Id: 1505082223.8b9bc601cf3c2bcf826574632057fb69a65812fb.jer@gentoo
1 commit: 8b9bc601cf3c2bcf826574632057fb69a65812fb
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 10 22:18:30 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 10 22:23:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9bc601
7
8 dev-libs/libevent: Old.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 dev-libs/libevent/Manifest | 1 -
13 dev-libs/libevent/libevent-2.0.22-r2.ebuild | 69 -----------------------------
14 dev-libs/libevent/libevent-2.0.22.ebuild | 63 --------------------------
15 3 files changed, 133 deletions(-)
16
17 diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest
18 index 556169ef3b7..ec2a16ad41a 100644
19 --- a/dev-libs/libevent/Manifest
20 +++ b/dev-libs/libevent/Manifest
21 @@ -1,2 +1 @@
22 -DIST libevent-2.0.22-stable.tar.gz 854987 SHA256 71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3 SHA512 990637f12e890bfa7f86c194c8b112701436e92b60afb829194879efb85d558b986261e6508fe29bde73981feada874438e2d442cec8ea5730c889954f9bc907 WHIRLPOOL fe465e94a35dc489a86fad93fd4a82d5c314e3a66ebf1bcf8ba29014fe9bd2ebce4546b4a6a9fedee40d17010d73eb89b99596cec1dde3b7f9a4240cf6b6760d
23 DIST libevent-2.1.8.tar.gz 1026485 SHA256 965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2 SHA512 a2fd3dd111e73634e4aeb1b29d06e420b15c024d7b47778883b5f8a4ff320b5057a8164c6d50b53bd196c79d572ce2639fe6265e03a93304b09c22b41e4c2a17 WHIRLPOOL ac90b6613619e0acf039fa331769449b29a3b7698a6d51b811c9288a550a3178e07b5a18a0982141ee90b7e1c34afdc80658355135963ef487cd243c472ee79a
24
25 diff --git a/dev-libs/libevent/libevent-2.0.22-r2.ebuild b/dev-libs/libevent/libevent-2.0.22-r2.ebuild
26 deleted file mode 100644
27 index 3cc55c2712e..00000000000
28 --- a/dev-libs/libevent/libevent-2.0.22-r2.ebuild
29 +++ /dev/null
30 @@ -1,69 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -inherit eutils libtool multilib-minimal
36 -
37 -MY_P="${P}-stable"
38 -
39 -DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor"
40 -HOMEPAGE="http://libevent.org/"
41 -SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz"
42 -
43 -LICENSE="BSD"
44 -# libevent-2.0.so.5
45 -SLOT="0/2.0-5"
46 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
47 -IUSE="debug libressl +ssl static-libs test +threads"
48 -
49 -DEPEND="
50 - ssl? (
51 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
52 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
53 - )
54 -"
55 -RDEPEND="
56 - ${DEPEND}
57 - !<=dev-libs/9libs-1.0
58 -"
59 -
60 -MULTILIB_WRAPPED_HEADERS=(
61 - /usr/include/event2/event-config.h
62 -)
63 -
64 -S=${WORKDIR}/${MY_P}
65 -
66 -DOCS=( README ChangeLog )
67 -
68 -src_prepare() {
69 - elibtoolize
70 -
71 - # don't waste time building tests/samples
72 - # https://github.com/libevent/libevent/pull/143
73 - # https://github.com/libevent/libevent/pull/144
74 - sed -i \
75 - -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
76 - Makefile.in || die "sed Makefile.in failed"
77 -}
78 -
79 -multilib_src_configure() {
80 - ECONF_SOURCE="${S}" \
81 - econf \
82 - $(use_enable debug debug-mode) \
83 - $(use_enable debug malloc-replacement) \
84 - $(use_enable ssl openssl) \
85 - $(use_enable static-libs static) \
86 - $(use_enable threads thread-support)
87 -}
88 -
89 -src_test() {
90 - # The test suite doesn't quite work (see bug #406801 for the latest
91 - # installment in a riveting series of reports).
92 - :
93 - # emake -C test check | tee "${T}"/tests
94 -}
95 -
96 -multilib_src_install_all() {
97 - einstalldocs
98 - prune_libtool_files
99 -}
100
101 diff --git a/dev-libs/libevent/libevent-2.0.22.ebuild b/dev-libs/libevent/libevent-2.0.22.ebuild
102 deleted file mode 100644
103 index 58dbb9794b1..00000000000
104 --- a/dev-libs/libevent/libevent-2.0.22.ebuild
105 +++ /dev/null
106 @@ -1,63 +0,0 @@
107 -# Copyright 1999-2017 Gentoo Foundation
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=5
111 -inherit eutils libtool multilib-minimal
112 -
113 -MY_P="${P}-stable"
114 -
115 -DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor"
116 -HOMEPAGE="http://libevent.org/"
117 -SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz"
118 -
119 -LICENSE="BSD"
120 -SLOT="0"
121 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
122 -IUSE="debug +ssl static-libs test +threads"
123 -
124 -DEPEND="ssl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )"
125 -RDEPEND="
126 - ${DEPEND}
127 - !<=dev-libs/9libs-1.0
128 -"
129 -
130 -MULTILIB_WRAPPED_HEADERS=(
131 - /usr/include/event2/event-config.h
132 -)
133 -
134 -S=${WORKDIR}/${MY_P}
135 -
136 -DOCS=( README ChangeLog )
137 -
138 -src_prepare() {
139 - elibtoolize
140 -
141 - # don't waste time building tests/samples
142 - # https://github.com/libevent/libevent/pull/143
143 - # https://github.com/libevent/libevent/pull/144
144 - sed -i \
145 - -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
146 - Makefile.in || die "sed Makefile.in failed"
147 -}
148 -
149 -multilib_src_configure() {
150 - ECONF_SOURCE="${S}" \
151 - econf \
152 - $(use_enable debug debug-mode) \
153 - $(use_enable debug malloc-replacement) \
154 - $(use_enable ssl openssl) \
155 - $(use_enable static-libs static) \
156 - $(use_enable threads thread-support)
157 -}
158 -
159 -src_test() {
160 - # The test suite doesn't quite work (see bug #406801 for the latest
161 - # installment in a riveting series of reports).
162 - :
163 - # emake -C test check | tee "${T}"/tests
164 -}
165 -
166 -multilib_src_install_all() {
167 - einstalldocs
168 - prune_libtool_files
169 -}