mgorny      14/05/14 22:59:12

  Modified:             ChangeLog
  Added:                tevent-0.9.21-r1.ebuild
  Log:
  Enable multilib support, bug #505012. Make Python optional & clean up its 
handling, bug #489114.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.58                 sys-libs/tevent/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/ChangeLog?rev=1.58&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/ChangeLog?rev=1.58&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/ChangeLog?r1=1.57&r2=1.58

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/tevent/ChangeLog,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- ChangeLog   18 Jan 2014 23:19:27 -0000      1.57
+++ ChangeLog   14 May 2014 22:59:12 -0000      1.58
@@ -1,6 +1,12 @@
 # ChangeLog for sys-libs/tevent
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tevent/ChangeLog,v 1.57 2014/01/18 
23:19:27 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tevent/ChangeLog,v 1.58 2014/05/14 
22:59:12 mgorny Exp $
+
+*tevent-0.9.21-r1 (14 May 2014)
+
+  14 May 2014; Michał Górny <mgo...@gentoo.org> +tevent-0.9.21-r1.ebuild:
+  Enable multilib support, bug #505012. Make Python optional & clean up its
+  handling, bug #489114.
 
 *tevent-0.9.21 (18 Jan 2014)
 



1.1                  sys-libs/tevent/tevent-0.9.21-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/tevent-0.9.21-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/tevent-0.9.21-r1.ebuild?rev=1.1&content-type=text/plain

Index: tevent-0.9.21-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tevent/tevent-0.9.21-r1.ebuild,v 
1.1 2014/05/14 22:59:12 mgorny Exp $

EAPI=5
PYTHON_COMPAT=( python2_{6,7} )

inherit waf-utils multilib-minimal python-single-r1

DESCRIPTION="Samba tevent library"
HOMEPAGE="http://tevent.samba.org/";
SRC_URI="http://samba.org/ftp/tevent/${P}.tar.gz";

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="python"

RDEPEND=">=sys-libs/talloc-2.1.0[python?,${MULTILIB_USEDEP}]
        python? ( ${PYTHON_DEPS} )"

DEPEND="${RDEPEND}
        virtual/pkgconfig[${MULTILIB_USEDEP}]
        ${PYTHON_DEPS}
"
# build system does not work with python3
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

WAF_BINARY="${S}/buildtools/bin/waf"

pkg_setup() {
        python-single-r1_pkg_setup
}

src_prepare() {
        multilib_copy_sources
}

multilib_src_configure() {
        waf-utils_src_configure \
                $(multilib_native_usex python '' '--disable-python')
}

multilib_src_compile() {
        waf-utils_src_compile
}

multilib_src_install() {
        waf-utils_src_install

        multilib_is_native_abi && use python && python_domodule tevent.py
}




Reply via email to