[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/files/, dev-python/pygobject/

2018-09-18 Thread Mart Raudsepp
commit: 37668a8e48c239cfb8951876504410f3eca6dd20
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Tue Sep 18 20:21:35 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Sep 18 20:21:35 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=37668a8e

dev-python/pygobject: remove, 3.28.3 available in ::gentoo

Main tree version removes some by now unnecessary test workarounds
(cairo.SubpixelOrder stuff seems solved, compat gtk stuff moved to
a separate file than we still sed and I don't get test failures),
which however might have been still relevant in the overlay 3.26
version.
Also updates comment about gnome-common to autoconf-archive, as that's
what it needs now for eautoreconf. However 3.30 and git master use
meson. Relatedly, the  is thus useless here now (still autotools),
so remove that too.

 .../files/pygobject-3.16.1-unittest.patch  |  15 ---
 dev-python/pygobject/metadata.xml  |  12 ---
 dev-python/pygobject/pygobject-3.26.1.ebuild   | 107 -
 dev-python/pygobject/pygobject-.ebuild | 105 
 4 files changed, 239 deletions(-)

diff --git a/dev-python/pygobject/files/pygobject-3.16.1-unittest.patch 
b/dev-python/pygobject/files/pygobject-3.16.1-unittest.patch
deleted file mode 100644
index 5ee15b1d..
--- a/dev-python/pygobject/files/pygobject-3.16.1-unittest.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Comment out unittest that ought to work but for some reason does not want to.
-
 a/tests/test_glib.py   2015-05-10 14:01:45.873164005 +0200
-+++ b/tests/test_glib.py   2015-03-05 09:32:55.0 +0100
-@@ -38,8 +38,8 @@
- def test_xdg_dirs(self):
- d = GLib.get_user_data_dir()
- self.assertTrue('/' in d, d)
--d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC)
--self.assertTrue('/' in d, d)
-+#d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC)
-+#self.assertTrue('/' in d, d)
- with warnings.catch_warnings():
- warnings.simplefilter('ignore', PyGIDeprecationWarning)
- 

diff --git a/dev-python/pygobject/metadata.xml 
b/dev-python/pygobject/metadata.xml
deleted file mode 100644
index 08a5bd43..
--- a/dev-python/pygobject/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   gn...@gentoo.org
-   Gentoo GNOME Desktop
-   
-
-   pyt...@gentoo.org
-   Python
-   
-

diff --git a/dev-python/pygobject/pygobject-3.26.1.ebuild 
b/dev-python/pygobject/pygobject-3.26.1.ebuild
deleted file mode 100644
index 535769f2..
--- a/dev-python/pygobject/pygobject-3.26.1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
-
-inherit eutils gnome2 python-r1 virtualx
-
-DESCRIPTION="GLib's GObject library bindings for Python"
-HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject";
-
-LICENSE="LGPL-2.1+"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+cairo examples test"
-
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   test? ( cairo )
-"
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   >=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.46.0:=
-   virtual/libffi:=
-   cairo? (
-   >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}]
-   x11-libs/cairo )
-"
-DEPEND="${COMMON_DEPEND}
-   virtual/pkgconfig
-   cairo? ( x11-libs/cairo[glib] )
-   test? (
-   dev-libs/atk[introspection]
-   media-fonts/font-cursor-misc
-   media-fonts/font-misc-misc
-   x11-libs/cairo[glib]
-   x11-libs/gdk-pixbuf:2[introspection,jpeg]
-   x11-libs/gtk+:3[introspection]
-   x11-libs/pango[introspection]
-   python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
-"
-# gnome-base/gnome-common required by eautoreconf
-
-# We now disable introspection support in slot 2 per upstream recommendation
-# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
-# older versions of slot 2 installed their own site-packages/gi, and
-# slot 3 will collide with them.
-RDEPEND="${COMMON_DEPEND}
-   ! != 
-   sed -e 's/^.*type(font_opts.get_subpixel_order()), int.*/#/' \
-   -i tests/test_cairo.py || die
-
-   gnome2_src_prepare
-   python_copy_sources
-}
-
-src_configure() {
-   # Hard-enable libffi support since both gobject-introspection and
-   # glib-2.29.x rdepend on it anyway
-   # docs disabled by upstream default since they

[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2018-09-10 Thread Gilles Dartiguelongue
commit: 4b16f44d3dddaa6f8c205039f79d7529122eb276
Author: Gilles Dartiguelongue  gentoo  org>
AuthorDate: Mon Sep 10 13:44:18 2018 +
Commit: Gilles Dartiguelongue  gentoo  org>
CommitDate: Mon Sep 10 14:02:12 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=4b16f44d

dev-python/pygobject: 3.24.1-r1 → 3.26.1

Package-Manager: Portage-2.3.49, Repoman-2.3.10
Manifest-Sign-Key: 0x5A56C8CD0C13248A

 ...gobject-.ebuild => pygobject-3.26.1.ebuild} | 60 +-
 dev-python/pygobject/pygobject-.ebuild | 46 ++---
 2 files changed, 40 insertions(+), 66 deletions(-)

diff --git a/dev-python/pygobject/pygobject-.ebuild 
b/dev-python/pygobject/pygobject-3.26.1.ebuild
similarity index 59%
copy from dev-python/pygobject/pygobject-.ebuild
copy to dev-python/pygobject/pygobject-3.26.1.ebuild
index 9adddeb4..535769f2 100644
--- a/dev-python/pygobject/pygobject-.ebuild
+++ b/dev-python/pygobject/pygobject-3.26.1.ebuild
@@ -1,28 +1,19 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
-
-GCONF_DEBUG="no"
+EAPI=6
 GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
 
 inherit eutils gnome2 python-r1 virtualx
-if [[ ${PV} =  ]]; then
-   inherit gnome2-live
-fi
 
 DESCRIPTION="GLib's GObject library bindings for Python"
 HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject";
 
 LICENSE="LGPL-2.1+"
 SLOT="3"
-if [[ ${PV} =  ]]; then
-   KEYWORDS=""
-else
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
-IUSE="+cairo examples test +threads"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+cairo examples test"
 
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
@@ -31,10 +22,10 @@ REQUIRED_USE="
 
 COMMON_DEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.39:=
+   >=dev-libs/gobject-introspection-1.46.0:=
virtual/libffi:=
cairo? (
-   >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
+   >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}]
x11-libs/cairo )
 "
 DEPEND="${COMMON_DEPEND}
@@ -45,10 +36,10 @@ DEPEND="${COMMON_DEPEND}
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
x11-libs/cairo[glib]
-   x11-libs/gdk-pixbuf:2[introspection]
+   x11-libs/gdk-pixbuf:2[introspection,jpeg]
x11-libs/gtk+:3[introspection]
x11-libs/pango[introspection]
-   !sparc? ( python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) )
+   python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
 "
 # gnome-base/gnome-common required by eautoreconf
 
@@ -62,8 +53,14 @@ RDEPEND="${COMMON_DEPEND}
 "
 
 src_prepare() {
-   # Comment out broken unittest
-   epatch "${FILESDIR}"/${PN}-3.16.1-unittest.patch
+   # Test fail with xvfb but not X
+   sed -e 's/^.*TEST_NAMES=compat_test_pygtk .*;/echo "Test disabled";/' \
+   -i tests/Makefile.{am,in} || die
+
+   # FAIL: test_cairo_font_options (test_cairo.TestPango)
+   # AssertionError:  != 
+   sed -e 's/^.*type(font_opts.get_subpixel_order()), int.*/#/' \
+   -i tests/test_cairo.py || die
 
gnome2_src_prepare
python_copy_sources
@@ -75,8 +72,7 @@ src_configure() {
# docs disabled by upstream default since they are very out of date
configuring() {
gnome2_src_configure \
-   $(use_enable cairo) \
-   $(use_enable threads thread)
+   $(use_enable cairo)
 
# Pyflakes tests work only in python2, bug #516744
if use test && [[ ${EPYTHON} != python2.7 ]]; then
@@ -93,27 +89,19 @@ src_compile() {
 }
 
 src_test() {
-   unset DBUS_SESSION_BUS_ADDRESS
-   export GIO_USE_VFS="local" # prevents odd issues with deleting 
${T}/.gvfs
-   export GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures 
in chroots, bug #449484
-   export SKIP_PEP8="yes"
+   local -x GIO_USE_VFS="local" # prevents odd issues with deleting 
${T}/.gvfs
+   local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related 
failures in chroots, bug #449484
+   local -x SKIP_PEP8="yes"
 
testing() {
-   export XDG_CACHE_HOME="${T}/${EPYTHON}"
-   run_in_build_dir Xemake check
-   unset XDG_CACHE_HOME
+   local -

[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2018-01-12 Thread Dennis Lamm
commit: 3e37a7b4001671a1fb5f140464ef734914ac0d23
Author: Dennis Lamm  gentoo  org>
AuthorDate: Fri Jan 12 11:29:48 2018 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Fri Jan 12 11:29:48 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=3e37a7b4

dev-python/pygobject: drop old

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pygobject/pygobject-3.20.0.ebuild | 109 ---
 dev-python/pygobject/pygobject-.ebuild   |   3 +-
 2 files changed, 1 insertion(+), 111 deletions(-)

diff --git a/dev-python/pygobject/pygobject-3.20.0.ebuild 
b/dev-python/pygobject/pygobject-3.20.0.ebuild
deleted file mode 100644
index a40a422f..
--- a/dev-python/pygobject/pygobject-3.20.0.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-inherit eutils gnome2 python-r1 virtualx
-
-DESCRIPTION="GLib's GObject library bindings for Python"
-HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject";
-
-LICENSE="LGPL-2.1+"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+cairo examples test +threads"
-
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   test? ( cairo )
-"
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   >=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.46:=
-   virtual/libffi:=
-   cairo? (
-   >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
-   x11-libs/cairo )
-"
-DEPEND="${COMMON_DEPEND}
-   virtual/pkgconfig
-   cairo? ( x11-libs/cairo[glib] )
-   test? (
-   dev-libs/atk[introspection]
-   media-fonts/font-cursor-misc
-   media-fonts/font-misc-misc
-   x11-libs/cairo[glib]
-   x11-libs/gdk-pixbuf:2[introspection]
-   x11-libs/gtk+:3[introspection]
-   x11-libs/pango[introspection]
-   python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
-"
-# gnome-base/gnome-common required by eautoreconf
-
-# We now disable introspection support in slot 2 per upstream recommendation
-# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
-# older versions of slot 2 installed their own site-packages/gi, and
-# slot 3 will collide with them.
-RDEPEND="${COMMON_DEPEND}
-   !

[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2016-03-24 Thread Ole Reifschneider
commit: cbd943cfce132283305028623cbcad8e5bbdc2ee
Author: Ole Reifschneider  gentoo  org>
AuthorDate: Fri Mar 25 00:08:10 2016 +
Commit: Ole Reifschneider  gentoo  org>
CommitDate: Fri Mar 25 00:55:46 2016 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=cbd943cf

dev-python/pygobject: Bump version to 3.20.0

Package-Manager: portage-2.2.28
Manifest-Sign-Key: 0xE9E568677E8B4D42

 .../{pygobject-3.18.0.ebuild => pygobject-3.20.0.ebuild} | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-python/pygobject/pygobject-3.18.0.ebuild 
b/dev-python/pygobject/pygobject-3.20.0.ebuild
similarity index 83%
rename from dev-python/pygobject/pygobject-3.18.0.ebuild
rename to dev-python/pygobject/pygobject-3.20.0.ebuild
index 3229154..a40a422 100644
--- a/dev-python/pygobject/pygobject-3.18.0.ebuild
+++ b/dev-python/pygobject/pygobject-3.20.0.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
-
 GCONF_DEBUG="no"
 GNOME2_LA_PUNT="yes"
 PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
@@ -15,7 +14,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject";
 
 LICENSE="LGPL-2.1+"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="+cairo examples test +threads"
 
 REQUIRED_USE="
@@ -25,7 +24,7 @@ REQUIRED_USE="
 
 COMMON_DEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.39:=
+   >=dev-libs/gobject-introspection-1.46:=
virtual/libffi:=
cairo? (
>=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
@@ -42,11 +41,8 @@ DEPEND="${COMMON_DEPEND}
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
x11-libs/pango[introspection]
-   !sparc? ( python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) )
+   python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
 "
-# FIXME: remove "!sparc?" automagic nonsense above when pyflakes is
-# keyworded on sparc, bug #553380
-
 # gnome-base/gnome-common required by eautoreconf
 
 # We now disable introspection support in slot 2 per upstream recommendation



[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2015-10-22 Thread Remi Cardona
commit: d3e46bfc09dbaaf89d96a1d95598af4c9dda0e85
Author: Rémi Cardona  gentoo  org>
AuthorDate: Thu Oct 22 23:05:08 2015 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Thu Oct 22 23:05:34 2015 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d3e46bfc

dev-python/pygobject: sync with portage

Add python3.5 support
gentoo.git commit cbece91e0447d77754f10e34c45b66b827cc0b35

Package-Manager: portage-2.2.23
Manifest-Sign-Key: 901AB08A

 dev-python/pygobject/metadata.xml| 4 ++--
 dev-python/pygobject/pygobject-3.18.0.ebuild | 3 ++-
 dev-python/pygobject/pygobject-.ebuild   | 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-python/pygobject/metadata.xml 
b/dev-python/pygobject/metadata.xml
index 9b1bc26..7c374a2 100644
--- a/dev-python/pygobject/metadata.xml
+++ b/dev-python/pygobject/metadata.xml
@@ -1,6 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-gnome
-python
+   gnome
+   python
 

diff --git a/dev-python/pygobject/pygobject-3.18.0.ebuild 
b/dev-python/pygobject/pygobject-3.18.0.ebuild
index 1b3fb2a..3229154 100644
--- a/dev-python/pygobject/pygobject-3.18.0.ebuild
+++ b/dev-python/pygobject/pygobject-3.18.0.ebuild
@@ -3,9 +3,10 @@
 # $Id$
 
 EAPI="5"
+
 GCONF_DEBUG="no"
 GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit eutils gnome2 python-r1 virtualx
 

diff --git a/dev-python/pygobject/pygobject-.ebuild 
b/dev-python/pygobject/pygobject-.ebuild
index 2ca3519..5fb9dd6 100644
--- a/dev-python/pygobject/pygobject-.ebuild
+++ b/dev-python/pygobject/pygobject-.ebuild
@@ -3,9 +3,10 @@
 # $Id$
 
 EAPI="5"
+
 GCONF_DEBUG="no"
 GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit eutils gnome2 python-r1 virtualx
 if [[ ${PV} =  ]]; then



[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2015-10-13 Thread Ole Reifschneider
commit: f7ebeeb3dd0c5b9f43f8a8a9ea0825279e351cb3
Author: Ole Reifschneider  gentoo  org>
AuthorDate: Tue Oct 13 20:02:48 2015 +
Commit: Ole Reifschneider  gentoo  org>
CommitDate: Tue Oct 13 20:03:37 2015 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=f7ebeeb3

dev-python/pygobject: remove patch

The tests are failing for me but it's not the same spec
that the patch adresses to I removed it for now.

Package-Manager: portage-2.2.23
Manifest-Sign-Key: 0xE9E568677E8B4D42

 dev-python/pygobject/pygobject-3.18.0.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-python/pygobject/pygobject-3.18.0.ebuild 
b/dev-python/pygobject/pygobject-3.18.0.ebuild
index e5610c2..1b3fb2a 100644
--- a/dev-python/pygobject/pygobject-3.18.0.ebuild
+++ b/dev-python/pygobject/pygobject-3.18.0.ebuild
@@ -58,9 +58,6 @@ RDEPEND="${COMMON_DEPEND}
 "
 
 src_prepare() {
-   # Comment out broken unittest
-   epatch "${FILESDIR}"/${PN}-3.16.1-unittest.patch
-
gnome2_src_prepare
python_copy_sources
 }



[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2015-10-12 Thread Ole Reifschneider
commit: 994102f7de162efddbc447841102165a73ba71e6
Author: Ole Reifschneider  gentoo  org>
AuthorDate: Mon Oct 12 18:40:46 2015 +
Commit: Ole Reifschneider  gentoo  org>
CommitDate: Mon Oct 12 18:40:46 2015 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=994102f7

dev-python/pygobject: Bump version to 3.18.0

Package-Manager: portage-2.2.20.1
Manifest-Sign-Key: 7E8B4D42

 ...gobject-.ebuild => pygobject-3.18.0.ebuild} | 31 +-
 dev-python/pygobject/pygobject-.ebuild | 19 +
 2 files changed, 32 insertions(+), 18 deletions(-)

diff --git a/dev-python/pygobject/pygobject-.ebuild 
b/dev-python/pygobject/pygobject-3.18.0.ebuild
similarity index 75%
copy from dev-python/pygobject/pygobject-.ebuild
copy to dev-python/pygobject/pygobject-3.18.0.ebuild
index d412e94..e5610c2 100644
--- a/dev-python/pygobject/pygobject-.ebuild
+++ b/dev-python/pygobject/pygobject-3.18.0.ebuild
@@ -8,20 +8,13 @@ GNOME2_LA_PUNT="yes"
 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
 
 inherit eutils gnome2 python-r1 virtualx
-if [[ ${PV} =  ]]; then
-   inherit gnome2-live
-fi
 
 DESCRIPTION="GLib's GObject library bindings for Python"
 HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject";
 
 LICENSE="LGPL-2.1+"
 SLOT="3"
-if [[ ${PV} =  ]]; then
-   KEYWORDS=""
-else
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="+cairo examples test +threads"
 
 REQUIRED_USE="
@@ -29,14 +22,13 @@ REQUIRED_USE="
test? ( cairo )
 "
 
-COMMON_DEPEND="
+COMMON_DEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.39
+   >=dev-libs/gobject-introspection-1.39:=
virtual/libffi:=
cairo? (
>=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
x11-libs/cairo )
-   ${PYTHON_DEPS}
 "
 DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
@@ -48,8 +40,12 @@ DEPEND="${COMMON_DEPEND}
x11-libs/cairo[glib]
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
-   x11-libs/pango[introspection] )
+   x11-libs/pango[introspection]
+   !sparc? ( python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) )
 "
+# FIXME: remove "!sparc?" automagic nonsense above when pyflakes is
+# keyworded on sparc, bug #553380
+
 # gnome-base/gnome-common required by eautoreconf
 
 # We now disable introspection support in slot 2 per upstream recommendation
@@ -73,10 +69,19 @@ src_configure() {
# Hard-enable libffi support since both gobject-introspection and
# glib-2.29.x rdepend on it anyway
# docs disabled by upstream default since they are very out of date
-   python_foreach_impl run_in_build_dir \
+   configuring() {
gnome2_src_configure \
$(use_enable cairo) \
$(use_enable threads thread)
+
+   # Pyflakes tests work only in python2, bug #516744
+   if use test && [[ ${EPYTHON} != python2.7 ]]; then
+   sed -e 's/if type pyflakes/if false/' \
+   -i Makefile || die "sed failed"
+   fi
+   }
+
+   python_foreach_impl run_in_build_dir configuring
 }
 
 src_compile() {

diff --git a/dev-python/pygobject/pygobject-.ebuild 
b/dev-python/pygobject/pygobject-.ebuild
index d412e94..2ca3519 100644
--- a/dev-python/pygobject/pygobject-.ebuild
+++ b/dev-python/pygobject/pygobject-.ebuild
@@ -29,14 +29,13 @@ REQUIRED_USE="
test? ( cairo )
 "
 
-COMMON_DEPEND="
+COMMON_DEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.39
+   >=dev-libs/gobject-introspection-1.39:=
virtual/libffi:=
cairo? (
>=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
x11-libs/cairo )
-   ${PYTHON_DEPS}
 "
 DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
@@ -48,7 +47,8 @@ DEPEND="${COMMON_DEPEND}
x11-libs/cairo[glib]
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
-   x11-libs/pango[introspection] )
+   x11-libs/pango[introspection]
+   !sparc? ( python_targets_python2_7? ( 
dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) )
 "
 # gnome-base/gnome-common required by eautoreconf
 
@@ -73,10 +73,19 @@ src_configure() {
# Hard-enable libffi support since both gobject-introspection and
   

[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2014-11-23 Thread Remi Cardona
commit: 2f96f854034ad30bc57976a008cfa96161f41dea
Author: Rémi Cardona  gentoo  org>
AuthorDate: Sun Nov 23 13:03:52 2014 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Sun Nov 23 13:03:52 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2f96f854

dev-python/pygobject: bump to 3.14.0

---
 dev-python/pygobject/pygobject-3.14.0.ebuild | 105 +++
 1 file changed, 105 insertions(+)

diff --git a/dev-python/pygobject/pygobject-3.14.0.ebuild 
b/dev-python/pygobject/pygobject-3.14.0.ebuild
new file mode 100644
index 000..6dd11c8
--- /dev/null
+++ b/dev-python/pygobject/pygobject-3.14.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit gnome2 python-r1 virtualx
+if [[ ${PV} =  ]]; then
+   inherit gnome2-live
+fi
+
+DESCRIPTION="GLib's GObject library bindings for Python"
+HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject";
+
+LICENSE="LGPL-2.1+"
+SLOT="3"
+if [[ ${PV} =  ]]; then
+   KEYWORDS=""
+else
+   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+fi
+IUSE="+cairo examples test +threads"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   test? ( cairo )
+"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.38:2
+   >=dev-libs/gobject-introspection-1.39
+   virtual/libffi:=
+   cairo? (
+   >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
+   x11-libs/cairo )
+   ${PYTHON_DEPS}
+"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig
+   cairo? ( x11-libs/cairo[glib] )
+   test? (
+   dev-libs/atk[introspection]
+   media-fonts/font-cursor-misc
+   media-fonts/font-misc-misc
+   x11-libs/cairo[glib]
+   x11-libs/gdk-pixbuf:2[introspection]
+   x11-libs/gtk+:3[introspection]
+   x11-libs/pango[introspection] )
+"
+# gnome-base/gnome-common required by eautoreconf
+
+# We now disable introspection support in slot 2 per upstream recommendation
+# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
+# older versions of slot 2 installed their own site-packages/gi, and
+# slot 3 will collide with them.
+RDEPEND="${COMMON_DEPEND}
+   !

[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2014-11-23 Thread Remi Cardona
commit: 259f36f97c4c5adb46942cf1eaa87454aa5f5c6b
Author: Rémi Cardona  gentoo  org>
AuthorDate: Sun Nov 23 10:36:20 2014 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Sun Nov 23 10:36:20 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=259f36f9

dev-python/pygobject: various updates

- remove 3.12.1 since portage has it and 3.12.2
- sync - with portage (HOMEPAGE, unittest2, ffi)
- drop unsupported python 3.2 and add 3.4
- bump GI dep

---
 dev-python/pygobject/pygobject-3.12.1.ebuild | 100 ---
 dev-python/pygobject/pygobject-.ebuild   |   8 +--
 2 files changed, 3 insertions(+), 105 deletions(-)

diff --git a/dev-python/pygobject/pygobject-3.12.1.ebuild 
b/dev-python/pygobject/pygobject-3.12.1.ebuild
deleted file mode 100644
index d5d3856..000
--- a/dev-python/pygobject/pygobject-3.12.1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python{2_7,3_2,3_3} )
-
-inherit gnome2 python-r1 virtualx
-
-DESCRIPTION="GLib's GObject library bindings for Python"
-HOMEPAGE="http://www.pygtk.org/";
-
-LICENSE="LGPL-2.1+"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="+cairo examples test +threads"
-
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   test? ( cairo )
-"
-
-COMMON_DEPEND="
-   >=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.38
-   virtual/libffi:=
-   cairo? (
-   >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
-   x11-libs/cairo )
-   ${PYTHON_DEPS}
-"
-DEPEND="${COMMON_DEPEND}
-   virtual/pkgconfig
-   cairo? ( x11-libs/cairo[glib] )
-   test? (
-   dev-libs/atk[introspection]
-   media-fonts/font-cursor-misc
-   media-fonts/font-misc-misc
-   virtual/python-unittest2[${PYTHON_USEDEP}]
-   x11-libs/cairo[glib]
-   x11-libs/gdk-pixbuf:2[introspection]
-   x11-libs/gtk+:3[introspection]
-   x11-libs/pango[introspection] )
-"
-# gnome-base/gnome-common required by eautoreconf
-
-# We now disable introspection support in slot 2 per upstream recommendation
-# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
-# older versions of slot 2 installed their own site-packages/gi, and
-# slot 3 will collide with them.
-RDEPEND="${COMMON_DEPEND}
-   !http://www.pygtk.org/";
+HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject";
 
 LICENSE="LGPL-2.1+"
 SLOT="3"
@@ -31,7 +31,7 @@ REQUIRED_USE="
 
 COMMON_DEPEND="
>=dev-libs/glib-2.38:2
-   >=dev-libs/gobject-introspection-1.38
+   >=dev-libs/gobject-introspection-1.39
virtual/libffi:=
cairo? (
>=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
@@ -45,7 +45,6 @@ DEPEND="${COMMON_DEPEND}
dev-libs/atk[introspection]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
-   virtual/python-unittest2[${PYTHON_USEDEP}]
x11-libs/cairo[glib]
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
@@ -72,7 +71,6 @@ src_configure() {
# docs disabled by upstream default since they are very out of date
python_foreach_impl run_in_build_dir \
gnome2_src_configure \
-   --with-ffi \
$(use_enable cairo) \
$(use_enable threads thread)
 }



[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2014-04-24 Thread Gilles Dartiguelongue
commit: 733316c6cd32ca8a02e537535e202f97100951f7
Author: Gilles Dartiguelongue  gentoo  org>
AuthorDate: Thu Apr 24 21:56:27 2014 +
Commit: Gilles Dartiguelongue  gentoo  org>
CommitDate: Thu Apr 24 22:33:03 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=733316c6

dev-python/pygobject: 3.12.0 → 3.12.1

---
 dev-python/pygobject/{pygobject-3.12.0.ebuild => pygobject-3.12.1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/pygobject/pygobject-3.12.0.ebuild 
b/dev-python/pygobject/pygobject-3.12.1.ebuild
similarity index 100%
rename from dev-python/pygobject/pygobject-3.12.0.ebuild
rename to dev-python/pygobject/pygobject-3.12.1.ebuild



[gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/

2014-04-20 Thread Gilles Dartiguelongue
commit: 39acedfe6659599d8f4517717dd0bc5715c75944
Author: Gilles Dartiguelongue  gentoo  org>
AuthorDate: Tue Apr 15 21:36:21 2014 +
Commit: Gilles Dartiguelongue  gentoo  org>
CommitDate: Sun Apr 20 13:51:51 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=39acedfe

dev-python/pygobject: 3.10.2 → 3.12.0

---
 ...gobject-.ebuild => pygobject-3.12.0.ebuild} | 22 +-
 dev-python/pygobject/pygobject-.ebuild | 13 -
 2 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/dev-python/pygobject/pygobject-.ebuild 
b/dev-python/pygobject/pygobject-3.12.0.ebuild
similarity index 81%
copy from dev-python/pygobject/pygobject-.ebuild
copy to dev-python/pygobject/pygobject-3.12.0.ebuild
index 664a5d3..d5d3856 100644
--- a/dev-python/pygobject/pygobject-.ebuild
+++ b/dev-python/pygobject/pygobject-3.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -8,20 +8,13 @@ GNOME2_LA_PUNT="yes"
 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
 
 inherit gnome2 python-r1 virtualx
-if [[ ${PV} =  ]]; then
-   inherit gnome2-live
-fi
 
 DESCRIPTION="GLib's GObject library bindings for Python"
 HOMEPAGE="http://www.pygtk.org/";
 
 LICENSE="LGPL-2.1+"
 SLOT="3"
-if [[ ${PV} =  ]]; then
-   KEYWORDS=""
-else
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="+cairo examples test +threads"
 
 REQUIRED_USE="
@@ -30,20 +23,23 @@ REQUIRED_USE="
 "
 
 COMMON_DEPEND="
-   >=dev-libs/glib-2.35.9:2
-   >=dev-libs/gobject-introspection-1.35.9
+   >=dev-libs/glib-2.38:2
+   >=dev-libs/gobject-introspection-1.38
virtual/libffi:=
-   cairo? ( >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}] )
+   cairo? (
+   >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
+   x11-libs/cairo )
${PYTHON_DEPS}
 "
 DEPEND="${COMMON_DEPEND}
-   x11-libs/cairo[glib]
virtual/pkgconfig
+   cairo? ( x11-libs/cairo[glib] )
test? (
dev-libs/atk[introspection]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
virtual/python-unittest2[${PYTHON_USEDEP}]
+   x11-libs/cairo[glib]
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
x11-libs/pango[introspection] )

diff --git a/dev-python/pygobject/pygobject-.ebuild 
b/dev-python/pygobject/pygobject-.ebuild
index 664a5d3..76767c3 100644
--- a/dev-python/pygobject/pygobject-.ebuild
+++ b/dev-python/pygobject/pygobject-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -30,20 +30,23 @@ REQUIRED_USE="
 "
 
 COMMON_DEPEND="
-   >=dev-libs/glib-2.35.9:2
-   >=dev-libs/gobject-introspection-1.35.9
+   >=dev-libs/glib-2.38:2
+   >=dev-libs/gobject-introspection-1.38
virtual/libffi:=
-   cairo? ( >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}] )
+   cairo? (
+   >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
+   x11-libs/cairo )
${PYTHON_DEPS}
 "
 DEPEND="${COMMON_DEPEND}
-   x11-libs/cairo[glib]
virtual/pkgconfig
+   cairo? ( x11-libs/cairo[glib] )
test? (
dev-libs/atk[introspection]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
virtual/python-unittest2[${PYTHON_USEDEP}]
+   x11-libs/cairo[glib]
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
x11-libs/pango[introspection] )