Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libcmis/
Date: Sun, 30 Dec 2018 20:08:53
Message-Id: 1546200445.d76b148ac130c329531b4758a3b35648d89a263d.asturm@gentoo
1 commit: d76b148ac130c329531b4758a3b35648d89a263d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 30 18:56:10 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 30 20:07:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76b148a
7
8 dev-cpp/libcmis: 0.5.2 version bump
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-cpp/libcmis/Manifest | 1 +
14 .../{libcmis-9999.ebuild => libcmis-0.5.2.ebuild} | 28 +++++++++-------------
15 dev-cpp/libcmis/libcmis-9999.ebuild | 20 +++++++++-------
16 3 files changed, 23 insertions(+), 26 deletions(-)
17
18 diff --git a/dev-cpp/libcmis/Manifest b/dev-cpp/libcmis/Manifest
19 index 2e15c177422..2065d178dde 100644
20 --- a/dev-cpp/libcmis/Manifest
21 +++ b/dev-cpp/libcmis/Manifest
22 @@ -1,2 +1,3 @@
23 +DIST libcmis-0.5.2.tar.gz 295020 BLAKE2B 325eacedd87eb1888a439c727a648c5aeb8d58c9b80add9761ffc55381193b71b589865d13ecd55177faafa935642685001f60456c1354e037989b29e9451c05 SHA512 45d8cd6d420a9593b46e1f2d6fbf384ea248cb218b0db6326ee2f082ff29100b65a2cc999ccb849e61df4f4ed7c3721b09addc6c322ef03c6c93f8c0acc02bde
24 DIST libcmis-0.5.2_pre20160820.tar.gz 285100 BLAKE2B 980200d1a56240d8d069aba2ad349ec02e90d345bad4956f6cbbea3606f9f90951523804293b349ad0419dd2db6db294a45a97872469105c1ba392c888fab332 SHA512 4b6d0fc4d80444fea2c5eb16621b92a10b41c58128cc8a355caca50f12648ed5113bd977cc5dbe8971e3dbc11f9d7ae8d45c9d2aa19f37c83659141af135bd1a
25 DIST libcmis-0.5.2_pre20180118.tar.gz 291080 BLAKE2B 1cb5664dcb0bef7f5a04c422b21ac54a9b70d38dec74d688327732630e4a134a88c7262d763a39d1730eda1cd45f5d3c3d47a56099959d01bf5e23972181a793 SHA512 630cf7e5c31266e2b55ca093aa942fc373eb24bbb5b9aedd687f67f1b3c6b627a3bdb58878859449bcb340626f3e1bdafa2b9cbb5e61e8e4336c45b804fca7a9
26
27 diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-0.5.2.ebuild
28 similarity index 58%
29 copy from dev-cpp/libcmis/libcmis-9999.ebuild
30 copy to dev-cpp/libcmis/libcmis-0.5.2.ebuild
31 index 8513c4a8cb4..2598ba45073 100644
32 --- a/dev-cpp/libcmis/libcmis-9999.ebuild
33 +++ b/dev-cpp/libcmis/libcmis-0.5.2.ebuild
34 @@ -1,4 +1,4 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 +# Copyright 1999-2018 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 EAPI=7
40 @@ -6,11 +6,9 @@ EAPI=7
41 if [[ ${PV} = 9999 ]]; then
42 EGIT_REPO_URI="https://github.com/tdf/libcmis.git"
43 inherit git-r3
44 -elif [[ ${PV} = *_pre* ]]; then
45 - COMMIT=738528d790b2b1d52d9b72d673842969a852815d
46 - SRC_URI="https://github.com/tdf/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
47 else
48 SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
50 fi
51 inherit autotools flag-o-matic
52
53 @@ -20,10 +18,6 @@ HOMEPAGE="https://github.com/tdf/libcmis"
54 LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
55 SLOT="0.5"
56
57 -# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
58 -[[ ${PV} == 9999 ]] || \
59 -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
60 -
61 IUSE="man static-libs test"
62
63 RDEPEND="
64 @@ -46,24 +40,24 @@ BDEPEND="
65
66 RESTRICT="test"
67
68 -[[ ${PV} = *_pre* ]] && S="${WORKDIR}/${PN}-${COMMIT}"
69 -
70 src_prepare() {
71 default
72 - [[ ${PV} = *_pre* || ${PV} = 9999 ]] && eautoreconf
73 + eautoreconf
74 }
75
76 src_configure() {
77 # bug 618778
78 append-cxxflags -std=c++14
79
80 - econf \
81 - --program-suffix=-$(ver_cut 1-2) \
82 - --disable-werror \
83 - $(use_with man) \
84 - $(use_enable static-libs static) \
85 - $(use_enable test tests) \
86 + local myeconfargs=(
87 + --program-suffix=-$(ver_cut 1-2)
88 + --disable-werror
89 + $(use_with man)
90 + $(use_enable static-libs static)
91 + $(use_enable test tests)
92 --enable-client
93 + )
94 + econf "${myeconfargs[@]}"
95 }
96
97 src_install() {
98
99 diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-9999.ebuild
100 index 8513c4a8cb4..33f9f92173e 100644
101 --- a/dev-cpp/libcmis/libcmis-9999.ebuild
102 +++ b/dev-cpp/libcmis/libcmis-9999.ebuild
103 @@ -1,4 +1,4 @@
104 -# Copyright 1999-2018 Gentoo Foundation
105 +# Copyright 1999-2018 Gentoo Authors
106 # Distributed under the terms of the GNU General Public License v2
107
108 EAPI=7
109 @@ -22,7 +22,7 @@ SLOT="0.5"
110
111 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
112 [[ ${PV} == 9999 ]] || \
113 -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
114 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
115
116 IUSE="man static-libs test"
117
118 @@ -50,20 +50,22 @@ RESTRICT="test"
119
120 src_prepare() {
121 default
122 - [[ ${PV} = *_pre* || ${PV} = 9999 ]] && eautoreconf
123 + eautoreconf
124 }
125
126 src_configure() {
127 # bug 618778
128 append-cxxflags -std=c++14
129
130 - econf \
131 - --program-suffix=-$(ver_cut 1-2) \
132 - --disable-werror \
133 - $(use_with man) \
134 - $(use_enable static-libs static) \
135 - $(use_enable test tests) \
136 + local myeconfargs=(
137 + --program-suffix=-$(ver_cut 1-2)
138 + --disable-werror
139 + $(use_with man)
140 + $(use_enable static-libs static)
141 + $(use_enable test tests)
142 --enable-client
143 + )
144 + econf "${myeconfargs[@]}"
145 }
146
147 src_install() {