* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcxml/, dev-libs/libcxml/files/
@ 2017-03-02 17:36 Michael Weber
0 siblings, 0 replies; 2+ messages in thread
From: Michael Weber @ 2017-03-02 17:36 UTC (permalink / raw
To: gentoo-commits
commit: 56f514c9ab3a17e55d064159f69c62f5d45dee91
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 2 13:28:59 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Mar 2 17:35:34 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f514c9
dev-libs/libcxml: Initial import for libdcp.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-libs/libcxml/Manifest | 2 ++
.../files/libcxml-0.15.1-respect-cxxflags.patch | 11 +++++++++++
dev-libs/libcxml/libcxml-0.15.1.ebuild | 23 ++++++++++++++++++++++
dev-libs/libcxml/libcxml-0.15.4.ebuild | 23 ++++++++++++++++++++++
dev-libs/libcxml/metadata.xml | 8 ++++++++
5 files changed, 67 insertions(+)
diff --git a/dev-libs/libcxml/Manifest b/dev-libs/libcxml/Manifest
new file mode 100644
index 00000000000..7861c401b3f
--- /dev/null
+++ b/dev-libs/libcxml/Manifest
@@ -0,0 +1,2 @@
+DIST libcxml-0.15.1.tar.bz2 137082 SHA256 7e81dcd0bdb6ea6aaff84bd176f3100cc9ed409bf8d87894abef4ff0b9736dce SHA512 91bcc8334ef5e71126701e850211928304561ca27a03e4b8d528fbc6d94fe2635c753c3b3b8ecec185e76fc5a70f426f6dfee72b4a432898435d2bfc1764b10e WHIRLPOOL bac7b56f30db5b2883edd1901a3d0d7cd50cb3ab3ee0017026d4db10294c4978e7c2a17c275cc4123bab3b07735dc34f30d57fb3287524beaf9662c65a59a7cd
+DIST libcxml-0.15.4.tar.bz2 137251 SHA256 945e513b5eb366d34a71b965733d583b621201070103826356318783502f0d29 SHA512 b14a29eaa502451eb293ce2faf2424c6e8147d6e28e86911c7adba5d1f725a5500772e2199d57834daee503de0458480f7cbf39c0d83db8afb4998db0b0b44ca WHIRLPOOL ae5c8927ac7954c8314490a929ba661970cff8e86b0ac11d02b962a594d997f43c9ef18dad1182745eaf0bd74b958017d6433942ec1cfd94da244783086ed7f8
diff --git a/dev-libs/libcxml/files/libcxml-0.15.1-respect-cxxflags.patch b/dev-libs/libcxml/files/libcxml-0.15.1-respect-cxxflags.patch
new file mode 100644
index 00000000000..409dc37410c
--- /dev/null
+++ b/dev-libs/libcxml/files/libcxml-0.15.1-respect-cxxflags.patch
@@ -0,0 +1,11 @@
+--- libcxml-0.15.1/wscript
++++ libcxml-0.15.1/wscript
+@@ -12,7 +12,7 @@
+
+ def configure(conf):
+ conf.load('compiler_cxx')
+- conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2'])
++ conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra'])
+
+ conf.env.TARGET_WINDOWS = conf.options.target_windows
+ conf.env.STATIC = conf.options.static
diff --git a/dev-libs/libcxml/libcxml-0.15.1.ebuild b/dev-libs/libcxml/libcxml-0.15.1.ebuild
new file mode 100644
index 00000000000..e026d6e5630
--- /dev/null
+++ b/dev-libs/libcxml/libcxml-0.15.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 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"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch )
diff --git a/dev-libs/libcxml/libcxml-0.15.4.ebuild b/dev-libs/libcxml/libcxml-0.15.4.ebuild
new file mode 100644
index 00000000000..e026d6e5630
--- /dev/null
+++ b/dev-libs/libcxml/libcxml-0.15.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 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"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch )
diff --git a/dev-libs/libcxml/metadata.xml b/dev-libs/libcxml/metadata.xml
new file mode 100644
index 00000000000..a535b885282
--- /dev/null
+++ b/dev-libs/libcxml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcxml/, dev-libs/libcxml/files/
@ 2018-05-01 17:37 Michael Weber
0 siblings, 0 replies; 2+ messages in thread
From: Michael Weber @ 2018-05-01 17:37 UTC (permalink / raw
To: gentoo-commits
commit: 193d30b5d8700a0d92bcfa4f560577ad54c2582a
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue May 1 17:36:03 2018 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> 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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-01 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-02 17:36 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcxml/, dev-libs/libcxml/files/ Michael Weber
-- strict thread matches above, loose matches on Subject: below --
2018-05-01 17:37 Michael Weber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox