From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild (limited to 'dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild') diff --git a/dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild b/dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild new file mode 100644 index 000000000000..448465a2c6ea --- /dev/null +++ b/dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="Hyperdex macaroons support library" +HOMEPAGE="http://hyperdex.org" +SRC_URI="http://hyperdex.org/src/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test +python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )" + +# Tests can't function after 2014-12-31 ... +RESTRICT="test" + +RDEPEND=" + dev-libs/libsodium + dev-libs/json-c:= + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + econf $(use_enable python python-bindings) +} + +src_test() { + emake -j1 check || die +} -- cgit v1.2.3