diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/egg-python | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/egg-python')
-rw-r--r-- | dev-python/egg-python/Manifest | 4 | ||||
-rw-r--r-- | dev-python/egg-python/egg-python-2.25.3-r1.ebuild | 34 | ||||
-rw-r--r-- | dev-python/egg-python/files/egg-python-2.25.3-python-libs.patch | 59 | ||||
-rw-r--r-- | dev-python/egg-python/metadata.xml | 12 |
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/egg-python/Manifest b/dev-python/egg-python/Manifest new file mode 100644 index 000000000000..bd775ea54ef1 --- /dev/null +++ b/dev-python/egg-python/Manifest @@ -0,0 +1,4 @@ +AUX egg-python-2.25.3-python-libs.patch 2243 BLAKE2B 05e6d4383c91237fe248afbbe3e04f111b60f3119bcddb99c72adeb671c973379c6c241bdf184dc9dc81b67e347582f631dad175ca39036a3fe2a3f415a659fa SHA512 f9ddacdcffaaf6933e3ab28f843892a4754677a29987d512ebc3810245fb793f8a242b479e47fd63dc7756c817a510e04cda2548aa6bb4d88ce4649c2b1759ed +DIST gnome-python-extras-2.25.3.tar.bz2 370489 BLAKE2B 9ca41f953ed75009f732c811372a560a1fcaf8e81bf4187117c40e61009296df62ed413cfc47194329bb92053762748cd14c3849d0f4a0fe7ccfff8ad72c3529 SHA512 6994b8b5d6ccc009edc7ddfad373b9164d8162f1007972652f6086dca30cac6941ab68ef467d15c972ab05c4ae0e19ec72edc2643636d22a01a3f5a719251467 +EBUILD egg-python-2.25.3-r1.ebuild 1024 BLAKE2B 34b02b912570d81381a33a3770e06163bd3d022f37c20ee0da8a53a289a5fbb98832490b6962d9c7d3da826bb1e27e6dab8370330ac77ecbb5fdfb1e360bf29a SHA512 a06a9d650726f8786d863f18c0616357179127b8ec47fbf50feac3ce5f313fc12f191b9a8fa4989e0b8185d55129ac5ce81f216c22ad09021d19e0415245cb3f +MISC metadata.xml 364 BLAKE2B 3e552b7268e94c998b77887abc52fc4e40d3d00a58631b8369c63d47d0b0d5a7248738d7149fbba2023752efb6407280afc49b3876fafc686086110d4a106e4f SHA512 6047332255074115daadcfdfe865fc811c09463a5f4e9f85ae36c52f705b413ac51d4281c18d09652115551603f8c5b1e28bb41cb8db3174d6cb4d9a0c368adf diff --git a/dev-python/egg-python/egg-python-2.25.3-r1.ebuild b/dev-python/egg-python/egg-python-2.25.3-r1.ebuild new file mode 100644 index 000000000000..03a9cdf3f499 --- /dev/null +++ b/dev-python/egg-python/egg-python-2.25.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +# We don't support the egg.recent bindings that are also provided - they are +# deprecated, have deps we don't really want and there are no users in-tree. +GNOME_ORG_MODULE="gnome-python-extras" +G_PY_BINDINGS="eggtray" +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils gnome-python-common-r1 + +DESCRIPTION="EggTrayIcon bindings for Python" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="examples" + +RDEPEND=">=dev-python/libbonobo-python-2.22.1[${PYTHON_USEDEP}] + >=dev-python/libgnome-python-2.22.1[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig + gnome-base/gnome-common" +# eautoreconf needs gnome-base/gnome-common + +EXAMPLES=( examples/egg/trayicon.py ) + +src_prepare() { + epatch "${FILESDIR}/${P}-python-libs.patch" #344231 + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + eautoreconf + gnome-python-common-r1_src_prepare +} diff --git a/dev-python/egg-python/files/egg-python-2.25.3-python-libs.patch b/dev-python/egg-python/files/egg-python-2.25.3-python-libs.patch new file mode 100644 index 000000000000..ab691272cbb6 --- /dev/null +++ b/dev-python/egg-python/files/egg-python-2.25.3-python-libs.patch @@ -0,0 +1,59 @@ +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 + diff --git a/dev-python/egg-python/metadata.xml b/dev-python/egg-python/metadata.xml new file mode 100644 index 000000000000..431bd550cb73 --- /dev/null +++ b/dev-python/egg-python/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> +<maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> |