public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/satyr/
Date: Tue,  7 Sep 2021 15:08:15 +0000 (UTC)	[thread overview]
Message-ID: <1631027288.f0cb1d76d9f4cd8372d215cae53649091080ea8c.pacho@gentoo> (raw)

commit:     f0cb1d76d9f4cd8372d215cae53649091080ea8c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  7 14:59:23 2021 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 15:08:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0cb1d76

dev-libs/satyr: Bump to 0.38

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-libs/satyr/Manifest          |   1 +
 dev-libs/satyr/satyr-0.38.ebuild | 101 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

diff --git a/dev-libs/satyr/Manifest b/dev-libs/satyr/Manifest
index 66c5c71c375..22ac70b8935 100644
--- a/dev-libs/satyr/Manifest
+++ b/dev-libs/satyr/Manifest
@@ -1,2 +1,3 @@
 DIST satyr-0.31.tar.gz 428719 BLAKE2B 23c6ea53db261fee366566101c2b0f1e23cf530728332fe752897ee982ffac057b98de3d9a52dbfc64932cdb73aaff7e35c976e7a55e30b4417f3880782f9125 SHA512 a5aafa1ca5f85a0a817c6fa9a3b428672c9f4f529fb7d73a3e819cc836b78c01a0ca44b47317fcdd4a40dc6386688a450bd78564b6e466091cdc9a2c730c3fda
 DIST satyr-0.37.tar.gz 433804 BLAKE2B 3d243f1ea4254767740fbab4aff5d42537e4ec7d6cfded9af36b022bbcb76a08172f36cac98fb9d199aefcf3f7fefd443e3573426f5cd84eb5bf404d36dbfb29 SHA512 ac67c931dcf3031b0fabca6d0be572381b8027da588add85d22ba7058304a0ec457379be77cd99ce0607ceac35a45d42b6c293751f7471797cc9eba280ce91b5
+DIST satyr-0.38.tar.gz 433626 BLAKE2B 682d28a932758353e986d2906baf294183756d60a063ce03ba79506b58c92e4fc039c2246c0d43910f6d27d62dd674ffd3b772eeb6e8de46d8080735754b3d3a SHA512 09168050ca7bae00fb3d39f23f8c1e0adcf9cc4d3e491aa002bf9a0a7a265df980d12e430ea7f3eaa9010e0432821b106db5ce3b1e8d935d78b1e56d37110051

diff --git a/dev-libs/satyr/satyr-0.38.ebuild b/dev-libs/satyr/satyr-0.38.ebuild
new file mode 100644
index 00000000000..754906da946
--- /dev/null
+++ b/dev-libs/satyr/satyr-0.38.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{7..10} )
+
+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/glib:2
+	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:[~2021-09-07 15:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07 15:08 Pacho Ramos [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-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-03-19  0:28 Matt Turner
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=1631027288.f0cb1d76d9f4cd8372d215cae53649091080ea8c.pacho@gentoo \
    --to=pacho@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