diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-08-09 11:51:06 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-08-09 11:51:06 +0000 |
commit | 253b615601b611670ea9802c7cbb13e21786e38c (patch) | |
tree | b6771d1967db159a69e1a81c2f837a85ffa40c61 | |
parent | Added dotproject 2.1_rc2 to the tree, removed insecure dotproject-2.0.4. (diff) | |
download | gentoo-2-253b615601b611670ea9802c7cbb13e21786e38c.tar.gz gentoo-2-253b615601b611670ea9802c7cbb13e21786e38c.tar.bz2 gentoo-2-253b615601b611670ea9802c7cbb13e21786e38c.zip |
version bump
(Portage version: 2.1.2.7)
-rw-r--r-- | dev-python/sip/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/sip/files/digest-sip-4.7 | 3 | ||||
-rw-r--r-- | dev-python/sip/sip-4.7.ebuild | 57 |
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog index 7f17096d3b27..e16e662b39e7 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.98 2007/06/24 21:48:17 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.99 2007/08/09 11:51:06 caleb Exp $ + +*sip-4.7 (09 Aug 2007) + + 09 Aug 2007; Caleb Tennis <caleb@gentoo.org> +sip-4.7.ebuild: + Version bump 24 Jun 2007; Tiziano Müller <dev-zero@gentoo.org> sip-4.2.1.ebuild, sip-4.2.1-r1.ebuild, sip-4.3.2.ebuild, sip-4.5.2-r1.ebuild, diff --git a/dev-python/sip/files/digest-sip-4.7 b/dev-python/sip/files/digest-sip-4.7 new file mode 100644 index 000000000000..bfdf721be71c --- /dev/null +++ b/dev-python/sip/files/digest-sip-4.7 @@ -0,0 +1,3 @@ +MD5 1403ae2973b8ee4d1a69492b7f6833b8 sip-4.7.tar.gz 439236 +RMD160 b3333f71ade4afb5ef6bdab27644f26c792942f8 sip-4.7.tar.gz 439236 +SHA256 f5da79bac7029a7990fb31f10268a04928f97ecb6be8e844b9c95c2a9423f09b sip-4.7.tar.gz 439236 diff --git a/dev-python/sip/sip-4.7.ebuild b/dev-python/sip/sip-4.7.ebuild new file mode 100644 index 000000000000..d0671900aed1 --- /dev/null +++ b/dev-python/sip/sip-4.7.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.ebuild,v 1.1 2007/08/09 11:51:06 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 ~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 +} |