Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/davix/
Date: Thu, 15 Nov 2018 13:42:53
Message-Id: 1542289309.ac6add5639a3da1767cad32c022c2eeb2a02f1fc.amadio@gentoo
1 commit: ac6add5639a3da1767cad32c022c2eeb2a02f1fc
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 14 07:56:24 2018 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 15 13:41:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6add56
7
8 net-libs/davix: version bump to 0.7.1
9
10 Drop version 0.6.8 and skip version 0.6.9 due to known issues.
11 See https://sft.its.cern.ch/jira/browse/ROOT-9730 for more info.
12
13 Package-Manager: Portage-2.3.51, Repoman-2.3.12
14 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
15
16 net-libs/davix/Manifest | 2 +-
17 .../davix/{davix-0.6.8.ebuild => davix-0.7.1.ebuild} | 17 +++++++++++++++--
18 2 files changed, 16 insertions(+), 3 deletions(-)
19
20 diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest
21 index a7a885c0cfc..267666160a2 100644
22 --- a/net-libs/davix/Manifest
23 +++ b/net-libs/davix/Manifest
24 @@ -1,2 +1,2 @@
25 DIST davix-0.6.7.tar 3346429 BLAKE2B 7510c628cd1d346ed5f4dca6100207e5e2efa3a98d0caf63dbe3ba39f58a9b11c330c95cd2d40d60d8f2497355d4cb2f2d7537babfef287a5905f32322363d90 SHA512 5cb830e415a4ab87b7b046fbd8ba615379766f4fa4b886a271b0c248c05968b9a3cb144751b44d5fd62f5e07bdb7610c0505e44f2702147f6f006b49a4b3d8ce
26 -DIST davix-0.6.8.tar 3461829 BLAKE2B 96e23b3d099262b577a078aad9c6ac3adb6a0ab5dd410573a1886a886f828e46af2d6df9904236ae9f1aff5c75e7bec93c81e02bd173d67a13e9f9bfce3225c1 SHA512 7c0e2a427b2a9ad807d104e8ada732a6e806818e0b7b53caf965ce6238637e4c6f5c67e56e7ef89a23004531c62bc1ba6cb7ce1dd0d1aefdc46bdd7b8c48c9c4
27 +DIST davix-0.7.1.tar 4336124 BLAKE2B 5db4f8f03fef38feedb0f0a9dfce763ff53ba9b1aa19d09f0af979e111d9f52226222e7b00e48aa3589070e9bf857e000f297d1a162aac83fe877ce3cd2984e1 SHA512 a4408960c4e16011de5e6cea1470d7fa487fd0b9c462082d8fb800bcaa812cab10a92643c9eeb66dda506d177903917176e6310c2a10042a848a52b858f4eb4e
28
29 diff --git a/net-libs/davix/davix-0.6.8.ebuild b/net-libs/davix/davix-0.7.1.ebuild
30 similarity index 83%
31 rename from net-libs/davix/davix-0.6.8.ebuild
32 rename to net-libs/davix/davix-0.7.1.ebuild
33 index 943d50f9fb9..b6b1dbf9c82 100644
34 --- a/net-libs/davix/davix-0.6.8.ebuild
35 +++ b/net-libs/davix/davix-0.7.1.ebuild
36 @@ -1,4 +1,4 @@
37 -# Copyright 1999-2018 Gentoo Foundation
38 +# Copyright 1999-2018 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI=6
42 @@ -32,6 +32,16 @@ RDEPEND="${CDEPEND}"
43
44 REQUIRED_USE="test? ( tools )"
45
46 +src_prepare() {
47 + cmake-utils_src_prepare
48 +
49 + for x in doc test; do
50 + if ! use $x; then
51 + sed -i -e "/add_subdirectory ($x)/d" CMakeLists.txt
52 + fi
53 + done
54 +}
55 +
56 src_configure() {
57 local mycmakeargs=(
58 -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
59 @@ -44,7 +54,6 @@ src_configure() {
60 -DSTATIC_LIBRARY=OFF
61 -DSYSCONF_INSTALL_DIR="${EPREFIX}/etc"
62 -DBUILD_TESTING=$(usex test)
63 - -DUNIT_TESTS=$(usex test)
64 )
65 cmake-utils_src_configure
66 }
67 @@ -62,4 +71,8 @@ src_install() {
68 if ! use tools; then
69 rm -rf "${ED}/usr/share/man/man1"
70 fi
71 +
72 + if use test; then
73 + rm -rf "${ED}/usr/bin/davix-unit-tests"
74 + fi
75 }