summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-11-03 10:24:19 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-11-03 10:24:19 +0000
commita17d8c1cbe6fdbb41ccac64af63c4da9945da0fd (patch)
tree497fb776ae81ef1f800e52ae33a2c19550cc3bf9 /dev-python/pythonmagick
parentMarked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo, Ian "... (diff)
downloadgentoo-2-a17d8c1cbe6fdbb41ccac64af63c4da9945da0fd.tar.gz
gentoo-2-a17d8c1cbe6fdbb41ccac64af63c4da9945da0fd.tar.bz2
gentoo-2-a17d8c1cbe6fdbb41ccac64af63c4da9945da0fd.zip
Version bump pythonmagick to 0.9.7 (bug 389229).
(Portage version: 2.1.10.32/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pythonmagick')
-rw-r--r--dev-python/pythonmagick/ChangeLog7
-rw-r--r--dev-python/pythonmagick/pythonmagick-0.9.7.ebuild63
2 files changed, 69 insertions, 1 deletions
diff --git a/dev-python/pythonmagick/ChangeLog b/dev-python/pythonmagick/ChangeLog
index 971126a5d264..d9ee662d4ef6 100644
--- a/dev-python/pythonmagick/ChangeLog
+++ b/dev-python/pythonmagick/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pythonmagick
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/ChangeLog,v 1.30 2011/08/05 22:53:35 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/ChangeLog,v 1.31 2011/11/03 10:24:19 djc Exp $
+
+*pythonmagick-0.9.7 (03 Nov 2011)
+
+ 03 Nov 2011; Dirkjan Ochtman <djc@gentoo.org> +pythonmagick-0.9.7.ebuild:
+ Version bump to 0.9.7 (bug 389229).
05 Aug 2011; Markos Chandras <hwoarang@gentoo.org>
-pythonmagick-0.9.5.ebuild:
diff --git a/dev-python/pythonmagick/pythonmagick-0.9.7.ebuild b/dev-python/pythonmagick/pythonmagick-0.9.7.ebuild
new file mode 100644
index 000000000000..31b25b70ab61
--- /dev/null
+++ b/dev-python/pythonmagick/pythonmagick-0.9.7.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/pythonmagick-0.9.7.ebuild,v 1.1 2011/11/03 10:24:18 djc Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
+PYTHON_EXPORT_PHASE_FUNCTIONS="1"
+
+inherit autotools eutils python
+
+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.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=media-gfx/imagemagick-6.4
+ >=dev-libs/boost-1.35.0[python]"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing")
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.9.1-use_active_python_version.patch"
+ epatch "${FILESDIR}/${PN}-0.9.2-fix_detection_of_python_includedir.patch"
+
+ sed -e "s/AM_PATH_PYTHON(3.1)/AM_PATH_PYTHON(2.6)/" -i configure.ac || die "sed failed"
+
+ eautoreconf
+
+ # Disable byte-compilation.
+ echo "#!/bin/sh" > config/py-compile
+
+ python_src_prepare
+}
+
+src_configure() {
+ python_src_configure --disable-static BOOST_PYTHON_LIB="boost_python"
+}
+
+src_install() {
+ python_src_install
+ python_clean_installation_image
+}
+
+pkg_postinst() {
+ python_mod_optimize PythonMagick
+}
+
+pkg_postrm() {
+ python_mod_cleanup PythonMagick
+}