Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/jsoncpp/
Date: Mon, 26 Mar 2018 16:14:10
Message-Id: 1522080833.e97311eadc3ba7e5066b82458a4f7ada12f1d0c2.mgorny@gentoo
1 commit: e97311eadc3ba7e5066b82458a4f7ada12f1d0c2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 26 06:40:38 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 16:13:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97311ea
7
8 dev-libs/jsoncpp: Drop old
9
10 dev-libs/jsoncpp/Manifest | 2 -
11 dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild | 75 -------------------------------
12 dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild | 71 -----------------------------
13 3 files changed, 148 deletions(-)
14
15 diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest
16 index dd2b0ca606a..2af18dd83a0 100644
17 --- a/dev-libs/jsoncpp/Manifest
18 +++ b/dev-libs/jsoncpp/Manifest
19 @@ -1,4 +1,2 @@
20 -DIST jsoncpp-0.10.2.tar.gz 197188 BLAKE2B eeca1bbccab98f9da0d1158d19cab0079b9a025ea53494795531de53206256d083703e2d1f0ab68e68f5f6f7427a28b3ffe04078a9fb26a775fd086783e2997f SHA512 8e451e3ba37094445ab098d5b9f7236ac84e2f15d98e2039c565e609b757c2383e91850bd86aca507ca5cd2f733fedc484bb7760eeeee7fe9bace71d97ae0d2e
21 -DIST jsoncpp-0.10.6.tar.gz 200213 BLAKE2B 3b643a4c672c150ab235473010894674d1577b33b23dbe3cb1e951ddfb5ed59574ddca750f38278afbcf74de44c62d09888ee61e0e756b2a406fe663292a3d7d SHA512 9fcf584d14c31fc135c9789b36c02c5985daecc7396eb21912d5ea3e757d1fd0d516d7a060e14b4955c73f6b4aa256529281da908726919236fa65310de9f1aa
22 DIST jsoncpp-1.8.1.tar.gz 210629 BLAKE2B 5f9a7f51b463784c5a74a78b7189800a37797f233b1d5a66d34edc0689c77a2b96b230c0ed4dfc749401087c551dd5659a6d152e09342ca92250ce9ea91a293e SHA512 4203826fca4c366b51d28ffc928399c914ffaba8be1cada64ff118b5742e6b469d3fc3e59344587d851447857b479794c5697d4fd11a9a55b32a3a7a801b745b
23 DIST jsoncpp-1.8.4.tar.gz 200226 BLAKE2B bbfa8cf7b6cfa6af34762b54de2da0e919849c65b1093b29f7a7ac437524d8b3cf07b42926b250489e9a289105df971fad798f3e73f908fac3e2f52a4e5467b3 SHA512 f70361a3263dd8b9441374a9a409462be1426c0d6587c865171a80448ab73b3f69de2b4d70d2f0c541764e1e6cccc727dd53178347901f625ec6fb54fb94f4f1
24
25 diff --git a/dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild b/dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild
26 deleted file mode 100644
27 index 282e25c214a..00000000000
28 --- a/dev-libs/jsoncpp/jsoncpp-0.10.2-r1.ebuild
29 +++ /dev/null
30 @@ -1,75 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -PYTHON_COMPAT=( python2_7 )
36 -
37 -inherit cmake-utils python-any-r1
38 -
39 -DESCRIPTION="C++ JSON reader and writer"
40 -HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
41 -SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="|| ( public-domain MIT )"
44 -SLOT="0"
45 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
46 -IUSE="doc test"
47 -
48 -DEPEND="
49 - doc? (
50 - app-doc/doxygen
51 - ${PYTHON_DEPS}
52 - )
53 - test? (
54 - ${PYTHON_DEPS}
55 - )"
56 -RDEPEND=""
57 -
58 -RESTRICT="!test? ( test )"
59 -
60 -PATCHES=(
61 - # fix broken path subst in .pc file
62 - "${FILESDIR}"/jsoncpp-1.6.2-fix-pkgconfig.patch
63 - "${FILESDIR}/${P}-arm.patch"
64 -)
65 -
66 -pkg_setup() {
67 - if use doc || use test; then
68 - python-any-r1_pkg_setup
69 - fi
70 -}
71 -
72 -src_configure() {
73 - local mycmakeargs=(
74 - -DJSONCPP_WITH_TESTS=$(usex test)
75 - -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
76 - -DJSONCPP_WITH_CMAKE_PACKAGE=ON
77 -
78 - -DBUILD_SHARED_LIBS=ON
79 - # Follow Debian, Ubuntu, Arch convention for headers location
80 - # bug #452234
81 - -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp
82 - )
83 -
84 - cmake-utils_src_configure
85 -}
86 -
87 -src_compile() {
88 - cmake-utils_src_compile
89 -
90 - if use doc; then
91 - "${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die
92 - fi
93 -}
94 -
95 -src_test() {
96 - emake -C "${BUILD_DIR}" jsoncpp_check
97 -}
98 -
99 -src_install() {
100 - cmake-utils_src_install
101 -
102 - if use doc; then
103 - dohtml dist/doxygen/jsoncpp*/*
104 - fi
105 -}
106
107 diff --git a/dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild b/dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild
108 deleted file mode 100644
109 index 52631dc5155..00000000000
110 --- a/dev-libs/jsoncpp/jsoncpp-0.10.6.ebuild
111 +++ /dev/null
112 @@ -1,71 +0,0 @@
113 -# Copyright 1999-2015 Gentoo Foundation
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=6
117 -PYTHON_COMPAT=( python2_7 )
118 -
119 -inherit cmake-utils python-any-r1
120 -
121 -DESCRIPTION="C++ JSON reader and writer"
122 -HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
123 -SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
124 -
125 -LICENSE="|| ( public-domain MIT )"
126 -SLOT="0"
127 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
128 -IUSE="doc test"
129 -
130 -DEPEND="
131 - doc? (
132 - app-doc/doxygen
133 - ${PYTHON_DEPS}
134 - )
135 - test? (
136 - ${PYTHON_DEPS}
137 - )"
138 -RDEPEND=""
139 -
140 -RESTRICT="!test? ( test )"
141 -
142 -pkg_setup() {
143 - if use doc || use test; then
144 - python-any-r1_pkg_setup
145 - fi
146 -}
147 -
148 -src_configure() {
149 - local mycmakeargs=(
150 - -DJSONCPP_WITH_TESTS=$(usex test)
151 - -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
152 - -DJSONCPP_WITH_CMAKE_PACKAGE=ON
153 -
154 - -DBUILD_SHARED_LIBS=ON
155 - -DBUILD_STATIC_LIBS=OFF
156 - # Follow Debian, Ubuntu, Arch convention for headers location
157 - # bug #452234
158 - -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp
159 - )
160 -
161 - cmake-utils_src_configure
162 -}
163 -
164 -src_compile() {
165 - cmake-utils_src_compile
166 -
167 - if use doc; then
168 - "${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die
169 - fi
170 -}
171 -
172 -src_test() {
173 - emake -C "${BUILD_DIR}" jsoncpp_check
174 -}
175 -
176 -src_install() {
177 - cmake-utils_src_install
178 -
179 - if use doc; then
180 - docinto html
181 - dodoc -r dist/doxygen/jsoncpp*/.
182 - fi
183 -}