diff options
author | Ali Polatel <hawking@gentoo.org> | 2007-11-20 01:03:38 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2007-11-20 01:03:38 +0000 |
commit | a9773b44f128b56e62373e54368132b28b4cc02d (patch) | |
tree | e320c40ddee28708511e14f9fdde54ee9226c0b1 /dev-python/pythonmagick | |
parent | convert pkg_postinst() magic to ROOT variable (diff) | |
download | historical-a9773b44f128b56e62373e54368132b28b4cc02d.tar.gz historical-a9773b44f128b56e62373e54368132b28b4cc02d.tar.bz2 historical-a9773b44f128b56e62373e54368132b28b4cc02d.zip |
version bump. thanks to Chris Mayo, bug 190678.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-python/pythonmagick')
-rw-r--r-- | dev-python/pythonmagick/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pythonmagick/Manifest | 26 | ||||
-rw-r--r-- | dev-python/pythonmagick/files/digest-pythonmagick-0.7 | 3 | ||||
-rw-r--r-- | dev-python/pythonmagick/pythonmagick-0.7.ebuild | 60 |
4 files changed, 91 insertions, 5 deletions
diff --git a/dev-python/pythonmagick/ChangeLog b/dev-python/pythonmagick/ChangeLog index 93c008a450c4..77f184570ca5 100644 --- a/dev-python/pythonmagick/ChangeLog +++ b/dev-python/pythonmagick/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pythonmagick # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/ChangeLog,v 1.8 2007/06/06 19:45:35 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/ChangeLog,v 1.9 2007/11/20 01:03:38 hawking Exp $ + +*pythonmagick-0.7 (20 Nov 2007) + + 20 Nov 2007; Ali Polatel <hawking@gentoo.org> +pythonmagick-0.7.ebuild: + version bump. thanks to Chris Mayo, bug 190678. 06 Jun 2007; Tiziano Müller <dev-zero@gentoo.org> pythonmagick-0.6.ebuild: diff --git a/dev-python/pythonmagick/Manifest b/dev-python/pythonmagick/Manifest index 053deb647d24..8cd1c2e677d1 100644 --- a/dev-python/pythonmagick/Manifest +++ b/dev-python/pythonmagick/Manifest @@ -1,16 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX pythonmagick-0.6-gentoo_misc_fixes.patch 745 RMD160 56e53df20162729f38bb30c3ec69982a5816e14b SHA1 cc0d60de95e38776ce5bc5a5ba7d98294f5116ba SHA256 15d60ffa62c39b5677b441fe6e918f2a0f215ed999b2cfdb57143fa7e27a9d68 MD5 fd847f7497e1bd3ef2c2cad931999979 files/pythonmagick-0.6-gentoo_misc_fixes.patch 745 RMD160 56e53df20162729f38bb30c3ec69982a5816e14b files/pythonmagick-0.6-gentoo_misc_fixes.patch 745 SHA256 15d60ffa62c39b5677b441fe6e918f2a0f215ed999b2cfdb57143fa7e27a9d68 files/pythonmagick-0.6-gentoo_misc_fixes.patch 745 DIST PythonMagick-0.6.tar.gz 19258 RMD160 295b19ae7dd4c60292f7c9eeb39c6644035b9b8a SHA1 498e000d0e59fe7251b3660a130065e97cdf33fc SHA256 487a2253a6843d32023daa124b0e6e5f82d5ec0c8d5213214184066734073b72 +DIST PythonMagick-0.7.tar.gz 361197 RMD160 540332a24829e4510e56220d61a66e4e1cad0370 SHA1 86c32774fbca30177cadd027fffcea4a174e1929 SHA256 e15354bdb3aeb371f483ec8f4b8536f5baca22d06fdd05b188517bd6be9fa394 EBUILD pythonmagick-0.6.ebuild 1335 RMD160 54d6dd65f386a3b344c62063bc3e95321819b05b SHA1 54dec7186d51712faa1179b6d36ee37901975caa SHA256 f251ab3c1646cab8dabe205c1c249dd31c0e18432f2d6e6c8cd336b0f4936c0c MD5 44be41a32014c1da71ad0350a996ce4a pythonmagick-0.6.ebuild 1335 RMD160 54d6dd65f386a3b344c62063bc3e95321819b05b pythonmagick-0.6.ebuild 1335 SHA256 f251ab3c1646cab8dabe205c1c249dd31c0e18432f2d6e6c8cd336b0f4936c0c pythonmagick-0.6.ebuild 1335 -MISC ChangeLog 1215 RMD160 ac3d557057b5ccb39a51108313c8382babf0de78 SHA1 966ad56027bb5eef321d61291c9d53e3e9910cf4 SHA256 d23cdb1fabd3c244d6282522d845ff1233c558ef48226374f2dc44ac984061ef -MD5 dd5c264334fb6834cebdfc28cb75e625 ChangeLog 1215 -RMD160 ac3d557057b5ccb39a51108313c8382babf0de78 ChangeLog 1215 -SHA256 d23cdb1fabd3c244d6282522d845ff1233c558ef48226374f2dc44ac984061ef ChangeLog 1215 +EBUILD pythonmagick-0.7.ebuild 1521 RMD160 667fbea62438cf7f87c6d9e03a2f242f63570c4e SHA1 1728f3dc83c52b069e55ebf34e9339f7e15fd9ce SHA256 2a50757de3e7ac34abe92755e601773502ac8912fb21eec6a01fa0228aa829ba +MD5 f4deb2a84fb27762716f9ebad76f0708 pythonmagick-0.7.ebuild 1521 +RMD160 667fbea62438cf7f87c6d9e03a2f242f63570c4e pythonmagick-0.7.ebuild 1521 +SHA256 2a50757de3e7ac34abe92755e601773502ac8912fb21eec6a01fa0228aa829ba pythonmagick-0.7.ebuild 1521 +MISC ChangeLog 1372 RMD160 f9d63f4160ca42b79f20c7219e039ee3ddab33c2 SHA1 227330ed16f740ebd99549dbc45d8cc6b118327d SHA256 44540de5383233fcd645342dc66b627b68acaea97a191eab2aeeb0e14c419ec8 +MD5 a205649bafde7e94eec9d1b19d4dc0f5 ChangeLog 1372 +RMD160 f9d63f4160ca42b79f20c7219e039ee3ddab33c2 ChangeLog 1372 +SHA256 44540de5383233fcd645342dc66b627b68acaea97a191eab2aeeb0e14c419ec8 ChangeLog 1372 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 @@ -18,3 +26,13 @@ SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata MD5 7773661304c79a49879a80a14b95c8df files/digest-pythonmagick-0.6 247 RMD160 06cd295d07773673cde2e6a4a41d9ef2fe558ff6 files/digest-pythonmagick-0.6 247 SHA256 5b26fe6312eaf0b9d510e08e3b54e9b83a919219563310770c82e7f3375be4a5 files/digest-pythonmagick-0.6 247 +MD5 ac01658422d7223bad100688a4b618c1 files/digest-pythonmagick-0.7 250 +RMD160 3d267d728d949e3beb428a443a0d020b58cbba15 files/digest-pythonmagick-0.7 250 +SHA256 f8cda40ec91617bd023ae0a75841d10c62ed83d46a7b18ec8251538e890faf4e files/digest-pythonmagick-0.7 250 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux) + +iD8DBQFHQjJwQU4yORhF8iARAvIxAJwIZ/ZiKTCLMW+TRpZfkwe32H0LVACeLq4t +EX4b6VnBWVxYgqyu/G2pSl8= +=eT1X +-----END PGP SIGNATURE----- diff --git a/dev-python/pythonmagick/files/digest-pythonmagick-0.7 b/dev-python/pythonmagick/files/digest-pythonmagick-0.7 new file mode 100644 index 000000000000..afb90d84eac7 --- /dev/null +++ b/dev-python/pythonmagick/files/digest-pythonmagick-0.7 @@ -0,0 +1,3 @@ +MD5 6861287de2c3ea6b8716079d99b5ba43 PythonMagick-0.7.tar.gz 361197 +RMD160 540332a24829e4510e56220d61a66e4e1cad0370 PythonMagick-0.7.tar.gz 361197 +SHA256 e15354bdb3aeb371f483ec8f4b8536f5baca22d06fdd05b188517bd6be9fa394 PythonMagick-0.7.tar.gz 361197 diff --git a/dev-python/pythonmagick/pythonmagick-0.7.ebuild b/dev-python/pythonmagick/pythonmagick-0.7.ebuild new file mode 100644 index 000000000000..77042e3fbc35 --- /dev/null +++ b/dev-python/pythonmagick/pythonmagick-0.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/pythonmagick-0.7.ebuild,v 1.1 2007/11/20 01:03:38 hawking Exp $ + +inherit eutils python multilib toolchain-funcs + +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="as-is" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=media-gfx/imagemagick-1.1.7 + >=dev-libs/boost-1.34.0" +DEPEND="${RDEPEND} + dev-util/scons" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-0.6-gentoo_misc_fixes.patch" +} + +src_compile() { + python_version + sed -i \ + -e "s#\(BOOST\)=.*#\1='/usr/include/boost'#" \ + -e "s#\(BOOSTLIBPATH\)=.*#\1='/usr/lib'#" \ + -e "s#\(PYTHON_INCLUDE\)=.*#\1='/usr/include/python${PYVER}'#" \ + -e "s#\(Environment(\)#\1 CXX='$(tc-getCXX)',#" \ + -e "s#\(CPPFLAGS\)=#\1='${CXXFLAGS}'.split()+#" \ + SConstruct || die "sed failed" + + # FIXME: Until we have a var or function for it + numjobs=$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' <<< ${MAKEOPTS}) + + scons mode=release ${numjobs} || die "scons failed" +} + +src_install() { + insinto /usr/lib/python${PYVER}/site-packages + doins -r PythonMagick +} + +pkg_postinst() { + python_version + python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/${MY_PN} +} + +pkg_postrm() { + python_mod_cleanup +} |