diff options
author | 2009-06-09 18:50:14 +0000 | |
---|---|---|
committer | 2009-06-09 18:50:14 +0000 | |
commit | 0b27198bc879bd433994788ffd7649bb48a58bfa (patch) | |
tree | 0e6d556ac6862fa0981f223702cd91d0498caa43 /dev-python | |
parent | Add back ~sparc in preparation of Bug #273304 (sqlite-3.6.14.2 good again (diff) | |
download | gentoo-2-0b27198bc879bd433994788ffd7649bb48a58bfa.tar.gz gentoo-2-0b27198bc879bd433994788ffd7649bb48a58bfa.tar.bz2 gentoo-2-0b27198bc879bd433994788ffd7649bb48a58bfa.zip |
Version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sip/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/sip/sip-4.8.ebuild | 60 |
2 files changed, 67 insertions, 2 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog index 37dbc99c0848..2cebc16f4eba 100644 --- a/dev-python/sip/ChangeLog +++ b/dev-python/sip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/sip -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.131 2009/02/18 20:10:12 jer Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.132 2009/06/09 18:50:14 hwoarang Exp $ + +*sip-4.8 (09 Jun 2009) + + 09 Jun 2009; Markos Chandras <hwoarang@gentoo.org> +sip-4.8.ebuild: + Version bump 18 Feb 2009; Jeroen Roovers <jer@gentoo.org> sip-4.7.9.ebuild: Stable for HPPA (bug #248083). diff --git a/dev-python/sip/sip-4.8.ebuild b/dev-python/sip/sip-4.8.ebuild new file mode 100644 index 000000000000..46eb3a54796a --- /dev/null +++ b/dev-python/sip/sip-4.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.8.ebuild,v 1.1 2009/06/09 18:50:14 hwoarang Exp $ + +EAPI="2" +NEED_PYTHON="2.3" + +inherit python toolchain-funcs + +MY_P=${P/_pre/-snapshot-} + +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/${PN}${PV%%.*}/${MY_P}.tar.gz" + +LICENSE="sip" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc" + +S="${WORKDIR}/${MY_P}" + +DEPEND="" +RDEPEND="" + +src_configure() { + python_version + + local myconf="${python} configure.py + --bindir=/usr/bin + --destdir=$(python_get_sitedir) + --incdir=/usr/include/python${PYVER} + --sipdir=/usr/share/sip + $(use debug && echo '--debug') + CC=$(tc-getCC) CXX=$(tc-getCXX) + LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX) + CFLAGS='${CFLAGS}' CXXFLAGS='${CXXFLAGS}' + LFLAGS='${LDFLAGS}' + STRIP=true" + echo ${myconf} + eval ${myconf} || die "configuration failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc ChangeLog NEWS || die + + if use doc; then + dohtml -r doc/html/* || die + fi +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize "$(python_get_sitedir)"/sip*.py +} + +pkg_postrm() { + python_mod_cleanup +} |