summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sip')
-rw-r--r--dev-python/sip/ChangeLog7
-rw-r--r--dev-python/sip/files/digest-sip-4.7.33
-rw-r--r--dev-python/sip/sip-4.7.3.ebuild57
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog
index 3604295e2456..1c1d0f9a190f 100644
--- a/dev-python/sip/ChangeLog
+++ b/dev-python/sip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sip
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.108 2007/12/01 13:47:48 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.109 2007/12/26 00:50:24 caleb Exp $
+
+*sip-4.7.3 (26 Dec 2007)
+
+ 26 Dec 2007; Caleb Tennis <caleb@gentoo.org> +sip-4.7.3.ebuild:
+ Version bump
01 Dec 2007; nixnut <nixnut@gentoo.org> sip-4.7.1.ebuild:
Stable on ppc wrt bug 200630
diff --git a/dev-python/sip/files/digest-sip-4.7.3 b/dev-python/sip/files/digest-sip-4.7.3
new file mode 100644
index 000000000000..83652bba6f97
--- /dev/null
+++ b/dev-python/sip/files/digest-sip-4.7.3
@@ -0,0 +1,3 @@
+MD5 a792c58d4d211c65949dac6005eb652b sip-4.7.3.tar.gz 446375
+RMD160 7743de67ba947ef4730cf6c902d1047fb2741872 sip-4.7.3.tar.gz 446375
+SHA256 8bc0a9d2ab565abb307ffd57e07d813c5b2e14a445d5ee16d96e132e0023ac13 sip-4.7.3.tar.gz 446375
diff --git a/dev-python/sip/sip-4.7.3.ebuild b/dev-python/sip/sip-4.7.3.ebuild
new file mode 100644
index 000000000000..1ba8ff4a0b05
--- /dev/null
+++ b/dev-python/sip/sip-4.7.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.7.3.ebuild,v 1.1 2007/12/26 00:50:24 caleb Exp $
+
+NEED_PYTHON=2.3
+
+inherit python toolchain-funcs versionator multilib
+
+MY_P=${P/_}
+
+DESCRIPTION="SIP is a tool for generating bindings for C++ classes so that they can be used by Python."
+HOMEPAGE="http://www.riverbankcomputing.co.uk/sip/"
+SRC_URI="http://www.riverbankcomputing.com/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="" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ CC=$(tc-getCC) CXX=$(tc-getCXX) \
+ LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX) \
+ STRIP="/bin/true" || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog NEWS README THANKS TODO doc/sipref.txt
+ dohtml doc/*
+}
+
+pkg_postinst() {
+ python_mod_optimize
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}