[dev-python/pygobject*] version bump to 3.2.0
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
AUX pygobject-2.90.1-make_check.patch 2572 RMD160 15fa252864308469a9d84ed3d0195fe38b329127 SHA1 a3daba6e1cd7b15663c6cae862236abd876a50aa SHA256 e665baf786eb565cd095ca1651a696264b112dcbc534593c4fa3da2d4e3b2ddf
|
||||
AUX pygobject-3.0.0-support_multiple_python_versions.patch 2794 RMD160 3dd6dfc06063d7eca37c02a08b15c7d3c5615a12 SHA1 56311e3c80ff768d1f88ef635cae34441532cc1e SHA256 ee1e3182dadd4e585179916e4cff3836d2e4464663667a8f5afcf5949d3c000c
|
||||
AUX pygobject-3.0.2-disable-new-gi-tests.patch 1078 RMD160 d49ab860e2e3f4ee939ec34b6d69157f6f44cccc SHA1 b8c55b5850373db399a61a3f5ee1b8b38bd4b66c SHA256 00d2ff216da8f26d57c1a9238f308a02fa77f4d9dcfbd931b238cddd9b99bccd
|
||||
AUX pygobject-3.0.3-disable-new-gi-tests.patch 2825 RMD160 ca269ff563a6c49bf70517274bddc0c3d4aef8a4 SHA1 3ba5f141f764b407f787e6afdeeac951e142f1b8 SHA256 eec3f3cacfa7655d9dd0755cb5c9a1a235b5351990dfc0d39f646d5ba2e2deda
|
||||
AUX pygobject-3.0.3-gobject-property-min-max.patch 2505 RMD160 6bd1c482426102669f91cf86dff7a6cbb5cfcd7c SHA1 460b0a2932cedb150f668e21ababe74fc56f61b4 SHA256 9f79c7a7f163323d3d72b2c2758fba4fd4c712869e5f8c7ba10364466a30d9c3
|
||||
AUX pygobject-3.0.3-tests-python3.patch 953 RMD160 da11f5e7541a44d69639a9cb2fb1c845bae5864b SHA1 83f864613330148cc4a58c56f6190a6db6beb3a1 SHA256 e9b9da15e44239a85b71d5dde5ae112780c9527b81bddf4edfa9d620bf371d00
|
||||
DIST pygobject-3.0.4.tar.xz 547180 RMD160 f72d82b862359fee51bffc12076c29a49b9c4b6a SHA1 72df1cdd6e34d52ada6e32f1bbd7f36f4be67512 SHA256 f457b1d7f6b8bfa727593c3696d2b405da66b4a8d34cd7d3362ebda1221f0661
|
||||
DIST pygobject-3.2.0.tar.xz 561820 RMD160 5b0f6bf22dc5f6e30b50c26daab12867c96112ef SHA1 42ec81a638ddc735c062d0dae7389235242d7732 SHA256 1a2140c4c4ce0c1a5d7abe74eeb7a7040f426cb17943c3ae7e57695b355151c3
|
||||
EBUILD pygobject-base-3.0.4.ebuild 3339 RMD160 0462f147689e7d3dce7c9235d44aee8a19553c7c SHA1 951e887118e5cc1e43b45ff167faada9d147010a SHA256 997abddf3019cd5de5c1d420c0718a8120e2b879884cc92e813c75e97364d762
|
||||
EBUILD pygobject-base-3.2.0.ebuild 2873 RMD160 320869c4941a705712fe0026da3b8370e9bda788 SHA1 1cbad60fd674dcad8437d181b66d8cbdd76bd7a4 SHA256 39b54769409dfbaab9e2e6b22cea33d3ffd9b0badc425cb155da8991b0bac37a
|
||||
MISC metadata.xml 178 RMD160 52828e1ca616ad731f2ab1ed2890d6d3a7cc8043 SHA1 a42d68a6c263ea8d8cbb678548e209aa9642a74e SHA256 aeea09173ed30175422e4f951e369e1882919be3d56e655468e5d4bffea0fc3c
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
Disable tests requiring an unreleased version of gobject-introspection.
|
||||
|
||||
diff --git a/tests/test_everything.py b/tests/test_everything.py
|
||||
index 19d345b..4a03890 100644
|
||||
--- a/tests/test_everything.py
|
||||
+++ b/tests/test_everything.py
|
||||
@@ -483,22 +483,3 @@ class TestAdvancedInterfaces(unittest.TestCase):
|
||||
self.assertEquals(ret[0], 51);
|
||||
self.assertEquals(ret[1], 61);
|
||||
self.assertEquals(ret[2], 32);
|
||||
-
|
||||
- def test_obj_skip_return_val_no_out(self):
|
||||
- obj = Everything.TestObj();
|
||||
- # raises an error for 0, succeeds for any other value
|
||||
- self.assertRaises(GLib.GError, obj.skip_return_val_no_out, 0)
|
||||
-
|
||||
- ret = obj.skip_return_val_no_out(1)
|
||||
- self.assertEquals(ret, None)
|
||||
-
|
||||
-class TestSignals(unittest.TestCase):
|
||||
- def test_object_param_signal(self):
|
||||
- obj = Everything.TestObj();
|
||||
-
|
||||
- def callback (obj_param):
|
||||
- self.assertEquals(obj_param.props.int, 3)
|
||||
- self.assertEquals(obj_param.__grefcount__, 2)
|
||||
-
|
||||
- obj.connect('sig-with-obj', callback)
|
||||
- obj.emit_sig_with_obj()
|
||||
@@ -0,0 +1,114 @@
|
||||
# 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-*"
|
||||
|
||||
REAL_PN="${PN/-base}"
|
||||
GNOME_ORG_MODULE="${REAL_PN}"
|
||||
|
||||
inherit autotools gnome2 python 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 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples test +threads" # doc
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
|
||||
>=dev-libs/gobject-introspection-1.31.20
|
||||
virtual/libffi"
|
||||
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
|
||||
--disable-cairo
|
||||
$(use_enable threads thread)"
|
||||
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Do not build tests if unneeded, bug #226345
|
||||
epatch "${FILESDIR}/pygobject-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
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_execute_function -s gnome2_src_configure
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -4,5 +4,7 @@ AUX pygobject-3.0.3-disable-new-gi-tests.patch 2825 RMD160 ca269ff563a6c49bf7051
|
||||
AUX pygobject-3.0.3-gobject-property-min-max.patch 2505 RMD160 6bd1c482426102669f91cf86dff7a6cbb5cfcd7c SHA1 460b0a2932cedb150f668e21ababe74fc56f61b4 SHA256 9f79c7a7f163323d3d72b2c2758fba4fd4c712869e5f8c7ba10364466a30d9c3
|
||||
AUX pygobject-3.0.3-tests-python3.patch 953 RMD160 da11f5e7541a44d69639a9cb2fb1c845bae5864b SHA1 83f864613330148cc4a58c56f6190a6db6beb3a1 SHA256 e9b9da15e44239a85b71d5dde5ae112780c9527b81bddf4edfa9d620bf371d00
|
||||
DIST pygobject-3.0.4.tar.xz 547180 RMD160 f72d82b862359fee51bffc12076c29a49b9c4b6a SHA1 72df1cdd6e34d52ada6e32f1bbd7f36f4be67512 SHA256 f457b1d7f6b8bfa727593c3696d2b405da66b4a8d34cd7d3362ebda1221f0661
|
||||
DIST pygobject-3.2.0.tar.xz 561820 RMD160 5b0f6bf22dc5f6e30b50c26daab12867c96112ef SHA1 42ec81a638ddc735c062d0dae7389235242d7732 SHA256 1a2140c4c4ce0c1a5d7abe74eeb7a7040f426cb17943c3ae7e57695b355151c3
|
||||
EBUILD pygobject-cairo-3.0.4.ebuild 2383 RMD160 ab2ba4cf8957acdfdee17008665f23335d6aab08 SHA1 6528c288013517968d2688b3809ff9274cf86b58 SHA256 b770c0b5856615451f33c6170f85621bd564762fd9b8d1a707180d8a924f250a
|
||||
EBUILD pygobject-cairo-3.2.0.ebuild 1886 RMD160 3a1e3325bd0f0b0fd79ebb006e2e9cd2db79461f SHA1 ff38f9e79803d995def71b92f9e1cb63737977bb SHA256 f5ea7795a904b347cb1c44208ac7262b6f1d03e710d7177d3c9ad90a462f56b4
|
||||
MISC metadata.xml 178 RMD160 52828e1ca616ad731f2ab1ed2890d6d3a7cc8043 SHA1 a42d68a6c263ea8d8cbb678548e209aa9642a74e SHA256 aeea09173ed30175422e4f951e369e1882919be3d56e655468e5d4bffea0fc3c
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
# 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-*"
|
||||
|
||||
REAL_PN="${PN/-cairo}"
|
||||
GNOME_ORG_MODULE="${REAL_PN}"
|
||||
|
||||
inherit alternatives autotools gnome2 python virtualx
|
||||
|
||||
DESCRIPTION="GLib's GObject library bindings for Python, Cairo Libraries"
|
||||
HOMEPAGE="http://www.pygtk.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="3"
|
||||
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"
|
||||
IUSE="+threads"
|
||||
|
||||
COMMON_DEPEND="
|
||||
~dev-python/pygobject-base-${PV}[threads=]
|
||||
>=dev-python/pycairo-1.10.0"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-apps/findutils"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<dev-python/pygtk-2.13
|
||||
!<dev-python/pygobject-2.28.6-r50:2[introspection]"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-dependency-tracking
|
||||
--with-ffi
|
||||
--enable-cairo
|
||||
$(use_enable threads thread)"
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Do not build tests if unneeded, bug #226345
|
||||
epatch "${FILESDIR}/${REAL_PN}-2.90.1-make_check.patch"
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_execute_function -s gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_execute_function -s gnome2_src_install
|
||||
python_clean_installation_image
|
||||
# just keep /usr/$(get_libdir)/*/site-packages/gi/_gi_cairo.so
|
||||
# discard the rest
|
||||
rm $(find "${D}" -type f | grep -v "gi/_gi_cairo.so") \
|
||||
$(find "${D}" -type l | grep -v "gi/_gi_cairo.so") || die
|
||||
find "${D}" -depth -type d -empty -exec rmdir {} \; || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize gi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup gi
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
EBUILD pygobject-3.0.4.ebuild 690 RMD160 6dcee7517cf374d7b3e1127782f556c73851ca84 SHA1 35259709fc7492834b076e02452d2b3620bf23f8 SHA256 276c82b3338a41c0a605767115213caee76c6ecfc8a86a94fa244db28674aa37
|
||||
EBUILD pygobject-3.2.0.ebuild 690 RMD160 6dcee7517cf374d7b3e1127782f556c73851ca84 SHA1 35259709fc7492834b076e02452d2b3620bf23f8 SHA256 276c82b3338a41c0a605767115213caee76c6ecfc8a86a94fa244db28674aa37
|
||||
MISC metadata.xml 291 RMD160 2226a820b502bdd20583331e1601bb9cd04f96be SHA1 f5d19f3ae1f337179858f1818fc195a20ad7e4d9 SHA256 5a3c7fa667eaf9da2744f966afc82db0a4a45cc642157b8224104f17bdb4af5c
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="GLib's GObject library bindings for Python, meta package"
|
||||
HOMEPAGE="http://www.pygtk.org"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="3"
|
||||
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"
|
||||
IUSE="+cairo examples test +threads" # doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
~dev-python/pygobject-base-${PV}[threads=,examples=,test=]
|
||||
cairo? ( ~dev-python/pygobject-cairo-${PV}[threads=] )"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
Reference in New Issue
Block a user