From 4be76139a012d0ffe80cef747042fe62a0af02aa Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 7 Sep 2016 02:57:15 +0300 Subject: samba deps --- sys-libs/tevent/metadata.xml | 12 ++++++++ sys-libs/tevent/tevent-scm.ebuild | 61 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 sys-libs/tevent/metadata.xml create mode 100644 sys-libs/tevent/tevent-scm.ebuild (limited to 'sys-libs/tevent') diff --git a/sys-libs/tevent/metadata.xml b/sys-libs/tevent/metadata.xml new file mode 100644 index 0000000..00dd5f3 --- /dev/null +++ b/sys-libs/tevent/metadata.xml @@ -0,0 +1,12 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + + samba@gentoo.org + Samba + + diff --git a/sys-libs/tevent/tevent-scm.ebuild b/sys-libs/tevent/tevent-scm.ebuild new file mode 100644 index 0000000..43bab87 --- /dev/null +++ b/sys-libs/tevent/tevent-scm.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads(+)" + +inherit waf-utils multilib-minimal python-single-r1 git-r3 + +DESCRIPTION="Samba tevent library" +HOMEPAGE="http://tevent.samba.org/" +SRC_URI="" + +EGIT_REPO_URI="git://git.samba.org/samba.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="python" + +RDEPEND=">=sys-libs/talloc-2.1.8[${MULTILIB_USEDEP}] + python? ( ${PYTHON_DEPS} )" + +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + ${PYTHON_DEPS} +" +# build system does not work with python3 +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${S}/lib/tevent" +WAF_BINARY="${S}/../../buildtools/bin/waf" +WAF="${S}/../../buildtools/bin/waf" + + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + waf-utils_src_configure \ + $(multilib_native_usex python '' '--disable-python') +} + +multilib_src_compile() { + # need to avoid parallel building, this looks like the sanest way with waf-utils/multiprocessing eclasses + unset MAKEOPTS + waf-utils_src_compile +} + +multilib_src_install() { + waf-utils_src_install + + multilib_is_native_abi && use python && python_domodule tevent.py +} -- cgit v1.2.3