summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2018-05-01 19:36:03 +0200
committerMichael Weber <xmw@gentoo.org>2018-05-01 19:36:43 +0200
commit193d30b5d8700a0d92bcfa4f560577ad54c2582a (patch)
tree36613c152de59b63fc5788807fcce4d3561d7d21 /dev-libs/libcxml
parentapp-admin/sudo: sudoers2ldif is gone. (diff)
downloadgentoo-193d30b5d8700a0d92bcfa4f560577ad54c2582a.tar.gz
gentoo-193d30b5d8700a0d92bcfa4f560577ad54c2582a.tar.bz2
gentoo-193d30b5d8700a0d92bcfa4f560577ad54c2582a.zip
dev-libs/libcxml: Version bump.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'dev-libs/libcxml')
-rw-r--r--dev-libs/libcxml/Manifest1
-rw-r--r--dev-libs/libcxml/files/libcxml-0.15.5-respect-cxxflags.patch11
-rw-r--r--dev-libs/libcxml/libcxml-0.15.5.ebuild38
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/libcxml/Manifest b/dev-libs/libcxml/Manifest
index b8bcdb5623b9..d9f6c7a2a2e8 100644
--- a/dev-libs/libcxml/Manifest
+++ b/dev-libs/libcxml/Manifest
@@ -1,2 +1,3 @@
DIST libcxml-0.15.1.tar.bz2 137082 BLAKE2B 62065ff33f1bd8723f0f4bf679da84c114fb17d4c27f5230d27ba82c1b14e8dc02e0f86c485da75a8fbfd4ae8827968aff5e99bec7c281402b5ff19346877724 SHA512 91bcc8334ef5e71126701e850211928304561ca27a03e4b8d528fbc6d94fe2635c753c3b3b8ecec185e76fc5a70f426f6dfee72b4a432898435d2bfc1764b10e
DIST libcxml-0.15.4.tar.bz2 137251 BLAKE2B 20c03bfe00cbf4085572b4c3697243fbaff56a46f2262761e61c1ee2b5f0639484304c9711e6a5ad2abc3cbce90bfebf59272d799668005984217d2aaccdb07d SHA512 b14a29eaa502451eb293ce2faf2424c6e8147d6e28e86911c7adba5d1f725a5500772e2199d57834daee503de0458480f7cbf39c0d83db8afb4998db0b0b44ca
+DIST libcxml-0.15.5.tar.bz2 137328 BLAKE2B db8e8f1edfe6d03a1f60f9f62c1c3b33e9c092d0031aed4369b7c0075eb16432d8244a2098e75be6845905451a61e379829a80183acdcf9acf33372c354042ea SHA512 9ecb333bbd3c99c388bb08b28e6cf2cae97e5a5a6df29634f041e2718a5d995dabfd73686fe1494eac9d45198dbb1530fa8d5502a8ed3ca8010db087712cb87d
diff --git a/dev-libs/libcxml/files/libcxml-0.15.5-respect-cxxflags.patch b/dev-libs/libcxml/files/libcxml-0.15.5-respect-cxxflags.patch
new file mode 100644
index 000000000000..f250229c4f51
--- /dev/null
+++ b/dev-libs/libcxml/files/libcxml-0.15.5-respect-cxxflags.patch
@@ -0,0 +1,11 @@
+--- libcxml-0.15.5/wscript
++++ libcxml-0.15.5/wscript
+@@ -36,7 +36,7 @@
+ conf.load('compiler_cxx')
+ if conf.options.enable_debug:
+ conf.env.append_value('CXXFLAGS', '-g')
+- conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2'])
++ conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra'])
+ if conf.options.force_cpp11:
+ conf.env.append_value('CXXFLAGS', ['-std=c++11', '-DBOOST_NO_CXX11_SCOPED_ENUMS'])
+
diff --git a/dev-libs/libcxml/libcxml-0.15.5.ebuild b/dev-libs/libcxml/libcxml-0.15.5.ebuild
new file mode 100644
index 000000000000..c2f81a9bc6cb
--- /dev/null
+++ b/dev-libs/libcxml/libcxml-0.15.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
+PYTHON_REQ_USE="threads(+)"
+inherit python-any-r1 waf-utils
+
+DESCRIPTION="small C++ library which makes it marginally neater to parse XML using libxml++"
+HOMEPAGE="http://carlh.net/libcxml"
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-cpp/libxmlpp:2.6
+ dev-libs/boost
+ dev-libs/locked_sstream"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-util/waf
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.15.5-respect-cxxflags.patch )
+
+src_prepare() {
+ rm -v waf || die
+ export WAF_BINARY="${EROOT}usr/bin/waf"
+
+ default
+}
+
+src_test() {
+ ./run-tests.sh || die
+}