* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2011-04-19 8:50 Nirbheek Chauhan
0 siblings, 0 replies; 15+ messages in thread
From: Nirbheek Chauhan @ 2011-04-19 8:50 UTC (permalink / raw
To: gentoo-commits
commit: 913b6b9ec10bb0cd771c2d84be4a02d7380e580e
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 18 18:15:27 2011 +0000
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 08:49:28 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=913b6b9e
dev-python/pygobject: 2.28.3 → 2.28.4
* GLib.Variant fixes
---
...bject-2.28.3.ebuild => pygobject-2.28.4.ebuild} | 0
1 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/dev-python/pygobject/pygobject-2.28.3.ebuild b/dev-python/pygobject/pygobject-2.28.4.ebuild
similarity index 100%
rename from dev-python/pygobject/pygobject-2.28.3.ebuild
rename to dev-python/pygobject/pygobject-2.28.4.ebuild
^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2011-10-01 8:23 Alexandre Restovtsev
0 siblings, 0 replies; 15+ messages in thread
From: Alexandre Restovtsev @ 2011-10-01 8:23 UTC (permalink / raw
To: gentoo-commits
commit: 58e266e3e0078b127fb1a662db2ba9aaa16b5795
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Sat Oct 1 08:17:55 2011 +0000
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sat Oct 1 08:17:55 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=58e266e3
dev-python/pygobject: 3.0.0 → 3.0.1 with python3 support
Bump (fixes some subtle reference counting issues).
Finally enable python3 support since pygobject passes tests with
python-3.1.4 and 3.2.2, and runs simple gtk-based code from the
python3 interactive mode with no problems.
---
...gobject-3.0.0.ebuild => pygobject-3.0.1.ebuild} | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/dev-python/pygobject/pygobject-3.0.0.ebuild b/dev-python/pygobject/pygobject-3.0.1.ebuild
similarity index 92%
rename from dev-python/pygobject/pygobject-3.0.0.ebuild
rename to dev-python/pygobject/pygobject-3.0.1.ebuild
index 407ae5e..cf9b8c5 100644
--- a/dev-python/pygobject/pygobject-3.0.0.ebuild
+++ b/dev-python/pygobject/pygobject-3.0.1.ebuild
@@ -7,12 +7,8 @@ GCONF_DEBUG="no"
GNOME_TARBALL_SUFFIX="xz"
GNOME2_LA_PUNT="yes"
SUPPORT_PYTHON_ABIS="1"
-# XXX: is this still true?
-# pygobject is partially incompatible with Python 3.
-# PYTHON_DEPEND="2:2.6 3:3.1"
-# RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
-PYTHON_DEPEND="2:2.6"
-RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
+PYTHON_DEPEND="2:2.6 3:3.1"
+RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
# XXX: Is the alternatives stuff needed anymore?
inherit alternatives autotools gnome2 python virtualx
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2011-10-02 0:31 Alexandre Restovtsev
0 siblings, 0 replies; 15+ messages in thread
From: Alexandre Restovtsev @ 2011-10-02 0:31 UTC (permalink / raw
To: gentoo-commits
commit: cc220b02c845fef5b2905b3cae44c45d805bcddc
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Sun Oct 2 00:28:39 2011 +0000
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sun Oct 2 00:28:39 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=cc220b02
dev-python/pygobject: qa
Drop useless $(use_enable cairo) in 2.28.6-r50: since we are disabling
introspection, cairo support will not be used or needed; introspection
and cairo support are provided by slot 3 of pygobject.
---
dev-python/pygobject/pygobject-2.28.6-r50.ebuild | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-python/pygobject/pygobject-2.28.6-r50.ebuild b/dev-python/pygobject/pygobject-2.28.6-r50.ebuild
index 4a64410..169c800 100644
--- a/dev-python/pygobject/pygobject-2.28.6-r50.ebuild
+++ b/dev-python/pygobject/pygobject-2.28.6-r50.ebuild
@@ -46,12 +46,13 @@ PDEPEND="introspection? ( dev-python/pygobject:3 )"
pkg_setup() {
DOCS="AUTHORS ChangeLog* NEWS README"
- # --disable-introspection because we use slot 3 for introspection support
+ # --disable-introspection and --disable-cairo because we use pygobject:3
+ # for introspection support
G2CONF="${G2CONF}
--disable-dependency-tracking
--disable-introspection
+ --disable-cairo
$(use_enable doc docs)
- $(use_enable cairo)
$(use_with libffi ffi)"
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2012-02-21 10:44 Nirbheek Chauhan
0 siblings, 0 replies; 15+ messages in thread
From: Nirbheek Chauhan @ 2012-02-21 10:44 UTC (permalink / raw
To: gentoo-commits
commit: f60654f0a9e725a4f893effca616deeab465b4f1
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 10:44:19 2012 +0000
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 10:44:19 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=f60654f0
dev-python/pygobject: 3.1.0 → 3.1.1
---
...gobject-3.1.0.ebuild => pygobject-3.1.1.ebuild} | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dev-python/pygobject/pygobject-3.1.0.ebuild b/dev-python/pygobject/pygobject-3.1.1.ebuild
similarity index 98%
rename from dev-python/pygobject/pygobject-3.1.0.ebuild
rename to dev-python/pygobject/pygobject-3.1.1.ebuild
index 4800d33..71c93a8 100644
--- a/dev-python/pygobject/pygobject-3.1.0.ebuild
+++ b/dev-python/pygobject/pygobject-3.1.1.ebuild
@@ -26,7 +26,7 @@ else
fi
IUSE="+cairo examples test +threads" # doc
-COMMON_DEPEND=">=dev-libs/glib-2.24.0:2
+COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
>=dev-libs/gobject-introspection-1.31
virtual/libffi
cairo? ( >=dev-python/pycairo-1.10.0 )"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2012-05-05 0:36 Alexandre Restovtsev
0 siblings, 0 replies; 15+ messages in thread
From: Alexandre Restovtsev @ 2012-05-05 0:36 UTC (permalink / raw
To: gentoo-commits
commit: 4f3f98da827a3dd95339521a289258fbba154a6e
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Sat May 5 00:36:18 2012 +0000
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sat May 5 00:36:18 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=4f3f98da
dev-python/pygobject: in gx86, update pkgconfig dep.
---
dev-python/pygobject/pygobject-3.1.92.ebuild | 122 --------------------------
dev-python/pygobject/pygobject-9999.ebuild | 2 +-
2 files changed, 1 insertions(+), 123 deletions(-)
diff --git a/dev-python/pygobject/pygobject-3.1.92.ebuild b/dev-python/pygobject/pygobject-3.1.92.ebuild
deleted file mode 100644
index e155391..0000000
--- a/dev-python/pygobject/pygobject-3.1.92.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-SUPPORT_PYTHON_ABIS="1"
-PYTHON_DEPEND="2:2.6 3:3.1"
-RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*"
-
-inherit autotools gnome2 python virtualx
-if [[ ${PV} = 9999 ]]; 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} = 9999 ]]; then
- KEYWORDS=""
-else
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~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" # doc
-
-COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
- >=dev-libs/gobject-introspection-1.31.20
- virtual/libffi
- cairo? ( >=dev-python/pycairo-1.10.0 )"
-DEPEND="${COMMON_DEPEND}
- test? (
- media-fonts/font-cursor-misc
- media-fonts/font-misc-misc
- >=dev-libs/gobject-introspection-1.29.17 )
- >=dev-util/pkgconfig-0.12"
-# docs disabled for now per upstream default since they are very out of date
-# doc? (
-# app-text/docbook-xml-dtd:4.1.2
-# dev-libs/libxslt
-# >=app-text/docbook-xsl-stylesheets-1.70.1 )
-
-# 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}
- !<dev-python/pygtk-2.13
- !<dev-python/pygobject-2.28.6-r50:2[introspection]"
-
-pkg_setup() {
- DOCS="AUTHORS ChangeLog* NEWS README"
- # Hard-enable libffi support since both gobject-introspection and
- # glib-2.29.x rdepend on it anyway
- G2CONF="${G2CONF}
- --disable-dependency-tracking
- --with-ffi
- $(use_enable cairo)
- $(use_enable threads thread)"
-
- python_pkg_setup
-}
-
-src_prepare() {
- # Do not build tests if unneeded, bug #226345
- epatch "${FILESDIR}/${PN}-2.90.1-make_check.patch"
-
- # Disable tests that fail
- #epatch "${FILESDIR}/${PN}-2.28.3-disable-failing-tests.patch"
-
- python_clean_py-compile_files
-
- [[ ${PV} != 9999 ]] && eautoreconf
- gnome2_src_prepare
-
- python_copy_sources
-}
-
-src_configure() {
- configuration() {
- PYTHON="$(PYTHON)" gnome2_src_configure
- }
- python_execute_function -s configuration
-}
-
-src_compile() {
- python_src_compile
-}
-
-# FIXME: With python multiple ABI support, tests return 1 even when they pass
-src_test() {
- unset DBUS_SESSION_BUS_ADDRESS
- export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
-
- testing() {
- export XDG_CACHE_HOME="${T}/$(PYTHON --ABI)"
- Xemake check PYTHON=$(PYTHON -a)
- unset XDG_CACHE_HOME
- }
- python_execute_function -s testing
- unset GIO_USE_VFS
-}
-
-src_install() {
- python_execute_function -s gnome2_src_install
- python_clean_installation_image
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
-
-pkg_postinst() {
- python_mod_optimize gi
-}
-
-pkg_postrm() {
- python_mod_cleanup gi
-}
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index e155391..8c07c67 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.ebuild
@@ -35,7 +35,7 @@ DEPEND="${COMMON_DEPEND}
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
>=dev-libs/gobject-introspection-1.29.17 )
- >=dev-util/pkgconfig-0.12"
+ virtual/pkgconfig"
# docs disabled for now per upstream default since they are very out of date
# doc? (
# app-text/docbook-xml-dtd:4.1.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2014-04-20 13:54 Gilles Dartiguelongue
0 siblings, 0 replies; 15+ messages in thread
From: Gilles Dartiguelongue @ 2014-04-20 13:54 UTC (permalink / raw
To: gentoo-commits
commit: 39acedfe6659599d8f4517717dd0bc5715c75944
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 15 21:36:21 2014 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 13:51:51 2014 +0000
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-9999.ebuild => pygobject-3.12.0.ebuild} | 22 +++++++++-------------
dev-python/pygobject/pygobject-9999.ebuild | 13 ++++++++-----
2 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-3.12.0.ebuild
similarity index 81%
copy from dev-python/pygobject/pygobject-9999.ebuild
copy to dev-python/pygobject/pygobject-3.12.0.ebuild
index 664a5d3..d5d3856 100644
--- a/dev-python/pygobject/pygobject-9999.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} = 9999 ]]; 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} = 9999 ]]; 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-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index 664a5d3..76767c3 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.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] )
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2014-04-24 22:35 Gilles Dartiguelongue
0 siblings, 0 replies; 15+ messages in thread
From: Gilles Dartiguelongue @ 2014-04-24 22:35 UTC (permalink / raw
To: gentoo-commits
commit: 733316c6cd32ca8a02e537535e202f97100951f7
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 21:56:27 2014 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 22:33:03 2014 +0000
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2014-11-23 13:07 Remi Cardona
0 siblings, 0 replies; 15+ messages in thread
From: Remi Cardona @ 2014-11-23 13:07 UTC (permalink / raw
To: gentoo-commits
commit: 2f96f854034ad30bc57976a008cfa96161f41dea
Author: Rémi Cardona <remi <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 23 13:03:52 2014 +0000
Commit: Remi Cardona <remi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 23 13:03:52 2014 +0000
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 0000000..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} = 9999 ]]; 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} = 9999 ]]; 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}
+ !<dev-python/pygtk-2.13
+ !<dev-python/pygobject-2.28.6-r50:2[introspection]"
+
+src_prepare() {
+ 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 are very out of date
+ python_foreach_impl run_in_build_dir \
+ gnome2_src_configure \
+ $(use_enable cairo) \
+ $(use_enable threads thread)
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_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
+
+ testing() {
+ export XDG_CACHE_HOME="${T}/${EPYTHON}"
+ run_in_build_dir Xemake check
+ unset XDG_CACHE_HOME
+ }
+ python_foreach_impl testing
+ unset GIO_USE_VFS
+}
+
+src_install() {
+ DOCS="AUTHORS ChangeLog* NEWS README"
+
+ python_foreach_impl run_in_build_dir gnome2_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2014-11-23 13:07 Remi Cardona
0 siblings, 0 replies; 15+ messages in thread
From: Remi Cardona @ 2014-11-23 13:07 UTC (permalink / raw
To: gentoo-commits
commit: 259f36f97c4c5adb46942cf1eaa87454aa5f5c6b
Author: Rémi Cardona <remi <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 23 10:36:20 2014 +0000
Commit: Remi Cardona <remi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 23 10:36:20 2014 +0000
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 -9999 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-9999.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..0000000
--- 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}
- !<dev-python/pygtk-2.13
- !<dev-python/pygobject-2.28.6-r50:2[introspection]"
-
-src_prepare() {
- 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 are very out of date
- python_foreach_impl run_in_build_dir \
- gnome2_src_configure \
- --with-ffi \
- $(use_enable cairo) \
- $(use_enable threads thread)
-}
-
-src_compile() {
- python_foreach_impl run_in_build_dir gnome2_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
-
- testing() {
- export XDG_CACHE_HOME="${T}/${EPYTHON}"
- run_in_build_dir Xemake check
- unset XDG_CACHE_HOME
- }
- python_foreach_impl testing
- unset GIO_USE_VFS
-}
-
-src_install() {
- DOCS="AUTHORS ChangeLog* NEWS README"
-
- python_foreach_impl run_in_build_dir gnome2_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index 76767c3..6dd11c8 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.ebuild
@@ -5,7 +5,7 @@
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python{2_7,3_2,3_3} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit gnome2 python-r1 virtualx
if [[ ${PV} = 9999 ]]; then
@@ -13,7 +13,7 @@ if [[ ${PV} = 9999 ]]; then
fi
DESCRIPTION="GLib's GObject library bindings for Python"
-HOMEPAGE="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)
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2015-10-12 20:34 Ole Reifschneider
0 siblings, 0 replies; 15+ messages in thread
From: Ole Reifschneider @ 2015-10-12 20:34 UTC (permalink / raw
To: gentoo-commits
commit: 994102f7de162efddbc447841102165a73ba71e6
Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 18:40:46 2015 +0000
Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 18:40:46 2015 +0000
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-9999.ebuild => pygobject-3.18.0.ebuild} | 31 +++++++++++++---------
dev-python/pygobject/pygobject-9999.ebuild | 19 +++++++++----
2 files changed, 32 insertions(+), 18 deletions(-)
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-3.18.0.ebuild
similarity index 75%
copy from dev-python/pygobject/pygobject-9999.ebuild
copy to dev-python/pygobject/pygobject-3.18.0.ebuild
index d412e94..e5610c2 100644
--- a/dev-python/pygobject/pygobject-9999.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} = 9999 ]]; 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} = 9999 ]]; 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-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index d412e94..2ca3519 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.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
# 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() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2015-10-13 20:03 Ole Reifschneider
0 siblings, 0 replies; 15+ messages in thread
From: Ole Reifschneider @ 2015-10-13 20:03 UTC (permalink / raw
To: gentoo-commits
commit: f7ebeeb3dd0c5b9f43f8a8a9ea0825279e351cb3
Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 20:02:48 2015 +0000
Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 20:03:37 2015 +0000
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
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2015-10-22 23:06 Remi Cardona
0 siblings, 0 replies; 15+ messages in thread
From: Remi Cardona @ 2015-10-22 23:06 UTC (permalink / raw
To: gentoo-commits
commit: d3e46bfc09dbaaf89d96a1d95598af4c9dda0e85
Author: Rémi Cardona <remi <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 23:05:08 2015 +0000
Commit: Remi Cardona <remi <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 23:05:34 2015 +0000
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-9999.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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>gnome</herd>
-<herd>python</herd>
+ <herd>gnome</herd>
+ <herd>python</herd>
</pkgmetadata>
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-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index 2ca3519..5fb9dd6 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.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} = 9999 ]]; then
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2016-03-25 0:56 Ole Reifschneider
0 siblings, 0 replies; 15+ messages in thread
From: Ole Reifschneider @ 2016-03-25 0:56 UTC (permalink / raw
To: gentoo-commits
commit: cbd943cfce132283305028623cbcad8e5bbdc2ee
Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 00:08:10 2016 +0000
Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 00:55:46 2016 +0000
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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2018-01-12 11:30 Dennis Lamm
0 siblings, 0 replies; 15+ messages in thread
From: Dennis Lamm @ 2018-01-12 11:30 UTC (permalink / raw
To: gentoo-commits
commit: 3e37a7b4001671a1fb5f140464ef734914ac0d23
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 11:29:48 2018 +0000
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 11:29:48 2018 +0000
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-9999.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..00000000
--- 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}
- !<dev-python/pygtk-2.13
- !<dev-python/pygobject-2.28.6-r50:2[introspection]
-"
-
-src_prepare() {
- 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 are very out of date
- 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() {
- python_foreach_impl run_in_build_dir gnome2_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"
-
- testing() {
- export XDG_CACHE_HOME="${T}/${EPYTHON}"
- run_in_build_dir Xemake check
- unset XDG_CACHE_HOME
- }
- python_foreach_impl testing
- unset GIO_USE_VFS
-}
-
-src_install() {
- DOCS="AUTHORS ChangeLog* NEWS README"
-
- python_foreach_impl run_in_build_dir gnome2_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index 5fb9dd65..9adddeb4 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
EAPI="5"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/
@ 2018-09-10 21:33 Gilles Dartiguelongue
0 siblings, 0 replies; 15+ messages in thread
From: Gilles Dartiguelongue @ 2018-09-10 21:33 UTC (permalink / raw
To: gentoo-commits
commit: 4b16f44d3dddaa6f8c205039f79d7529122eb276
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 10 13:44:18 2018 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Sep 10 14:02:12 2018 +0000
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-9999.ebuild => pygobject-3.26.1.ebuild} | 60 +++++++++-------------
dev-python/pygobject/pygobject-9999.ebuild | 46 ++++++-----------
2 files changed, 40 insertions(+), 66 deletions(-)
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-3.26.1.ebuild
similarity index 59%
copy from dev-python/pygobject/pygobject-9999.ebuild
copy to dev-python/pygobject/pygobject-3.26.1.ebuild
index 9adddeb4..535769f2 100644
--- a/dev-python/pygobject/pygobject-9999.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} = 9999 ]]; 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} = 9999 ]]; 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: <type 'cairo.SubpixelOrder'> != <type 'int'>
+ 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 -x XDG_CACHE_HOME="${T}/${EPYTHON}"
+ emake -C "${BUILD_DIR}" check
}
- python_foreach_impl testing
- unset GIO_USE_VFS
+ virtx python_foreach_impl testing
}
src_install() {
- DOCS="AUTHORS ChangeLog* NEWS README"
-
python_foreach_impl run_in_build_dir gnome2_src_install
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
+ dodoc -r examples
}
diff --git a/dev-python/pygobject/pygobject-9999.ebuild b/dev-python/pygobject/pygobject-9999.ebuild
index 9adddeb4..1faffe2b 100644
--- a/dev-python/pygobject/pygobject-9999.ebuild
+++ b/dev-python/pygobject/pygobject-9999.ebuild
@@ -1,11 +1,9 @@
# 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} = 9999 ]]; then
@@ -20,9 +18,9 @@ SLOT="3"
if [[ ${PV} = 9999 ]]; 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"
+ 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"
fi
-IUSE="+cairo examples test +threads"
+IUSE="+cairo examples test"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
@@ -31,10 +29,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 +43,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,9 +60,6 @@ RDEPEND="${COMMON_DEPEND}
"
src_prepare() {
- # Comment out broken unittest
- epatch "${FILESDIR}"/${PN}-3.16.1-unittest.patch
-
gnome2_src_prepare
python_copy_sources
}
@@ -75,8 +70,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 +87,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 -x XDG_CACHE_HOME="${T}/${EPYTHON}"
+ emake -C "${BUILD_DIR}" check
}
- python_foreach_impl testing
- unset GIO_USE_VFS
+ virtx python_foreach_impl testing
}
src_install() {
- DOCS="AUTHORS ChangeLog* NEWS README"
-
python_foreach_impl run_in_build_dir gnome2_src_install
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
+ dodoc -r examples
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2018-09-10 21:34 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 22:35 [gentoo-commits] proj/gnome:master commit in: dev-python/pygobject/ Gilles Dartiguelongue
-- strict thread matches above, loose matches on Subject: below --
2018-09-10 21:33 Gilles Dartiguelongue
2018-01-12 11:30 Dennis Lamm
2016-03-25 0:56 Ole Reifschneider
2015-10-22 23:06 Remi Cardona
2015-10-13 20:03 Ole Reifschneider
2015-10-12 20:34 Ole Reifschneider
2014-11-23 13:07 Remi Cardona
2014-11-23 13:07 Remi Cardona
2014-04-20 13:54 Gilles Dartiguelongue
2012-05-05 0:36 Alexandre Restovtsev
2012-02-21 10:44 Nirbheek Chauhan
2011-10-02 0:31 Alexandre Restovtsev
2011-10-01 8:23 Alexandre Restovtsev
2011-04-19 8:50 Nirbheek Chauhan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox