1 |
commit: 193d30b5d8700a0d92bcfa4f560577ad54c2582a |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 1 17:36:03 2018 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 1 17:36:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193d30b5 |
7 |
|
8 |
dev-libs/libcxml: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
dev-libs/libcxml/Manifest | 1 + |
13 |
.../files/libcxml-0.15.5-respect-cxxflags.patch | 11 +++++++ |
14 |
dev-libs/libcxml/libcxml-0.15.5.ebuild | 38 ++++++++++++++++++++++ |
15 |
3 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libcxml/Manifest b/dev-libs/libcxml/Manifest |
18 |
index b8bcdb5623b..d9f6c7a2a2e 100644 |
19 |
--- a/dev-libs/libcxml/Manifest |
20 |
+++ b/dev-libs/libcxml/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libcxml-0.15.1.tar.bz2 137082 BLAKE2B 62065ff33f1bd8723f0f4bf679da84c114fb17d4c27f5230d27ba82c1b14e8dc02e0f86c485da75a8fbfd4ae8827968aff5e99bec7c281402b5ff19346877724 SHA512 91bcc8334ef5e71126701e850211928304561ca27a03e4b8d528fbc6d94fe2635c753c3b3b8ecec185e76fc5a70f426f6dfee72b4a432898435d2bfc1764b10e |
23 |
DIST libcxml-0.15.4.tar.bz2 137251 BLAKE2B 20c03bfe00cbf4085572b4c3697243fbaff56a46f2262761e61c1ee2b5f0639484304c9711e6a5ad2abc3cbce90bfebf59272d799668005984217d2aaccdb07d SHA512 b14a29eaa502451eb293ce2faf2424c6e8147d6e28e86911c7adba5d1f725a5500772e2199d57834daee503de0458480f7cbf39c0d83db8afb4998db0b0b44ca |
24 |
+DIST libcxml-0.15.5.tar.bz2 137328 BLAKE2B db8e8f1edfe6d03a1f60f9f62c1c3b33e9c092d0031aed4369b7c0075eb16432d8244a2098e75be6845905451a61e379829a80183acdcf9acf33372c354042ea SHA512 9ecb333bbd3c99c388bb08b28e6cf2cae97e5a5a6df29634f041e2718a5d995dabfd73686fe1494eac9d45198dbb1530fa8d5502a8ed3ca8010db087712cb87d |
25 |
|
26 |
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 |
27 |
new file mode 100644 |
28 |
index 00000000000..f250229c4f5 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libcxml/files/libcxml-0.15.5-respect-cxxflags.patch |
31 |
@@ -0,0 +1,11 @@ |
32 |
+--- libcxml-0.15.5/wscript |
33 |
++++ libcxml-0.15.5/wscript |
34 |
+@@ -36,7 +36,7 @@ |
35 |
+ conf.load('compiler_cxx') |
36 |
+ if conf.options.enable_debug: |
37 |
+ conf.env.append_value('CXXFLAGS', '-g') |
38 |
+- conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2']) |
39 |
++ conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra']) |
40 |
+ if conf.options.force_cpp11: |
41 |
+ conf.env.append_value('CXXFLAGS', ['-std=c++11', '-DBOOST_NO_CXX11_SCOPED_ENUMS']) |
42 |
+ |
43 |
|
44 |
diff --git a/dev-libs/libcxml/libcxml-0.15.5.ebuild b/dev-libs/libcxml/libcxml-0.15.5.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..c2f81a9bc6c |
47 |
--- /dev/null |
48 |
+++ b/dev-libs/libcxml/libcxml-0.15.5.ebuild |
49 |
@@ -0,0 +1,38 @@ |
50 |
+# Copyright 1999-2018 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=6 |
54 |
+ |
55 |
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) |
56 |
+PYTHON_REQ_USE="threads(+)" |
57 |
+inherit python-any-r1 waf-utils |
58 |
+ |
59 |
+DESCRIPTION="small C++ library which makes it marginally neater to parse XML using libxml++" |
60 |
+HOMEPAGE="http://carlh.net/libcxml" |
61 |
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" |
62 |
+ |
63 |
+LICENSE="GPL-2" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64" |
66 |
+IUSE="" |
67 |
+ |
68 |
+RDEPEND="dev-cpp/libxmlpp:2.6 |
69 |
+ dev-libs/boost |
70 |
+ dev-libs/locked_sstream" |
71 |
+DEPEND="${RDEPEND} |
72 |
+ ${PYTHON_DEPS} |
73 |
+ dev-util/waf |
74 |
+ virtual/pkgconfig" |
75 |
+ |
76 |
+PATCHES=( "${FILESDIR}"/${PN}-0.15.5-respect-cxxflags.patch ) |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ rm -v waf || die |
80 |
+ export WAF_BINARY="${EROOT}usr/bin/waf" |
81 |
+ |
82 |
+ default |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ ./run-tests.sh || die |
87 |
+} |