Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/locked_sstream/
Date: Sat, 04 Mar 2017 11:24:39
Message-Id: 1488626648.2681b6c35df5cdee3f3cdc173bf1a45408225ae0.xmw@gentoo
1 commit: 2681b6c35df5cdee3f3cdc173bf1a45408225ae0
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 4 11:19:07 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 11:24:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2681b6c3
7
8 dev-libs/locked_sstream: Initial import (required by dev-libs/libcxml).
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-libs/locked_sstream/Manifest | 1 +
13 .../locked_sstream/locked_sstream-0.0.5.ebuild | 27 ++++++++++++++++++++++
14 dev-libs/locked_sstream/metadata.xml | 11 +++++++++
15 3 files changed, 39 insertions(+)
16
17 diff --git a/dev-libs/locked_sstream/Manifest b/dev-libs/locked_sstream/Manifest
18 new file mode 100644
19 index 00000000000..8983679b253
20 --- /dev/null
21 +++ b/dev-libs/locked_sstream/Manifest
22 @@ -0,0 +1 @@
23 +DIST locked_sstream-0.0.5.tar.bz2 98277 SHA256 fb6ff1d1b7ce24bc80432d6a443a8d0843a5384f9a28d7373564739f0bca1aba SHA512 5d136c2e1ac5b1eabd07a8048715f47881662ce7a3bfdc2460428f34ab51b0474327b2f28ce6ba2f4ac9774478abb20082af8f954ebb1c4653ba24ca82991c32 WHIRLPOOL 3678f8f7715a80864cd9c49d9e3148047c8a112908b9951df02fbf326e8bf54fe2b95ba749b224cc8b2490b5ab4e9e0f9ad9ff1d62b377d31ca9069c26c3caed
24
25 diff --git a/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild
26 new file mode 100644
27 index 00000000000..15dee56fc20
28 --- /dev/null
29 +++ b/dev-libs/locked_sstream/locked_sstream-0.0.5.ebuild
30 @@ -0,0 +1,27 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
37 +PYTHON_REQ_USE="threads(+)"
38 +inherit python-any-r1 waf-utils
39 +
40 +DESCRIPTION="tiny C++ library which wraps std::stringstream in a mutex"
41 +HOMEPAGE="http://carlh.net/locked_sstream"
42 +SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE=""
48 +
49 +RDEPEND=""
50 +DEPEND="dev-util/waf"
51 +
52 +src_prepare() {
53 + rm -vf ./waf || die
54 + WAF_BINARY=${EROOT}usr/bin/waf
55 +
56 + default
57 +}
58
59 diff --git a/dev-libs/locked_sstream/metadata.xml b/dev-libs/locked_sstream/metadata.xml
60 new file mode 100644
61 index 00000000000..437dd2281c4
62 --- /dev/null
63 +++ b/dev-libs/locked_sstream/metadata.xml
64 @@ -0,0 +1,11 @@
65 +<?xml version="1.0" encoding="UTF-8"?>
66 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
67 +<pkgmetadata>
68 +<maintainer type="person">
69 +<email>xmw@g.o</email>
70 +<name>Michael Weber</name>
71 +</maintainer>
72 +<longdescription lang="en">
73 +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.
74 +</longdescription>
75 +</pkgmetadata>