public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/satyr/
Date: Thu, 19 Mar 2020 00:28:38 +0000 (UTC)	[thread overview]
Message-ID: <1584577143.644345d76393f81e58eae1ec950b4494aba2cfb0.mattst88@gentoo> (raw)

commit:     644345d76393f81e58eae1ec950b4494aba2cfb0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 18 21:16:53 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 00:19:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=644345d7

dev-libs/satyr: Version bump to 0.30

Closes: https://bugs.gentoo.org/710220
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/satyr/Manifest          |  1 +
 dev-libs/satyr/satyr-0.30.ebuild | 99 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/dev-libs/satyr/Manifest b/dev-libs/satyr/Manifest
index b4a7736f4bc..6a336244dea 100644
--- a/dev-libs/satyr/Manifest
+++ b/dev-libs/satyr/Manifest
@@ -1 +1,2 @@
 DIST satyr-0.27.tar.gz 435341 BLAKE2B ade40bc6a1c48e6fc0af7913ff94ed044c63fdb63b8d86ba010bebcfd2098831bc6c7361d116851aee88f49c640d1457dd8953becad60b6ff6dc32deec6c7942 SHA512 7b01cf16489644fbfbe2150477279a94c6fa9b3310edebc84b83bab58d1058df0be478ab6bf4c6910b4168122721dde10d573711abb983b0eb5ccda09cb80710
+DIST satyr-0.30.tar.gz 427940 BLAKE2B 97fedef59cc77b2ae81857c491532552c352a272658d02564d2661d06a4ccc99c18bcd57e5e68e5a612e9e65c5878f19b2f18bbe74066874a7295e2f65d64149 SHA512 ebc6e9c0fd8cd130cf1701573c8ecdadf73fe54efa563759a47f990a91b217cf1dec01045be624d15cfa96b1370ddf2412b0537e57ed628dc27e860be46e21cf

diff --git a/dev-libs/satyr/satyr-0.30.ebuild b/dev-libs/satyr/satyr-0.30.ebuild
new file mode 100644
index 00000000000..f654d70e26b
--- /dev/null
+++ b/dev-libs/satyr/satyr-0.30.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools multiprocessing python-r1
+
+DESCRIPTION="Satyr is a collection of low-level algorithms for program failure processing"
+HOMEPAGE="https://github.com/abrt/satyr"
+SRC_URI="https://github.com/abrt/${PN}/archive/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0/4"
+
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )
+	>=dev-libs/elfutils-0.158
+	dev-libs/json-c:=
+	dev-libs/nettle:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	dev-util/gperf
+"
+
+src_prepare() {
+	default
+	./gen-version || die # Needs to be run before full autoreconf
+	eautoreconf
+	use python && python_copy_sources
+}
+
+src_configure() {
+	use python && python_setup
+
+	local myargs=(
+		--localstatedir="${EPREFIX}/var"
+		--without-rpm
+		$(usex python "--with-python3" "--without-python3")
+	)
+
+	if use python; then
+		python_configure() {
+			econf "${myargs[@]}"
+		}
+		python_foreach_impl run_in_build_dir python_configure
+	else
+		econf "${myargs[@]}"
+	fi
+}
+
+src_compile() {
+	if use python; then
+		python_foreach_impl run_in_build_dir default
+	else
+		default
+	fi
+
+}
+
+src_test() {
+	local extra_args
+
+	# In order to pass --jobs to the test runner
+	run_tests() {
+		cd tests || die
+		emake testsuite
+		./testsuite --jobs=$(makeopts_jobs) ${extra_args[@]} $@
+
+		# Only run the python bindings tests for other python impls
+		extra_args=('-k' 'python3_bindings.*')
+	}
+
+	if use python; then
+		python_foreach_impl run_in_build_dir run_tests
+	else
+		run_tests SKIP_PYTHON3=yes
+	fi
+}
+
+src_install() {
+	if use python; then
+		python_install() {
+			default
+			python_optimize
+		}
+		python_foreach_impl run_in_build_dir python_install
+	else
+		default
+	fi
+
+	find "${D}" -name '*.la' -type f -delete || die
+}


             reply	other threads:[~2020-03-19  0:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19  0:28 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-21 18:25 [gentoo-commits] repo/gentoo:master commit in: dev-libs/satyr/ Pacho Ramos
2021-09-07 15:08 Pacho Ramos
2021-09-07 15:08 Pacho Ramos
2021-08-08 12:50 Pacho Ramos
2021-05-01 14:07 Matt Turner
2020-11-08 16:26 Matt Turner
2020-11-08 16:26 Matt Turner
2020-08-24 22:24 Matt Turner
2020-05-12  8:54 Mikle Kolyada
2020-05-12  8:54 Mikle Kolyada
2020-01-28  9:39 Mart Raudsepp
2020-01-27  9:45 Mikle Kolyada
2020-01-26 22:39 Thomas Deutschmann
2019-02-17 20:01 Dennis Lamm
2018-12-12 16:30 Mikle Kolyada
2018-12-07  2:41 Thomas Deutschmann
2018-05-22 16:09 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1584577143.644345d76393f81e58eae1ec950b4494aba2cfb0.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox