From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A52551382C5 for ; Tue, 1 May 2018 17:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB7E2E09B1; Tue, 1 May 2018 17:37:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AA771E09B1 for ; Tue, 1 May 2018 17:37:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58791335C82 for ; Tue, 1 May 2018 17:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA180297 for ; Tue, 1 May 2018 17:37:22 +0000 (UTC) From: "Michael Weber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" Message-ID: <1525196203.193d30b5d8700a0d92bcfa4f560577ad54c2582a.xmw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcxml/, dev-libs/libcxml/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libcxml/Manifest dev-libs/libcxml/files/libcxml-0.15.5-respect-cxxflags.patch dev-libs/libcxml/libcxml-0.15.5.ebuild X-VCS-Directories: dev-libs/libcxml/ dev-libs/libcxml/files/ X-VCS-Committer: xmw X-VCS-Committer-Name: Michael Weber X-VCS-Revision: 193d30b5d8700a0d92bcfa4f560577ad54c2582a X-VCS-Branch: master Date: Tue, 1 May 2018 17:37:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7280e868-c903-45eb-bb02-0f758ac802df X-Archives-Hash: a810a50452141d7cbffc1d356179fd3e commit: 193d30b5d8700a0d92bcfa4f560577ad54c2582a Author: Michael Weber gentoo org> AuthorDate: Tue May 1 17:36:03 2018 +0000 Commit: Michael Weber gentoo org> CommitDate: Tue May 1 17:36:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193d30b5 dev-libs/libcxml: Version bump. Package-Manager: Portage-2.3.31, Repoman-2.3.9 dev-libs/libcxml/Manifest | 1 + .../files/libcxml-0.15.5-respect-cxxflags.patch | 11 +++++++ dev-libs/libcxml/libcxml-0.15.5.ebuild | 38 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-libs/libcxml/Manifest b/dev-libs/libcxml/Manifest index b8bcdb5623b..d9f6c7a2a2e 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 00000000000..f250229c4f5 --- /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 00000000000..c2f81a9bc6c --- /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 +}