commit:     8d845ac6c6170cc83cf268dcc108b4c46ecaff7c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 19 09:03:05 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 09:04:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d845ac6

dev-python/gnome-python-base: Revert "Remove last-rited pkg"

It was supposed to be gnome-python-desktop-base.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/gnome-python-base/Manifest              |  1 +
 .../gnome-python-base-2.28.1-r1.ebuild             | 45 ++++++++++++++++++++++
 dev-python/gnome-python-base/metadata.xml          | 12 ++++++
 profiles/package.deprecated                        |  1 +
 profiles/package.mask                              |  6 +++
 5 files changed, 65 insertions(+)

diff --git a/dev-python/gnome-python-base/Manifest 
b/dev-python/gnome-python-base/Manifest
new file mode 100644
index 00000000000..31f334bab76
--- /dev/null
+++ b/dev-python/gnome-python-base/Manifest
@@ -0,0 +1 @@
+DIST gnome-python-2.28.1.tar.bz2 562220 BLAKE2B 
9bd14132974b6d42183debfc8f492fcee168a1671dfd27eead7aaa8d5ca12108bcda239b30df87bf41de3a0ab68191f095d63fdad05c151f6204f34f3bf14bdf
 SHA512 
632d91d416f8209c2bc8d576d1229069e00f2cfeedb3441a5f151e12973ed740c0bb26d18d5c16cfeeb64ca35933537997277450001cffd96d8d5077027d45f2

diff --git a/dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild 
b/dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild
new file mode 100644
index 00000000000..dc93502945e
--- /dev/null
+++ b/dev-python/gnome-python-base/gnome-python-base-2.28.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="no"
+PYTHON_COMPAT=( python2_7 )
+
+inherit versionator eutils gnome2 python-r1
+
+# This ebuild does nothing -- we just want to get the pkgconfig file installed
+
+MY_PN="gnome-python"
+DESCRIPTION="Provides the base files for the gnome-python bindings"
+HOMEPAGE="http://pygtk.org/";
+PVP="$(get_version_component_range 1-2)"
+SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP}/${MY_PN}-${PV}.tar.bz2"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+LICENSE="LGPL-2.1"
+SLOT="2"
+RESTRICT="${RESTRICT} test"
+
+# From the gnome-python eclass
+RDEPEND=">=x11-libs/gtk+-2.6:2
+       >=dev-libs/glib-2.6:2
+       ${PYTHON_DEPS}
+       >=dev-python/pygtk-2.14.0:2[${PYTHON_USEDEP}]
+       >=dev-python/pygobject-2.17:2[${PYTHON_USEDEP}]
+       !<dev-python/gnome-python-2.22.1"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x86-solaris"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+       python_setup
+}
+
+src_configure() {
+       gnome2_src_configure \
+               --disable-allbindings
+}

diff --git a/dev-python/gnome-python-base/metadata.xml 
b/dev-python/gnome-python-base/metadata.xml
new file mode 100644
index 00000000000..e4e250dd810
--- /dev/null
+++ b/dev-python/gnome-python-base/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="project">
+       <email>pyt...@gentoo.org</email>
+       <name>Python</name>
+</maintainer>
+<maintainer type="project">
+       <email>gn...@gentoo.org</email>
+       <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>

diff --git a/profiles/package.deprecated b/profiles/package.deprecated
index 588986e296e..499da317742 100644
--- a/profiles/package.deprecated
+++ b/profiles/package.deprecated
@@ -40,6 +40,7 @@ dev-python/pytest-runner
 # Deprecated GNOME 2 era packages
 # Bugs #640022, #713010
 dev-python/gconf-python
+dev-python/gnome-python-base
 dev-python/pygobject:2
 dev-python/pygtksourceview
 gnome-base/gnome-vfs

diff --git a/profiles/package.mask b/profiles/package.mask
index f72868ee6f1..a805abc02f8 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -510,6 +510,12 @@ media-sound/galan
 # No reverse deps. GNOME 2 era slot. Removal in 30 days
 gnome-base/gnome-desktop:2
 
+# Michał Górny <mgo...@gentoo.org> (2020-03-20)
+# Deprecated GNOME libraries, replaced by introspection.  Python 2 only.
+# No reverse dependencies.
+# Removal in 30 days.  Bug #713566.
+dev-python/gnome-python-desktop-base
+
 # Andreas Sturmlechner <ast...@gentoo.org> (2020-03-14)
 # Breaks at least dev-games/simgear right now, bug #709878.
 ~dev-games/openscenegraph-3.6.5

Reply via email to