diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/gtkspell-python |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/gtkspell-python')
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/gtkspell-python/Manifest b/dev-python/gtkspell-python/Manifest new file mode 100644 index 000000000000..4131cd7faaba --- /dev/null +++ b/dev-python/gtkspell-python/Manifest @@ -0,0 +1,6 @@ +AUX gtkspell-python-2.25.3-python-libs.patch 2243 SHA256 649b7bdede190923a504b3a598ac9e2003872da8857a152305048a628795c187 SHA512 f9ddacdcffaaf6933e3ab28f843892a4754677a29987d512ebc3810245fb793f8a242b479e47fd63dc7756c817a510e04cda2548aa6bb4d88ce4649c2b1759ed WHIRLPOOL 015c9bb798dadbc0d64143a151bd2a3d1d978a77348e07473f675ccef6b0e5b722eaf81462e48b06c45176d51b698b28834cb2ef4afc9fb2b00e7a8ba5f98b75 +DIST gnome-python-extras-2.25.3.tar.bz2 370489 SHA256 ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c SHA512 6994b8b5d6ccc009edc7ddfad373b9164d8162f1007972652f6086dca30cac6941ab68ef467d15c972ab05c4ae0e19ec72edc2643636d22a01a3f5a719251467 WHIRLPOOL b0adfcef8bbb978d063a932393e17de9c8c519194f40085ecd03824ec4fb4421c84e0a4853a5a2d9fc40c94d8c0c261828447ac5fd69cff4ece39c52fc833590 +EBUILD gtkspell-python-2.25.3-r1.ebuild 898 SHA256 7516a712f0ba14925b9a6d2f4c433be7f49f660e0c9ab93fcf270f8de1b37fb6 SHA512 75b411bf4fc5722c600f1f0a5520ddb20a39b7f5bff9c9d8b3bf4a53dd079653fbcec4a87bec2a5cc35eee978a7fdea612a09edc888de469cdc7691064dcbf5c WHIRLPOOL dc5420cc8c2ace58c1c839facf8e347c012e12680ed701c6faf52a48006b5fbf17661c4058eb24953420e391a80d045833a44f8159ba2e42e661e6d879fa7b11 +MISC ChangeLog 2512 SHA256 6347b79e956f6ec8b60e2225b04e20ce4d5fc1037fa35d0b8ee102e4402009e2 SHA512 e4a0bf6ce7e9a85f279c86408976e4608dd84efaf07e9c15cbbed1da1455c86f18e51613a867d000d0ecc771a6a2d68de5ff194f6a3837a26f12fca73a75db22 WHIRLPOOL 368c6da1614234e5c3d23541b18c07789534a79b0e2a1f821f67b9e0892702c263eab45192c01aeacff256d261dc3b27fd35946cea5cd6ab94276818f47c9a5a +MISC ChangeLog-2015 4436 SHA256 72698d97f475f96462c46c54ae38a510c62c039c17a67195fe9128d2df3b1bbb SHA512 7676aa93dfde071836c809a65da01991bae2383670e11f5492048ac47e2ed1036441d09009be49a401ed7a431f55c14131f426e323d0b8a127905862fbed53a5 WHIRLPOOL 9186f15d43c6141fb406c44ae9ff7d8f3eeac4683eaf7c8e5ac7a89ad84dc593c22c9c8f26300a7a39f261e8bea98ca1176b147c1843b5d4d886032fc5fc3a5f +MISC metadata.xml 346 SHA256 4b87f1154df42a81076572760417393762ac1c76a6c1cec8d16c31049097d48b SHA512 e7e631f5ebe3a81d0431366152d6f7a2d21958a031746d6b2fd6ac9ef3f145d78fb30d1014b0912e9d720b3be7c6d2fdc544bb840a9f12fddf37ffdcf65933bd WHIRLPOOL 1d51841db0de7eaec1b024566af146da5323306447445f18c771cb90030c664ce376db8a3bb59d39f125e9abd9dc367fad98a8abfb2acc7bbfe4855b7695cced diff --git a/dev-python/gtkspell-python/files/gtkspell-python-2.25.3-python-libs.patch b/dev-python/gtkspell-python/files/gtkspell-python-2.25.3-python-libs.patch new file mode 100644 index 000000000000..ab691272cbb6 --- /dev/null +++ b/dev-python/gtkspell-python/files/gtkspell-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/gtkspell-python/gtkspell-python-2.25.3-r1.ebuild b/dev-python/gtkspell-python/gtkspell-python-2.25.3-r1.ebuild new file mode 100644 index 000000000000..7e38b416a754 --- /dev/null +++ b/dev-python/gtkspell-python/gtkspell-python-2.25.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +GNOME_ORG_MODULE="gnome-python-extras" +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils gnome-python-common-r1 + +DESCRIPTION="GtkSpell bindings for Python" +# The LICENSE with gtkspell-3 is LGPL and there is no way to express this in +# an ebuild, currently. Punt till we actually have to face the issue. +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="doc examples" + +RDEPEND="app-text/gtkspell:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + gnome-base/gnome-common" +# eautoreconf needs gnome-base/gnome-common + +EXAMPLES=( examples/gtkspell/. ) + +src_prepare() { + epatch "${FILESDIR}/${P}-python-libs.patch" #344231 + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + eautoreconf + gnome-python-common-r1_src_prepare +} diff --git a/dev-python/gtkspell-python/metadata.xml b/dev-python/gtkspell-python/metadata.xml new file mode 100644 index 000000000000..6cd5da0617a4 --- /dev/null +++ b/dev-python/gtkspell-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> |