commit: 2681b6c35df5cdee3f3cdc173bf1a45408225ae0 Author: Michael Weber <xmw <AT> gentoo <DOT> org> AuthorDate: Sat Mar 4 11:19:07 2017 +0000 Commit: Michael Weber <xmw <AT> gentoo <DOT> org> CommitDate: Sat Mar 4 11:24:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2681b6c3
dev-libs/locked_sstream: Initial import (required by dev-libs/libcxml). Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-libs/locked_sstream/Manifest | 1 + .../locked_sstream/locked_sstream-0.0.5.ebuild | 27 ++++++++++++++++++++++ dev-libs/locked_sstream/metadata.xml | 11 +++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-libs/locked_sstream/Manifest b/dev-libs/locked_sstream/Manifest new file mode 100644 index 00000000000..8983679b253 --- /dev/null +++ b/dev-libs/locked_sstream/Manifest @@ -0,0 +1 @@ +DIST locked_sstream-0.0.5.tar.bz2 98277 SHA256 fb6ff1d1b7ce24bc80432d6a443a8d0843a5384f9a28d7373564739f0bca1aba SHA512 5d136c2e1ac5b1eabd07a8048715f47881662ce7a3bfdc2460428f34ab51b0474327b2f28ce6ba2f4ac9774478abb20082af8f954ebb1c4653ba24ca82991c32 WHIRLPOOL 3678f8f7715a80864cd9c49d9e3148047c8a112908b9951df02fbf326e8bf54fe2b95ba749b224cc8b2490b5ab4e9e0f9ad9ff1d62b377d31ca9069c26c3caed diff --git a/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild new file mode 100644 index 00000000000..15dee56fc20 --- /dev/null +++ b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild @@ -0,0 +1,27 @@ +# 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="tiny C++ library which wraps std::stringstream in a mutex" +HOMEPAGE="http://carlh.net/locked_sstream" +SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="" +DEPEND="dev-util/waf" + +src_prepare() { + rm -vf ./waf || die + WAF_BINARY=${EROOT}usr/bin/waf + + default +} diff --git a/dev-libs/locked_sstream/metadata.xml b/dev-libs/locked_sstream/metadata.xml new file mode 100644 index 00000000000..437dd2281c4 --- /dev/null +++ b/dev-libs/locked_sstream/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>[email protected]</email> +<name>Michael Weber</name> +</maintainer> +<longdescription lang="en"> +locked_sstream is a tiny C++ library which wraps std::stringstream in a mutex to attempt to fix crashes on OS X when multiple threads simultaneously use different stringstreams. It remains to be seen whether it fixes the problem completely, but it certainly helps. +</longdescription> +</pkgmetadata>
