summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-05-10 15:32:30 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-05-10 15:32:30 +0000
commit751bcf414a4bd1917cdab41aafb8ba87d328dcac (patch)
tree6e4cdcba4a47c62a3477547ca55fcd2969ee70fa /dev-python/sip
parentremove older, probably broken ebuilds (diff)
downloadhistorical-751bcf414a4bd1917cdab41aafb8ba87d328dcac.tar.gz
historical-751bcf414a4bd1917cdab41aafb8ba87d328dcac.tar.bz2
historical-751bcf414a4bd1917cdab41aafb8ba87d328dcac.zip
version bump
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'dev-python/sip')
-rw-r--r--dev-python/sip/ChangeLog7
-rw-r--r--dev-python/sip/files/digest-sip-4.63
-rw-r--r--dev-python/sip/sip-4.6.ebuild57
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog
index e6dd8c6be173..4efc1810d6fd 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.90 2007/04/21 15:22:19 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.91 2007/05/10 15:29:20 caleb Exp $
+
+*sip-4.6 (10 May 2007)
+
+ 10 May 2007; Caleb Tennis <caleb@gentoo.org> +sip-4.6.ebuild:
+ version bump
21 Apr 2007; Raúl Porcel <armin76@gentoo.org> sip-4.5.2-r1.ebuild:
ia64 stable
diff --git a/dev-python/sip/files/digest-sip-4.6 b/dev-python/sip/files/digest-sip-4.6
new file mode 100644
index 000000000000..580f9bcefa4a
--- /dev/null
+++ b/dev-python/sip/files/digest-sip-4.6
@@ -0,0 +1,3 @@
+MD5 2f57b65de36e85067b3bdf5830315460 sip-4.6.tar.gz 428932
+RMD160 3453108db9d07cdd4ab894f0e9f2f9bf4ba139c8 sip-4.6.tar.gz 428932
+SHA256 d17d5a32e627d9e3230812b33d0d24c67d02d554c1302b0caa8d8559bd4a186c sip-4.6.tar.gz 428932
diff --git a/dev-python/sip/sip-4.6.ebuild b/dev-python/sip/sip-4.6.ebuild
new file mode 100644
index 000000000000..a32b3c6d0c7c
--- /dev/null
+++ b/dev-python/sip/sip-4.6.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.6.ebuild,v 1.1 2007/05/10 15:29:20 caleb Exp $
+
+NEED_PYTHON=2.3
+
+inherit python toolchain-funcs versionator
+
+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 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND=""
+RDEPEND=""
+
+src_compile(){
+ python_version
+
+ local myconf
+ use debug && myconf="${myconf} -u"
+
+ python configure.py \
+ -b "${ROOT}usr/bin" \
+ -d "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages" \
+ -e "${ROOT}usr/include/python${PYVER}" \
+ -v "${ROOT}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
+}