blueness    15/06/04 11:07:36

  Modified:             libcap-ng-0.7.7.ebuild ChangeLog
  Log:
  Fix configuration for python3.  Bug #551088.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.2                  sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild?r1=1.1&r2=1.2

Index: libcap-ng-0.7.7.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libcap-ng-0.7.7.ebuild      28 May 2015 01:15:39 -0000      1.1
+++ libcap-ng-0.7.7.ebuild      4 Jun 2015 11:07:36 -0000       1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild,v 
1.1 2015/05/28 01:15:39 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild,v 
1.2 2015/06/04 11:07:36 blueness Exp $
 
 EAPI=5
 
@@ -24,6 +24,8 @@
        sys-kernel/linux-headers
        python? ( >=dev-lang/swig-2 )"
 
+RESTRICT="test"
+
 src_prepare() {
        sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
 
@@ -33,16 +35,22 @@
 }
 
 src_configure() {
-       local myeconfargs=(
-               --without-python
-       )
-
        # set up the library build
+        local myeconfargs=( --without-python --without-python3 )
        autotools-utils_src_configure
 
-       if use python; then
-               python_parallel_foreach_impl \
-                       autotools-utils_src_configure --with-python
+       # set up python bindings build(s)
+       if use python ; then
+               setup_python_flags_configure() {
+                       if [[ ${EPYTHON} == python2* ]] ; then
+                               myeconfargs=( --with-python --without-python3 )
+                       else
+                               myeconfargs=( --with-python --with-python3 )
+                       fi
+                       autotools-utils_src_configure
+               }
+
+               python_foreach_impl setup_python_flags_configure
        fi
 }
 



1.80                 sys-libs/libcap-ng/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- ChangeLog   28 May 2015 01:15:39 -0000      1.79
+++ ChangeLog   4 Jun 2015 11:07:36 -0000       1.80
@@ -1,6 +1,9 @@
 # ChangeLog for sys-libs/libcap-ng
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.79 
2015/05/28 01:15:39 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.80 
2015/06/04 11:07:36 blueness Exp $
+
+  04 Jun 2015; Anthony G. Basile <[email protected]> libcap-ng-0.7.7.ebuild:
+  Fix configuration for python3.  Bug #551088.
 
 *libcap-ng-0.7.7 (28 May 2015)
 *libcap-ng-0.7.6 (28 May 2015)




Reply via email to