mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-libs/jsoncpp: Drop 1.9.1
Now that older sci-libs/tensorflow versions have been dropped, jsoncpp-1.9.1 has no consumers in the tree and can be dropped too. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jason Zaman <perfinion@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST jsoncpp-1.9.1.tar.gz 203067 BLAKE2B 654f39b1265b344bb24d3fefb34d4d8b44f69ec819f333f00033ef90acfd5b926fdcc743badf403af797a6f58fe58d195ec0cdf4a1514629f8a1e75c20a6e2f6 SHA512 4a8352e1d32c0ba8a0aea4df1663279cb2256b334643c5b62be37dfb5951e06900ba38c010d1201511fcf7de09137d6a4b886edbb2b99160d2f62b5f4679f766
|
||||
DIST jsoncpp-1.9.3.tar.gz 212922 BLAKE2B 6f89762e899ffe127705a30c1fe86f458d62fa05b8dbde6c465c73b6855d3945f3d739ff0c26e1a6326a211c946277908684ace9363df72ba0f460f66b3e3fd8 SHA512 f1c035d54ed952d8d4e41acab5c3ecf6aa445f348f98aeac2e7c89555ec2f6421d727b3bc4c2f54176afce137c545b20d886562901953ec091f91890e91e8559
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit cmake python-any-r1
|
||||
|
||||
DESCRIPTION="C++ JSON reader and writer"
|
||||
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
|
||||
SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( public-domain MIT )"
|
||||
SLOT="0/21"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
pkg_setup() {
|
||||
if use doc || use test; then
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DJSONCPP_WITH_TESTS=$(usex test)
|
||||
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
|
||||
-DJSONCPP_WITH_CMAKE_PACKAGE=ON
|
||||
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
# Follow Debian, Ubuntu, Arch convention for headers location
|
||||
# bug #452234
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=include/jsoncpp
|
||||
|
||||
# Disable implicit ccache use
|
||||
-DCCACHE_FOUND=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
cp "${BUILD_DIR}"/version . || die
|
||||
"${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die
|
||||
HTML_DOCS=( dist/doxygen/jsoncpp*/. )
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_build jsoncpp_check
|
||||
}
|
||||
Reference in New Issue
Block a user