Gentoo Archives: gentoo-commits

From: Dennis Lamm <expeditioneer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/satyr/
Date: Sun, 17 Feb 2019 20:01:36
Message-Id: 1550433646.0a2a64f88c72fc5da7a9ea9865dc05a74679fda6.expeditioneer@gentoo
1 commit: 0a2a64f88c72fc5da7a9ea9865dc05a74679fda6
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 17 20:00:46 2019 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 17 20:00:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2a64f8
7
8 dev-libs/satyr: bump to 0.27
9
10 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-libs/satyr/Manifest | 1 +
14 dev-libs/satyr/satyr-0.27.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/dev-libs/satyr/Manifest b/dev-libs/satyr/Manifest
18 index cb6c8364e06..84736d4b19e 100644
19 --- a/dev-libs/satyr/Manifest
20 +++ b/dev-libs/satyr/Manifest
21 @@ -1 +1,2 @@
22 DIST satyr-0.26.tar.gz 434820 BLAKE2B 4463c69e6ac2eb8237f599bfeed308265a906c6e3efa154b14eb6ee7acdc65580da9baf5ecb99e4efa4f8c00f7656ff2a747e607f2293b12a513ed680986fe08 SHA512 45dfc42e05e93fa0417c8c5d6811097cabaa0f4dcfb79df13d3840d789cfd41c84382ae84882ca120b1a3120987123a306656324cf39f306046a5d30547db656
23 +DIST satyr-0.27.tar.gz 435341 BLAKE2B ade40bc6a1c48e6fc0af7913ff94ed044c63fdb63b8d86ba010bebcfd2098831bc6c7361d116851aee88f49c640d1457dd8953becad60b6ff6dc32deec6c7942 SHA512 7b01cf16489644fbfbe2150477279a94c6fa9b3310edebc84b83bab58d1058df0be478ab6bf4c6910b4168122721dde10d573711abb983b0eb5ccda09cb80710
24
25 diff --git a/dev-libs/satyr/satyr-0.27.ebuild b/dev-libs/satyr/satyr-0.27.ebuild
26 new file mode 100644
27 index 00000000000..2ff1248e54f
28 --- /dev/null
29 +++ b/dev-libs/satyr/satyr-0.27.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python3_{4,5,6} )
36 +
37 +inherit autotools python-r1 toolchain-funcs
38 +
39 +DESCRIPTION="Satyr is a collection of low-level algorithms for program failure processing"
40 +HOMEPAGE="https://github.com/abrt/satyr"
41 +SRC_URI="https://github.com/abrt/${PN}/archive/${PV}/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0/3"
45 +
46 +IUSE="python"
47 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
48 +
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +RDEPEND="python? ( ${PYTHON_DEPS} )
52 + >=dev-libs/elfutils-0.158
53 +"
54 +DEPEND="${RDEPEND}
55 + virtual/pkgconfig
56 +"
57 +
58 +src_prepare() {
59 + default
60 + ./gen-version || die # Needs to be run before full autoreconf
61 + eautoreconf
62 + use python && python_copy_sources
63 +}
64 +
65 +src_configure() {
66 + local myargs=(
67 + --localstatedir="${EPREFIX}/var"
68 + --without-rpm
69 + # Build breaks without and we aren't supporting Python2 anyway
70 + --without-python2
71 + $(usex python "--with-python3" "--without-python3")
72 + )
73 +
74 + econf "${myargs[@]}"
75 +}