summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-16 13:09:48 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-16 13:09:48 +0000
commit3166deb85e3bf7bb3762b5b59c0eb5c794942bc3 (patch)
treeaf61ccc13fea0745ae406516a34ff9d0c44b6644 /dev-python/pythonmagick
parentx11-apps/xmessage: remove xprint support (see bug #254874) (diff)
downloadgentoo-2-3166deb85e3bf7bb3762b5b59c0eb5c794942bc3.tar.gz
gentoo-2-3166deb85e3bf7bb3762b5b59c0eb5c794942bc3.tar.bz2
gentoo-2-3166deb85e3bf7bb3762b5b59c0eb5c794942bc3.zip
Version bump, with fix for as-needed
(Portage version: 2.2_rc22/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-python/pythonmagick')
-rw-r--r--dev-python/pythonmagick/ChangeLog11
-rw-r--r--dev-python/pythonmagick/files/pythonmagick-0.8-as-needed.patch15
-rw-r--r--dev-python/pythonmagick/metadata.xml3
-rw-r--r--dev-python/pythonmagick/pythonmagick-0.8.ebuild38
4 files changed, 65 insertions, 2 deletions
diff --git a/dev-python/pythonmagick/ChangeLog b/dev-python/pythonmagick/ChangeLog
index a8955bd059e0..03bb9662b91e 100644
--- a/dev-python/pythonmagick/ChangeLog
+++ b/dev-python/pythonmagick/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pythonmagick
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/ChangeLog,v 1.14 2008/11/16 16:33:27 flameeyes Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/ChangeLog,v 1.15 2009/01/16 13:09:48 bicatali Exp $
+
+*pythonmagick-0.8 (16 Jan 2009)
+
+ 16 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/pythonmagick-0.8-as-needed.patch, metadata.xml,
+ +pythonmagick-0.8.ebuild:
+ Version bump, with fix for as-needed
16 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
pythonmagick-0.7-r1.ebuild:
diff --git a/dev-python/pythonmagick/files/pythonmagick-0.8-as-needed.patch b/dev-python/pythonmagick/files/pythonmagick-0.8-as-needed.patch
new file mode 100644
index 000000000000..0911fc43ea0c
--- /dev/null
+++ b/dev-python/pythonmagick/files/pythonmagick-0.8-as-needed.patch
@@ -0,0 +1,15 @@
+--- Makefile.am.orig 2009-01-16 10:31:46.177792880 +0000
++++ Makefile.am 2009-01-16 10:31:21.412531252 +0000
+@@ -17,10 +17,9 @@
+ nodist_EXTRA__PythonMagick_la_SOURCES = dummy.cpp
+
+ # Flags are always good to have
+-_PythonMagick_la_LDFLAGS = -avoid-version -module $(BOOST_LDFLAGS) $(BOOST_PYTHON_LIBS) $(MAGICKPP_LIBS) $(MAGICK_LIBS) -l$(PYTHON_LIB)
++_PythonMagick_la_LDFLAGS = -avoid-version -module
+
+ # And the libraries to include
+-_PythonMagick_la_LIBADD = pythonmagick_src/libpymagick.la \
+- helpers_src/libhelper.la
++_PythonMagick_la_LIBADD = pythonmagick_src/libpymagick.la helpers_src/libhelper.la -l$(BOOST_PYTHON_LIB) $(BOOST_LDFLAGS) $(MAGICKPP_LIBS) $(MAGICK_LIBS) -l$(PYTHON_LIB)
+
+ EXTRA_DIST = autogen.pl SConstruct pyste_src
diff --git a/dev-python/pythonmagick/metadata.xml b/dev-python/pythonmagick/metadata.xml
index de483c53568f..383b2c5f6ef9 100644
--- a/dev-python/pythonmagick/metadata.xml
+++ b/dev-python/pythonmagick/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
+<longdescription lang="en">
+ An object-oriented Python interface to ImageMagick.
+</longdescription>
</pkgmetadata>
diff --git a/dev-python/pythonmagick/pythonmagick-0.8.ebuild b/dev-python/pythonmagick/pythonmagick-0.8.ebuild
new file mode 100644
index 000000000000..8d331dec0018
--- /dev/null
+++ b/dev-python/pythonmagick/pythonmagick-0.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/pythonmagick-0.8.ebuild,v 1.1 2009/01/16 13:09:48 bicatali Exp $
+
+NEED_PYTHON=2.5
+EAPI=2
+inherit python flag-o-matic autotools
+
+MY_PN=PythonMagick
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Python bindings for ImageMagick"
+HOMEPAGE="http://www.imagemagick.org/script/api.php"
+SRC_URI="http://www.imagemagick.org/download/python/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-gfx/imagemagick-6.2
+ >=dev-libs/boost-1.34.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+PYTHON_MODNAME="${MY_PN}"
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ AT_M4DIR="m4" eautoreconf
+ append-flags $(python-config --includes)
+}
+
+src_install() {
+ python_need_rebuild
+ emake DESTDIR="${D}" install || die "emake install failed"
+}