1 |
commit: f89f8b1bbd2e71e559ba1d9eab8d5b20b21aa4c2 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 2 22:00:43 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 2 22:03:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89f8b1b |
7 |
|
8 |
net-libs/rabbitmq-c: bump to v0.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
net-libs/rabbitmq-c/Manifest | 1 + |
14 |
net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild | 56 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/rabbitmq-c/Manifest b/net-libs/rabbitmq-c/Manifest |
18 |
index f5f89bb83a0..21200c4aaa2 100644 |
19 |
--- a/net-libs/rabbitmq-c/Manifest |
20 |
+++ b/net-libs/rabbitmq-c/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST rabbitmq-c-0.10.0.tar.gz 145361 BLAKE2B 99b53d5178fa407225d2060584239af83377027fb6a209002d11ed54be4b49bab70ae55c86ab971394ab745a632ece6f070f9c10a9bdd330de4778edbd8e1ea8 SHA512 52a1194fab2dc8698ed065d63898e32aa004a4d68080d4aaf5cb7148cc28ad967283f7a99910d7f054cbba92b487b3a67b839b6f0bd88486ef9be043c9517d4c |
23 |
DIST rabbitmq-c-v0.9.0.zip 227245 BLAKE2B ea37e0a9734bc7a8923cab880a9e150f055bab83bb79eb793882a1d435e6e435fbf4610034235f858d0e4d20978287b9432b312c8c3eea5e588655dc2f831554 SHA512 0cac0e26b4caca3de22b468200a20c38c8ace1a824442faa0855d93922b0c3a649fc2067366f6694eca0be635187ca9a9cfe47643472f4abb3d67028768f49fb |
24 |
|
25 |
diff --git a/net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild b/net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..915bf6d73e2 |
28 |
--- /dev/null |
29 |
+++ b/net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+ |
36 |
+inherit cmake-utils |
37 |
+ |
38 |
+DESCRIPTION="RabbitMQ C client" |
39 |
+HOMEPAGE="https://github.com/alanxz/rabbitmq-c" |
40 |
+ |
41 |
+if [[ ${PV} == *9999* ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/alanxz/${PN}.git" |
44 |
+else |
45 |
+ SRC_URI="https://github.com/alanxz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0/4" |
51 |
+IUSE="doc libressl test +ssl static-libs tools" |
52 |
+ |
53 |
+REQUIRED_USE="test? ( static-libs )" |
54 |
+ |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+RDEPEND="ssl? ( |
58 |
+ libressl? ( dev-libs/libressl:= ) |
59 |
+ !libressl? ( dev-libs/openssl:0= ) |
60 |
+ ) |
61 |
+ tools? ( dev-libs/popt )" |
62 |
+DEPEND="${DEPEND} |
63 |
+ doc? ( app-doc/doxygen ) |
64 |
+ tools? ( app-text/xmlto )" |
65 |
+DOCS=( AUTHORS README.md THANKS TODO ) |
66 |
+ |
67 |
+src_configure() { |
68 |
+ mycmakeargs=( |
69 |
+ -DCMAKE_SKIP_RPATH=ON |
70 |
+ -DBUILD_API_DOCS=$(usex doc) |
71 |
+ -DBUILD_STATIC_LIBS=$(usex static-libs) |
72 |
+ -DBUILD_TESTS=$(usex test) |
73 |
+ -DBUILD_TOOLS=$(usex tools) |
74 |
+ -DBUILD_TOOLS_DOCS=$(usex tools) |
75 |
+ -DENABLE_SSL_SUPPORT=$(usex ssl) |
76 |
+ ) |
77 |
+ cmake-utils_src_configure |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ pushd "${BUILD_DIR}" > /dev/null || die |
82 |
+ |
83 |
+ # Skip "basic" test which requires running local rabbitmq-server instance, |
84 |
+ # see https://github.com/alanxz/rabbitmq-c/issues/530 |
85 |
+ ctest -v -E basic || die |
86 |
+} |