summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-12-26 19:48:04 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-12-26 19:48:04 +0000
commitf407a744a0d8423f2ecbfe2dde816eed9be71b2a (patch)
tree1ca84283fb79f893002b87a280fc297948fb846f /dev-python/sip
parentFix digest. (diff)
downloadhistorical-f407a744a0d8423f2ecbfe2dde816eed9be71b2a.tar.gz
historical-f407a744a0d8423f2ecbfe2dde816eed9be71b2a.tar.bz2
historical-f407a744a0d8423f2ecbfe2dde816eed9be71b2a.zip
Fixed bug #155754. Corrected dependencies.
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'dev-python/sip')
-rw-r--r--dev-python/sip/ChangeLog8
-rw-r--r--dev-python/sip/files/digest-sip-4.5.2-r13
-rw-r--r--dev-python/sip/sip-4.5.2-r1.ebuild57
3 files changed, 67 insertions, 1 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog
index f8d2f8b9f579..d401b46a9bcc 100644
--- a/dev-python/sip/ChangeLog
+++ b/dev-python/sip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/sip
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.85 2006/12/20 14:28:50 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.86 2006/12/26 19:48:04 dev-zero Exp $
+
+*sip-4.5.2-r1 (23 Dec 2006)
+
+ 23 Dec 2006; Tiziano Müller <dev-zero@gentoo.org> -sip-4.5.2.ebuild,
+ +sip-4.5.2-r1.ebuild:
+ Fixed bug #155754. Corrected dependencies.
*sip-4.5.2 (20 Dec 2006)
diff --git a/dev-python/sip/files/digest-sip-4.5.2-r1 b/dev-python/sip/files/digest-sip-4.5.2-r1
new file mode 100644
index 000000000000..60d1e3f5b81b
--- /dev/null
+++ b/dev-python/sip/files/digest-sip-4.5.2-r1
@@ -0,0 +1,3 @@
+MD5 0fdb0cbdcbbe158009196437711eb8bd sip-4.5.2.tar.gz 417298
+RMD160 82efbb024e5a5be222173ca8c0e2629e7b909258 sip-4.5.2.tar.gz 417298
+SHA256 4344f50a3cedb83859c9015e71880ddd58be0c689de895e0e05546531923ee36 sip-4.5.2.tar.gz 417298
diff --git a/dev-python/sip/sip-4.5.2-r1.ebuild b/dev-python/sip/sip-4.5.2-r1.ebuild
new file mode 100644
index 000000000000..85519ad2fa04
--- /dev/null
+++ b/dev-python/sip/sip-4.5.2-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.5.2-r1.ebuild,v 1.1 2006/12/26 19:48:04 dev-zero 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
+}