diff options
author | 2019-02-17 21:00:46 +0100 | |
---|---|---|
committer | 2019-02-17 21:00:46 +0100 | |
commit | 0a2a64f88c72fc5da7a9ea9865dc05a74679fda6 (patch) | |
tree | deaef3eb8c9cedbbe12a102c9771b831a16db931 /dev-libs/satyr/satyr-0.27.ebuild | |
parent | net-misc/youtube-dl: Version 2019.02.18 (diff) | |
download | gentoo-0a2a64f88c72fc5da7a9ea9865dc05a74679fda6.tar.gz gentoo-0a2a64f88c72fc5da7a9ea9865dc05a74679fda6.tar.bz2 gentoo-0a2a64f88c72fc5da7a9ea9865dc05a74679fda6.zip |
dev-libs/satyr: bump to 0.27
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-libs/satyr/satyr-0.27.ebuild')
-rw-r--r-- | dev-libs/satyr/satyr-0.27.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/satyr/satyr-0.27.ebuild b/dev-libs/satyr/satyr-0.27.ebuild new file mode 100644 index 000000000000..2ff1248e54fc --- /dev/null +++ b/dev-libs/satyr/satyr-0.27.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit autotools python-r1 toolchain-funcs + +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/3" + +IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +KEYWORDS="~amd64 ~x86" + +RDEPEND="python? ( ${PYTHON_DEPS} ) + >=dev-libs/elfutils-0.158 +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + ./gen-version || die # Needs to be run before full autoreconf + eautoreconf + use python && python_copy_sources +} + +src_configure() { + local myargs=( + --localstatedir="${EPREFIX}/var" + --without-rpm + # Build breaks without and we aren't supporting Python2 anyway + --without-python2 + $(usex python "--with-python3" "--without-python3") + ) + + econf "${myargs[@]}" +} |