mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-python/gnome-python-extras-base: Remove last-rited pkg
Closes: https://bugs.gentoo.org/713566 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST gnome-python-extras-2.25.3.tar.bz2 370489 BLAKE2B 9ca41f953ed75009f732c811372a560a1fcaf8e81bf4187117c40e61009296df62ed413cfc47194329bb92053762748cd14c3849d0f4a0fe7ccfff8ad72c3529 SHA512 6994b8b5d6ccc009edc7ddfad373b9164d8162f1007972652f6086dca30cac6941ab68ef467d15c972ab05c4ae0e19ec72edc2643636d22a01a3f5a719251467
|
||||
@@ -1,59 +0,0 @@
|
||||
From 7824fd5291f570de3c2c64185035d1a6a0a3445a Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Mon, 13 Aug 2012 04:42:47 -0400
|
||||
Subject: [PATCH] Replace horrible slow python libs search
|
||||
|
||||
---
|
||||
acinclude.m4 | 36 ++----------------------------------
|
||||
1 files changed, 2 insertions(+), 34 deletions(-)
|
||||
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index 8694a65..f5373eb 100644
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -59,40 +59,8 @@ $1],dnl
|
||||
[AC_MSG_RESULT(not found)
|
||||
$2])
|
||||
CPPFLAGS="$save_CPPFLAGS"
|
||||
-
|
||||
- # This bit is copied from Planner. murrayc.
|
||||
- # Check for Python library path
|
||||
- AC_MSG_CHECKING([for Python library path])
|
||||
-
|
||||
- # Win32 has libpython25.a instead of libpython2.5.a, so we look
|
||||
- # for both. TODO: Only look for libpython25.a on Windows, and for
|
||||
- # libpython2.5.a on unix.
|
||||
- WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"`
|
||||
-
|
||||
- python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
|
||||
- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
|
||||
- if test -e "$i"; then
|
||||
- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
|
||||
- if test -n "$python_path" ; then
|
||||
- python_lib="python$PYTHON_VERSION"
|
||||
- break
|
||||
- fi
|
||||
-
|
||||
- # Additionally test WIN32_PYTHON_VERSION
|
||||
- python_path=`find $i -type f -name libpython$WIN32_PYTHON_VERSION.* -print | sed "1q"`
|
||||
- if test -n "$python_path" ; then
|
||||
- python_lib="python$WIN32_PYTHON_VERSION"
|
||||
- break
|
||||
- fi
|
||||
- fi
|
||||
- done
|
||||
-
|
||||
- python_path=`echo $python_path | sed "s,/libpython.*$,,"`
|
||||
- AC_MSG_RESULT([$python_path])
|
||||
- if test -z "$python_path" ; then
|
||||
- AC_MSG_ERROR([cannot find Python library path])
|
||||
- fi
|
||||
- AC_SUBST([PYTHON_LDFLAGS],["-L$python_path -l$python_lib"])
|
||||
+PYTHON_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; print('-L%s -lpython${PYTHON_VERSION}' % distutils.sysconfig.get_config_var('LIBDIR'))"`
|
||||
+AC_SUBST([PYTHON_LDFLAGS],["$PYTHON_LDFLAGS"])
|
||||
])
|
||||
|
||||
dnl
|
||||
--
|
||||
1.7.8.6
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools eapi7-ver eutils gnome2 python-r1
|
||||
|
||||
# This ebuild does nothing -- we just want to get the pkgconfig file installed
|
||||
MY_PN="gnome-python-extras"
|
||||
DESCRIPTION="Provides python the base files for the Gnome Python Desktop bindings"
|
||||
HOMEPAGE="http://pygtk.org/"
|
||||
PVP="$(ver_cut 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="0"
|
||||
RESTRICT="test"
|
||||
|
||||
# From the gnome-python-extras eclass
|
||||
RDEPEND=">=x11-libs/gtk+-2.4:2
|
||||
>=dev-libs/glib-2.6:2
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/pygtk-2.10.3:2[${PYTHON_USEDEP}]
|
||||
!<=dev-python/gnome-python-extras-2.19.1-r2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gnome-base/gnome-common"
|
||||
# eautoreconf needs gnome-base/gnome-common
|
||||
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
|
||||
eautoreconf
|
||||
python_setup
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-allbindings
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -520,7 +520,6 @@ sci-physics/espresso++
|
||||
# No reverse dependencies.
|
||||
# Removal in 30 days. Bug #713566.
|
||||
dev-python/gnome-python-desktop-base
|
||||
dev-python/gnome-python-extras-base
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2020-03-14)
|
||||
# Breaks at least dev-games/simgear right now, bug #709878.
|
||||
|
||||
Reference in New Issue
Block a user