summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-09-06 14:16:53 +0000
committerBen de Groot <yngwin@gentoo.org>2008-09-06 14:16:53 +0000
commit05c9b02561183e7bb7ee83830a2d9a6c9456630c (patch)
tree5ae10e708c5ea861fc651f53489a7df73ee42b56 /dev-python
parentStable on alpha wrt bug #236131 (diff)
downloadgentoo-2-05c9b02561183e7bb7ee83830a2d9a6c9456630c.tar.gz
gentoo-2-05c9b02561183e7bb7ee83830a2d9a6c9456630c.tar.bz2
gentoo-2-05c9b02561183e7bb7ee83830a2d9a6c9456630c.zip
sip version bump
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-hh1 i686)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sip/ChangeLog7
-rw-r--r--dev-python/sip/sip-4.7.7.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog
index 4d670e75c67f..813e0b705260 100644
--- a/dev-python/sip/ChangeLog
+++ b/dev-python/sip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sip
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.121 2008/08/11 19:08:06 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.122 2008/09/06 14:16:53 yngwin Exp $
+
+*sip-4.7.7 (06 Sep 2008)
+
+ 06 Sep 2008; Ben de Groot <yngwin@gentoo.org> +sip-4.7.7.ebuild:
+ Version bump. Fixes bug 234557.
11 Aug 2008; Ben de Groot <yngwin@gentoo.org> sip-4.2.1.ebuild,
sip-4.2.1-r1.ebuild:
diff --git a/dev-python/sip/sip-4.7.7.ebuild b/dev-python/sip/sip-4.7.7.ebuild
new file mode 100644
index 000000000000..fe088914ea45
--- /dev/null
+++ b/dev-python/sip/sip-4.7.7.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.7.7.ebuild,v 1.1 2008/09/06 14:16:53 yngwin Exp $
+
+NEED_PYTHON=2.3
+
+inherit python toolchain-funcs versionator multilib
+
+MY_P=${P/_}
+
+DESCRIPTION="A tool for generating bindings for C++ classes so that they can be used by Python"
+HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro"
+SRC_URI="http://www.riverbankcomputing.com/static/Downloads/sip$(get_major_version)/${MY_P}.tar.gz"
+
+LICENSE="sip"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND=""
+RDEPEND=""
+
+src_compile(){
+ python_version
+
+ local myconf
+ use debug && myconf="${myconf} -u"
+
+ "${python}" configure.py \
+ -b "/usr/bin" \
+ -d "/usr/$(get_libdir)/python${PYVER}/site-packages" \
+ -e "/usr/include/python${PYVER}" \
+ -v "/usr/share/sip" \
+ ${myconf} \
+ CXXFLAGS_RELEASE="" CFLAGS_RELEASE="" LFLAGS_RELEASE="" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}" \
+ CC=$(tc-getCC) CXX=$(tc-getCXX) \
+ LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX) \
+ STRIP="true" || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog NEWS README TODO doc/sipref.txt
+ dohtml doc/*
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_compile /usr/$(get_libdir)/python${pyver}/sip*.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}