diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-05-24 21:55:09 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-05-24 21:55:09 +0000 |
commit | d11a801003f0fa06eb08fc84252b7398eeefe5e0 (patch) | |
tree | 00e9f1b00b8c4151329e909c307927adf80df304 /dev-python/sip | |
parent | Fix DESCRIPTION.toolong (diff) | |
download | gentoo-2-d11a801003f0fa06eb08fc84252b7398eeefe5e0.tar.gz gentoo-2-d11a801003f0fa06eb08fc84252b7398eeefe5e0.tar.bz2 gentoo-2-d11a801003f0fa06eb08fc84252b7398eeefe5e0.zip |
version bump
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-python/sip')
-rw-r--r-- | dev-python/sip/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/sip/sip-4.7.6.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog index b55f911d68da..7459f0cc62c6 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.117 2008/05/14 17:24:12 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.118 2008/05/24 21:55:09 yngwin Exp $ + +*sip-4.7.6 (24 May 2008) + + 24 May 2008; Ben de Groot <yngwin@gentoo.org> +sip-4.7.6.ebuild: + Version bump. Updated homepage URL. *sip-4.7.5 (14 May 2008) diff --git a/dev-python/sip/sip-4.7.6.ebuild b/dev-python/sip/sip-4.7.6.ebuild new file mode 100644 index 000000000000..cf7120e36177 --- /dev/null +++ b/dev-python/sip/sip-4.7.6.ebuild @@ -0,0 +1,57 @@ +# 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.6.ebuild,v 1.1 2008/05/24 21:55:09 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() { + 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 +} |