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-util/cmocka/files/, dev-util/cmocka/
Date: Sun, 28 Jul 2019 21:21:09
Message-Id: 1564348847.4d84148a84abd331b7645b4de1b31621dec37615.asturm@gentoo
1 commit: 4d84148a84abd331b7645b4de1b31621dec37615
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 28 21:07:17 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 28 21:20:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d84148a
7
8 dev-util/cmocka: Drop 1.1.3
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-util/cmocka/Manifest | 1 -
14 dev-util/cmocka/cmocka-1.1.3.ebuild | 51 ----------------------
15 dev-util/cmocka/files/cmocka-1.1.3-examples.patch | 45 -------------------
16 .../cmocka/files/cmocka-1.1.3-fix-doxygen.patch | 43 ------------------
17 4 files changed, 140 deletions(-)
18
19 diff --git a/dev-util/cmocka/Manifest b/dev-util/cmocka/Manifest
20 index 1709a3dcbbe..06a150ece92 100644
21 --- a/dev-util/cmocka/Manifest
22 +++ b/dev-util/cmocka/Manifest
23 @@ -1,2 +1 @@
24 -DIST cmocka-1.1.3.tar.xz 78744 BLAKE2B 5043a496afab08837a73c2e0ff9c9b3c3880a2fd394a768b1f8b51d2fec517a5527e93b7e660f8dcc73af79aaf88e224f4e2869c7e31540f8e54c76481905ff6 SHA512 b1a2ce72234256d653eebf95f8744a34525b9027e1ecf6552e1620c83a4bdda8b5674b748cc5fd14abada1e374829e2e7f0bcab0b1c8d6c3b7d9b7ec474b6ed3
25 DIST cmocka-1.1.5.tar.xz 81004 BLAKE2B 5625dc293ad481c654848f3de806ef88d1b651192c2461e52b54bf9d443b5e2ea5d2a685ab85b044685f57e5723ade6c4c17e38624f59c4eab240cb4feeaab1e SHA512 cad7f04757183d004f6eaad39036fc0e24c5e0e987f80e85bc43bc66dba22389cb02b08e25531cc28a541d0a24a86b29be134a2d6fc339128e87d66952f502bd
26
27 diff --git a/dev-util/cmocka/cmocka-1.1.3.ebuild b/dev-util/cmocka/cmocka-1.1.3.ebuild
28 deleted file mode 100644
29 index 59978fb7fdf..00000000000
30 --- a/dev-util/cmocka/cmocka-1.1.3.ebuild
31 +++ /dev/null
32 @@ -1,51 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit cmake-multilib
39 -
40 -DESCRIPTION="Unit testing framework for C"
41 -HOMEPAGE="https://cmocka.org/"
42 -SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz"
43 -
44 -LICENSE="Apache-2.0"
45 -SLOT="0"
46 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
47 -IUSE="doc examples static-libs test"
48 -
49 -BDEPEND="
50 - doc? ( app-doc/doxygen[dot] )
51 -"
52 -
53 -DOCS=( AUTHORS ChangeLog README.md )
54 -
55 -PATCHES=(
56 - "${FILESDIR}/${P}-fix-doxygen.patch" # bug 671404
57 - "${FILESDIR}/${P}-examples.patch"
58 -)
59 -
60 -multilib_src_configure() {
61 - local mycmakeargs=(
62 - -DWITH_EXAMPLES=$(usex examples)
63 - -DWITH_STATIC_LIB=$(usex static-libs)
64 - -DUNIT_TESTING=$(usex test)
65 - $(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \
66 - || echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON)
67 - )
68 -
69 - cmake-utils_src_configure
70 -}
71 -
72 -multilib_src_compile() {
73 - cmake-utils_src_compile
74 - multilib_is_native_abi && use doc && cmake-utils_src_compile docs
75 -}
76 -
77 -multilib_src_install() {
78 - if multilib_is_native_abi && use doc; then
79 - local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
80 - fi
81 -
82 - cmake-utils_src_install
83 -}
84
85 diff --git a/dev-util/cmocka/files/cmocka-1.1.3-examples.patch b/dev-util/cmocka/files/cmocka-1.1.3-examples.patch
86 deleted file mode 100644
87 index 3d5fcc8098f..00000000000
88 --- a/dev-util/cmocka/files/cmocka-1.1.3-examples.patch
89 +++ /dev/null
90 @@ -1,45 +0,0 @@
91 -From ee264da1aa222b354cee36184ab48c2072f62243 Mon Sep 17 00:00:00 2001
92 -From: Andreas Schneider <asn@××××××××××.org>
93 -Date: Wed, 23 Jan 2019 11:20:31 +0100
94 -Subject: [PATCH] cmake: Add WITH_EXAMPLES options
95 -
96 -This is turned on by default, but you can disable it, if you just
97 -package cmocka for an opterating system.
98 -
99 -Fixes #14
100 -
101 -Signed-off-by: Andreas Schneider <asn@××××××××××.org>
102 ----
103 - CMakeLists.txt | 4 +++-
104 - DefineOptions.cmake | 1 +
105 - 2 files changed, 4 insertions(+), 1 deletion(-)
106 -
107 -diff --git a/CMakeLists.txt b/CMakeLists.txt
108 -index 7778039..702be97 100644
109 ---- a/CMakeLists.txt
110 -+++ b/CMakeLists.txt
111 -@@ -60,7 +60,9 @@ if (UNIT_TESTING)
112 - add_subdirectory(tests)
113 - endif (UNIT_TESTING)
114 -
115 --add_subdirectory(example)
116 -+if (WITH_EXAMPLES)
117 -+ add_subdirectory(example)
118 -+endif ()
119 -
120 - # pkg-config file
121 - configure_file(cmocka.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmocka.pc)
122 -diff --git a/DefineOptions.cmake b/DefineOptions.cmake
123 -index 5bc1ef3..911ff1d 100644
124 ---- a/DefineOptions.cmake
125 -+++ b/DefineOptions.cmake
126 -@@ -1,5 +1,6 @@
127 - option(WITH_STATIC_LIB "Build with a static library" OFF)
128 - option(WITH_CMOCKERY_SUPPORT "Install a cmockery header" OFF)
129 -+option(WITH_EXAMPLES "Build examples" ON)
130 - option(UNIT_TESTING "Build with unit testing" OFF)
131 - option(PICKY_DEVELOPER "Build with picky developer flags" OFF)
132 -
133 ---
134 -2.18.1
135 -
136
137 diff --git a/dev-util/cmocka/files/cmocka-1.1.3-fix-doxygen.patch b/dev-util/cmocka/files/cmocka-1.1.3-fix-doxygen.patch
138 deleted file mode 100644
139 index c093021aa82..00000000000
140 --- a/dev-util/cmocka/files/cmocka-1.1.3-fix-doxygen.patch
141 +++ /dev/null
142 @@ -1,43 +0,0 @@
143 -From 1abfea55df24e83c2ea321b5f2b75e1a58963bc6 Mon Sep 17 00:00:00 2001
144 -From: Andreas Schneider <asn@××××××××××.org>
145 -Date: Wed, 24 Oct 2018 16:33:39 +0200
146 -Subject: cmake: Fix doxygen generation
147 -
148 -Fixes #12
149 -
150 -Signed-off-by: Andreas Schneider <asn@××××××××××.org>
151 ----
152 - CMakeLists.txt | 2 +-
153 - doc/CMakeLists.txt | 2 +-
154 - 2 files changed, 2 insertions(+), 2 deletions(-)
155 -
156 -diff --git a/CMakeLists.txt b/CMakeLists.txt
157 -index 88408a9..7778039 100644
158 ---- a/CMakeLists.txt
159 -+++ b/CMakeLists.txt
160 -@@ -51,9 +51,9 @@ if (MINGW)
161 - endif (MINGW)
162 -
163 - # check subdirectories
164 --add_subdirectory(doc)
165 - add_subdirectory(include)
166 - add_subdirectory(src)
167 -+add_subdirectory(doc)
168 -
169 - include(AddCMockaTest)
170 - if (UNIT_TESTING)
171 -diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
172 -index a7bc65e..6ac7494 100644
173 ---- a/doc/CMakeLists.txt
174 -+++ b/doc/CMakeLists.txt
175 -@@ -38,7 +38,7 @@ if (DOXYGEN_FOUND)
176 -
177 - doxygen_add_docs(docs
178 - ${cmocka-library_SOURCE_DIR}
179 -- ${cmocka-headers_SOURCE_DIR}
180 -+ ${cmocka-header_SOURCE_DIR}
181 - ${CMAKE_CURRENT_SOURCE_DIR})
182 - endif(DOXYGEN_FOUND)
183 -
184 ---
185 -cgit v1.2.1