summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-14 17:24:12 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-14 17:24:12 +0000
commitf5b27d638dbb7f3a4ed8e22dd3c9b649a63ba826 (patch)
tree43798bfe26b6f1fdf2644d203b9cd82bd71b968d /dev-python/sip
parentStable on ppc64; bug #221063 (diff)
downloadgentoo-2-f5b27d638dbb7f3a4ed8e22dd3c9b649a63ba826.tar.gz
gentoo-2-f5b27d638dbb7f3a4ed8e22dd3c9b649a63ba826.tar.bz2
gentoo-2-f5b27d638dbb7f3a4ed8e22dd3c9b649a63ba826.zip
Version bump. Change SRC_URI of old ebuilds to mirror://gentoo because upstream doesn't have them anymore.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'dev-python/sip')
-rw-r--r--dev-python/sip/ChangeLog9
-rw-r--r--dev-python/sip/sip-4.6.ebuild4
-rw-r--r--dev-python/sip/sip-4.7.1.ebuild4
-rw-r--r--dev-python/sip/sip-4.7.3.ebuild4
-rw-r--r--dev-python/sip/sip-4.7.5.ebuild57
5 files changed, 71 insertions, 7 deletions
diff --git a/dev-python/sip/ChangeLog b/dev-python/sip/ChangeLog
index d7e5fea16d4a..b55f911d68da 100644
--- a/dev-python/sip/ChangeLog
+++ b/dev-python/sip/ChangeLog
@@ -1,6 +1,13 @@
# 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.116 2008/04/07 16:00:17 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.117 2008/05/14 17:24:12 hawking Exp $
+
+*sip-4.7.5 (14 May 2008)
+
+ 14 May 2008; Ali Polatel <hawking@gentoo.org> sip-4.6.ebuild,
+ sip-4.7.1.ebuild, sip-4.7.3.ebuild, +sip-4.7.5.ebuild:
+ Version bump. Change SRC_URI of old ebuilds to mirror://gentoo because
+ upstream doesn't have them anymore.
07 Apr 2008; Ingmar Vanhassel <ingmar@gentoo.org> sip-4.6.ebuild,
sip-4.7.1.ebuild, sip-4.7.3.ebuild:
diff --git a/dev-python/sip/sip-4.6.ebuild b/dev-python/sip/sip-4.6.ebuild
index f2330d81341e..8c9ff1ffa6c3 100644
--- a/dev-python/sip/sip-4.6.ebuild
+++ b/dev-python/sip/sip-4.6.ebuild
@@ -1,6 +1,6 @@
# 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.6.ebuild,v 1.4 2008/04/07 16:00:17 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.6.ebuild,v 1.5 2008/05/14 17:24:12 hawking Exp $
NEED_PYTHON=2.3
@@ -10,7 +10,7 @@ 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"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="sip"
SLOT="0"
diff --git a/dev-python/sip/sip-4.7.1.ebuild b/dev-python/sip/sip-4.7.1.ebuild
index 8dce8b19f5fa..fe98be458504 100644
--- a/dev-python/sip/sip-4.7.1.ebuild
+++ b/dev-python/sip/sip-4.7.1.ebuild
@@ -1,6 +1,6 @@
# 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.1.ebuild,v 1.7 2008/04/07 16:00:17 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.7.1.ebuild,v 1.8 2008/05/14 17:24:12 hawking Exp $
NEED_PYTHON=2.3
@@ -10,7 +10,7 @@ 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"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="sip"
SLOT="0"
diff --git a/dev-python/sip/sip-4.7.3.ebuild b/dev-python/sip/sip-4.7.3.ebuild
index 4c6ce6d2d7e1..35d6b3648fe3 100644
--- a/dev-python/sip/sip-4.7.3.ebuild
+++ b/dev-python/sip/sip-4.7.3.ebuild
@@ -1,6 +1,6 @@
# 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.3.ebuild,v 1.8 2008/04/07 16:00:17 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.7.3.ebuild,v 1.9 2008/05/14 17:24:12 hawking Exp $
NEED_PYTHON=2.3
@@ -10,7 +10,7 @@ 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"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="sip"
SLOT="0"
diff --git a/dev-python/sip/sip-4.7.5.ebuild b/dev-python/sip/sip-4.7.5.ebuild
new file mode 100644
index 000000000000..af0973c800be
--- /dev/null
+++ b/dev-python/sip/sip-4.7.5.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.5.ebuild,v 1.1 2008/05/14 17:24:12 hawking 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/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
+}