summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-11-21 13:52:22 +0000
committerBen de Groot <yngwin@gentoo.org>2008-11-21 13:52:22 +0000
commit890de443888f581777887c549a1b4485b54e0aa6 (patch)
tree4bd4104b27c2e115cd9ae40536074d7e2d607179 /dev-python
parentdon't dodoc on scribus, scribus-buildsystem already installs the docs (diff)
downloadgentoo-2-890de443888f581777887c549a1b4485b54e0aa6.tar.gz
gentoo-2-890de443888f581777887c549a1b4485b54e0aa6.tar.bz2
gentoo-2-890de443888f581777887c549a1b4485b54e0aa6.zip
Version bump
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-hh5 i686)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sip/ChangeLog7
-rw-r--r--dev-python/sip/sip-4.7.9.ebuild59
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog
index 7ec085f68f47..2f04a0d5f11e 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.124 2008/10/28 11:56:18 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.125 2008/11/21 13:52:22 yngwin Exp $
+
+*sip-4.7.9 (21 Nov 2008)
+
+ 21 Nov 2008; Ben de Groot <yngwin@gentoo.org> +sip-4.7.9.ebuild:
+ Version bump
28 Oct 2008; Ali Polatel <hawking@gentoo.org> sip-4.2.1.ebuild,
sip-4.2.1-r1.ebuild, sip-4.6.ebuild, sip-4.7.1.ebuild, sip-4.7.3.ebuild,
diff --git a/dev-python/sip/sip-4.7.9.ebuild b/dev-python/sip/sip-4.7.9.ebuild
new file mode 100644
index 000000000000..cc9916973818
--- /dev/null
+++ b/dev-python/sip/sip-4.7.9.ebuild
@@ -0,0 +1,59 @@
+# 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.9.ebuild,v 1.1 2008/11/21 13:52:22 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() {
+ python_need_rebuild
+ 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 "$(python_get_sitedir)"/sip*.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}