summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-11-25 14:14:40 +0000
committerJustin Lecher <jlec@gentoo.org>2010-11-25 14:14:40 +0000
commit1368756574afe78dd7c7fed201c1dc8a0ba5584c (patch)
treeebb27a2761f8098d70abecff9965c0c69b385159 /dev-python/gdmodule
parentVersion bump wrt bug 346739 (diff)
downloadhistorical-1368756574afe78dd7c7fed201c1dc8a0ba5584c.tar.gz
historical-1368756574afe78dd7c7fed201c1dc8a0ba5584c.tar.bz2
historical-1368756574afe78dd7c7fed201c1dc8a0ba5584c.zip
Do not link against uneeded libs, #346751, thanks cschwan for reporting
Package-Manager: portage-2.2.0_alpha5/cvs/Linux x86_64
Diffstat (limited to 'dev-python/gdmodule')
-rw-r--r--dev-python/gdmodule/ChangeLog8
-rw-r--r--dev-python/gdmodule/Manifest14
-rw-r--r--dev-python/gdmodule/files/0.56-libs.patch32
-rw-r--r--dev-python/gdmodule/gdmodule-0.56-r1.ebuild30
4 files changed, 82 insertions, 2 deletions
diff --git a/dev-python/gdmodule/ChangeLog b/dev-python/gdmodule/ChangeLog
index 9f455c3a9485..3dd89e33c15d 100644
--- a/dev-python/gdmodule/ChangeLog
+++ b/dev-python/gdmodule/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/gdmodule
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gdmodule/ChangeLog,v 1.2 2010/11/10 17:45:31 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gdmodule/ChangeLog,v 1.3 2010/11/25 14:14:40 jlec Exp $
+
+*gdmodule-0.56-r1 (25 Nov 2010)
+
+ 25 Nov 2010; Justin Lecher <jlec@gentoo.org> +files/0.56-libs.patch,
+ +gdmodule-0.56-r1.ebuild:
+ Do not link against uneeded libs, #346751, thanks cschwan for reporting
10 Nov 2010; Fabian Groffen <grobian@gentoo.org> gdmodule-0.56.ebuild:
Marked ~x86-linux, ~ppc-macos, bug #341991
diff --git a/dev-python/gdmodule/Manifest b/dev-python/gdmodule/Manifest
index 2c57e52204ce..6de63d744052 100644
--- a/dev-python/gdmodule/Manifest
+++ b/dev-python/gdmodule/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 0.56-libs.patch 813 RMD160 8da4d35b293698a606c0946c6568f33795ba435f SHA1 c456dac119e17abcf322cf1231390658980f158f SHA256 9c07725c983abcccb42df3d3f615d5cc95bc247613701e556cb079878f38a71c
DIST gdmodule-0.56.tar.gz 48748 RMD160 fb3c2e77a59840272d12c786d187b096e1eec53d SHA1 519a64e14897599d879b82a5f5b0f308a14826e3 SHA256 a3a2fd6378e32f10a348c4db428a91e2c1adc28de6ec35c0619a52e379f4edec
+EBUILD gdmodule-0.56-r1.ebuild 747 RMD160 15b49d790390a5cf306702a34e1934367427aaed SHA1 c6961ed66326b4ce182024ee9c4ee23040051610 SHA256 48d3d09167687f6ed9ba1d1a4030246866f11da48f12e1d68054a4fd06279224
EBUILD gdmodule-0.56.ebuild 701 RMD160 16bb7be6fbcc2c04d1c5abeec7f3a196b958527d SHA1 87b9c7f0c83429b23171003d2ed99c72a8ccf1f1 SHA256 162c88593a921993b33df63ba3ee67e4a35c283595b533a3f6761c893527b7ab
-MISC ChangeLog 480 RMD160 bdedf42eef67d70f99611a1ef8cac60270d70637 SHA1 484ad6668befa6bc8d80af9fcfb223408009ceba SHA256 043f9414632e972e233102229d54cfa882817b9ef5d546db29f358548d0f8044
+MISC ChangeLog 684 RMD160 ee1402372ff10f297526d7b0c4c0067d6b711e2e SHA1 8f0dbbc0b1a53737e4c8ddd50b8b642afa3fe18b SHA256 528bbcb6075a373fd1cea6dd418256b90fc8bd34a8ffb05fe6c3d69373b84232
MISC metadata.xml 265 RMD160 f5ae95bca7157e7cfd7c06d1ef8da4d4f345c103 SHA1 a17cb8d4edcdba95541a639514dd18612cc8ba38 SHA256 c1bb4042c02e9f553e826f5348138ca9b88ff2138866ba899db418ec2263c1fc
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzub1UACgkQgAnW8HDreRZoGACgqXxz1hzjLNqa5iWVL3gQwgQv
+2+kAoL9haLHYsFTS73LbJaMgw7ay37s0
+=gpvD
+-----END PGP SIGNATURE-----
diff --git a/dev-python/gdmodule/files/0.56-libs.patch b/dev-python/gdmodule/files/0.56-libs.patch
new file mode 100644
index 000000000000..aac6405b3332
--- /dev/null
+++ b/dev-python/gdmodule/files/0.56-libs.patch
@@ -0,0 +1,32 @@
+diff --git a/Setup.py b/Setup.py
+index c6ef27f..8baedc4 100644
+--- a/Setup.py
++++ b/Setup.py
+@@ -40,7 +40,7 @@ def remove(itm, lst):
+ # Unixoid OS's I will just look for the usual suspects.
+
+ libdirs = dirtest([
+- "/usr/local/lib", "/sw/lib", "/usr/lib",
++ "/usr/lib", "/usr/lib64",
+ "/usr/lib/X11", "/usr/X11R6/lib",
+ "/opt/gnome/lib",
+ ])
+@@ -48,7 +48,7 @@ libdirs = dirtest([
+ # include_dirs are also non-portable; same trick here.
+
+ incdirs = dirtest([
+- "/usr/local/include", "/sw/include", "/usr/include",
++ "/usr/include",
+ "/usr/include/X11", "/usr/X11R6/include",
+ "/opt/gnome/include",
+ ])
+@@ -57,9 +57,6 @@ incdirs = dirtest([
+
+ want_libs = [
+ "gd",
+- "jpeg", "png", "gif", "z",
+- "X11", "Xpm",
+- "ttf", "freetype",
+ ]
+
+ libs = filetest(libdirs, want_libs)
diff --git a/dev-python/gdmodule/gdmodule-0.56-r1.ebuild b/dev-python/gdmodule/gdmodule-0.56-r1.ebuild
new file mode 100644
index 000000000000..30524bff7e41
--- /dev/null
+++ b/dev-python/gdmodule/gdmodule-0.56-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gdmodule/gdmodule-0.56-r1.ebuild,v 1.1 2010/11/25 14:14:40 jlec Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="Python extensions for gd"
+HOMEPAGE="http://newcenturycomputers.net/projects/gdmodule.html"
+SRC_URI="http://newcenturycomputers.net/projects/download.cgi/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-linux ~ppc-macos"
+IUSE=""
+
+RDEPEND="media-libs/gd"
+DEPEND="${RDEPEND}"
+
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-libs.patch
+ mv Setup.py setup.py
+ distutils_src_prepare
+}