1 |
commit: c06d031782d0fd8c8c60e3c394126e416a83e0f1 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 17 14:17:17 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 17 14:17:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c06d0317 |
7 |
|
8 |
dev-libs/libevent: Version 2.1.9_beta |
9 |
|
10 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libevent/Manifest | 1 + |
14 |
...vent-9999.ebuild => libevent-2.1.9_beta.ebuild} | 33 ++++++++++++---------- |
15 |
dev-libs/libevent/libevent-9999.ebuild | 6 ++-- |
16 |
3 files changed, 22 insertions(+), 18 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest |
19 |
index ba25e280bed..9171930e0d2 100644 |
20 |
--- a/dev-libs/libevent/Manifest |
21 |
+++ b/dev-libs/libevent/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST libevent-2.1.8.tar.gz 1026485 BLAKE2B f1ceb740aa776a7c26f52916d771af7f4bb351cadf858ef991ab015e5897e34579c6af1f4ed3b516d5be2ac7cb3a7c27ac9d3020dbb04ac7670118616a264561 SHA512 a2fd3dd111e73634e4aeb1b29d06e420b15c024d7b47778883b5f8a4ff320b5057a8164c6d50b53bd196c79d572ce2639fe6265e03a93304b09c22b41e4c2a17 |
24 |
+DIST libevent-2.1.9_beta.tar.gz 1067050 BLAKE2B d59f424995742e6a57df74420d91c8a1614d7dbb6e3928a3dd666269f7c2f4876d6fedd649e4e947a6db63c15f69c18866bda9997c3bb3571452a8dbf126916a SHA512 672bff332292ec76503bc0ccb9462058e093f1867740fece51f77bb666c77c85e10271730b32b36d6faa9ab2ccee0433879457e201bf94b6bf704dba2c066051 |
25 |
|
26 |
diff --git a/dev-libs/libevent/libevent-9999.ebuild b/dev-libs/libevent/libevent-2.1.9_beta.ebuild |
27 |
similarity index 56% |
28 |
copy from dev-libs/libevent/libevent-9999.ebuild |
29 |
copy to dev-libs/libevent/libevent-2.1.9_beta.ebuild |
30 |
index 278ad77c4d5..9c98cb2fe64 100644 |
31 |
--- a/dev-libs/libevent/libevent-9999.ebuild |
32 |
+++ b/dev-libs/libevent/libevent-2.1.9_beta.ebuild |
33 |
@@ -1,21 +1,18 @@ |
34 |
# Copyright 1999-2019 Gentoo Authors |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
-EAPI=6 |
38 |
-inherit autotools eutils git-r3 multilib-minimal |
39 |
+EAPI=7 |
40 |
+inherit autotools multilib-minimal |
41 |
|
42 |
DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" |
43 |
-EGIT_REPO_URI="https://github.com/libevent/libevent" |
44 |
-HOMEPAGE=" |
45 |
- http://libevent.org/ |
46 |
- ${EGIT_REPO_URI} |
47 |
-" |
48 |
+HOMEPAGE="http://libevent.org/ https://github.com/libevent/libevent/" |
49 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV/_/-}/${P/_/-}.tar.gz -> ${P}.tar.gz" |
50 |
|
51 |
LICENSE="BSD" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="" |
54 |
+# libevent-2.1.so.6 |
55 |
+SLOT="0/2.1-6" |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
57 |
IUSE="debug libressl +ssl static-libs test +threads" |
58 |
-RESTRICT="test" |
59 |
|
60 |
DEPEND=" |
61 |
ssl? ( |
62 |
@@ -27,13 +24,10 @@ RDEPEND=" |
63 |
${DEPEND} |
64 |
!<=dev-libs/9libs-1.0 |
65 |
" |
66 |
- |
67 |
MULTILIB_WRAPPED_HEADERS=( |
68 |
/usr/include/event2/event-config.h |
69 |
) |
70 |
-DOCS=( |
71 |
- ChangeLog{,-1.4,-2.0} |
72 |
-) |
73 |
+S=${WORKDIR}/${P/_/-} |
74 |
|
75 |
src_prepare() { |
76 |
default |
77 |
@@ -55,7 +49,16 @@ multilib_src_configure() { |
78 |
$(use_enable threads thread-support) |
79 |
} |
80 |
|
81 |
+src_test() { |
82 |
+ # The test suite doesn't quite work (see bug #406801 for the latest |
83 |
+ # installment in a riveting series of reports). |
84 |
+ : |
85 |
+ # emake -C test check | tee "${T}"/tests |
86 |
+} |
87 |
+ |
88 |
+DOCS=( ChangeLog{,-1.4,-2.0} ) |
89 |
+ |
90 |
multilib_src_install_all() { |
91 |
einstalldocs |
92 |
- prune_libtool_files |
93 |
+ find "${ED}" -name '*.la' -delete || die |
94 |
} |
95 |
|
96 |
diff --git a/dev-libs/libevent/libevent-9999.ebuild b/dev-libs/libevent/libevent-9999.ebuild |
97 |
index 278ad77c4d5..16a0b3af8b6 100644 |
98 |
--- a/dev-libs/libevent/libevent-9999.ebuild |
99 |
+++ b/dev-libs/libevent/libevent-9999.ebuild |
100 |
@@ -1,8 +1,8 @@ |
101 |
# Copyright 1999-2019 Gentoo Authors |
102 |
# Distributed under the terms of the GNU General Public License v2 |
103 |
|
104 |
-EAPI=6 |
105 |
-inherit autotools eutils git-r3 multilib-minimal |
106 |
+EAPI=7 |
107 |
+inherit autotools git-r3 multilib-minimal |
108 |
|
109 |
DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" |
110 |
EGIT_REPO_URI="https://github.com/libevent/libevent" |
111 |
@@ -57,5 +57,5 @@ multilib_src_configure() { |
112 |
|
113 |
multilib_src_install_all() { |
114 |
einstalldocs |
115 |
- prune_libtool_files |
116 |
+ find "${ED}" -name '*.la' -delete || die |
117 |
} |