From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1Sn1YM-0007mV-Bn for garchives@archives.gentoo.org; Fri, 06 Jul 2012 05:58:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55FBDE0102; Fri, 6 Jul 2012 05:57:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 13D93E0102 for ; Fri, 6 Jul 2012 05:57:55 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26ED51B4012 for ; Fri, 6 Jul 2012 05:57:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E3F28E5436 for ; Fri, 6 Jul 2012 05:57:53 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1341554415.f8c334e580e84128cfde911e228169d1d9b83676.hwoarang@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: dev-python/sip/ X-VCS-Repository: proj/qt X-VCS-Files: dev-python/sip/Manifest dev-python/sip/sip-4.13.4_pre20120706.ebuild X-VCS-Directories: dev-python/sip/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: f8c334e580e84128cfde911e228169d1d9b83676 X-VCS-Branch: master Date: Fri, 6 Jul 2012 05:57:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a590634f-9480-4784-8dd8-6382b7826c2f X-Archives-Hash: e88914c5c3bf0c90d367e492789115a8 commit: f8c334e580e84128cfde911e228169d1d9b83676 Author: Markos Chandras gentoo org> AuthorDate: Fri Jul 6 06:00:15 2012 +0000 Commit: Markos Chandras gentoo org> CommitDate: Fri Jul 6 06:00:15 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/qt.git;a=3Dco= mmit;h=3Df8c334e5 PyQt4/sip: Automated version bump, remove old --- dev-python/sip/Manifest | 2 +- dev-python/sip/sip-4.13.4_pre20120706.ebuild | 95 ++++++++++++++++++++= ++++++ 2 files changed, 96 insertions(+), 1 deletions(-) diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest index 79efc85..0091b1e 100644 --- a/dev-python/sip/Manifest +++ b/dev-python/sip/Manifest @@ -1 +1 @@ -DIST sip-4.13.3-snapshot-377e9e4763f5.tar.gz 730272 SHA256 cc1b00a0d982f= 488d824252dfaca77c2f6c34d037e44177d41da16435fe75d92 SHA512 13f0db372b7345= 820154ce368922707ae167aadaa1af63cea841abc7817fda9685c727d87575813b3a7bce0= bf3204dde9776569a99abe7a254721316fae710b1 WHIRLPOOL e46f14c7a734c3c88c191= 66fd94e9a63f5a6f20d2569a4540621ff5f382aaad17cba1a5fd04ad31908aae0230382ae= 3188a0c6da4816db40c14cd9ac3bdbbaeb +DIST sip-4.13.4-snapshot-9b330b545c65.tar.gz 731370 SHA256 bfeed7c778e3f= 9ea595d1d1fa5446aa86042df687d8076d4a5ed23862ff81e67 SHA512 334d4600468c4d= 0b67af5f6101c324a08d81013f93c5e5dc98e16a3267dac267287c7e291da7b1c64c2417a= d75ee14c711d336ec13a0b704c093f1ac5ede4f45 WHIRLPOOL be165a106c2205775be4e= b9a6aea2c169f1ee144a00f79cddc23bcb96916e42d103f09c8882ab83eb6bc868d5787bd= 7febda69825802e7954c86e2ba4cabf8e9 diff --git a/dev-python/sip/sip-4.13.4_pre20120706.ebuild b/dev-python/si= p/sip-4.13.4_pre20120706.ebuild new file mode 100644 index 0000000..8fc773c --- /dev/null +++ b/dev-python/sip/sip-4.13.4_pre20120706.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D"4" +PYTHON_DEPEND=3D"*" +PYTHON_EXPORT_PHASE_FUNCTIONS=3D"1" +SUPPORT_PYTHON_ABIS=3D"1" +RESTRICT_PYTHON_ABIS=3D"*-jython 2.7-pypy-*" + +EHG_REPO_URI=3D"http://www.riverbankcomputing.com/hg/sip" +[[ ${PV} =3D=3D *9999* ]] && HG_ECLASS=3D"mercurial" + +inherit eutils python toolchain-funcs ${HG_ECLASS} + +HG_REVISION=3D9b330b545c65 + +DESCRIPTION=3D"Python extension module generator for C and C++ libraries= " +HOMEPAGE=3D"http://www.riverbankcomputing.co.uk/software/sip/intro http:= //pypi.python.org/pypi/SIP" +LICENSE=3D"|| ( GPL-2 GPL-3 sip )" +SLOT=3D"0" +KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-= fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE=3D"debug doc" + +DEPEND=3D"" +RDEPEND=3D"" + +if [[ ${PV} =3D=3D *9999* ]]; then + # live version from mercurial repo + DEPEND=3D"${DEPEND} + sys-devel/bison + sys-devel/flex" + S=3D${WORKDIR}/${PN} +elif [[ ${PV} =3D=3D *_pre* ]]; then + # development snapshot + MY_P=3D${PN}-${PV%_pre*}-snapshot-${HG_REVISION} + SRC_URI=3D"http://www.gentoo-el.org/~hwoarang/distfiles/${MY_P}.tar.gz" + S=3D${WORKDIR}/${MY_P} +fi + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch + sed -i -e 's/-O2//g' specs/* || die + + if [[ ${PV} =3D=3D *9999* ]]; then + $(PYTHON -2) build.py prepare || die + fi + + python_src_prepare +} + +src_configure() { + configuration() { + local myconf=3D("$(PYTHON)" + configure.py + --bindir=3D"${EPREFIX}/usr/bin" + --destdir=3D"${EPREFIX}$(python_get_sitedir)" + --incdir=3D"${EPREFIX}$(python_get_includedir)" + --sipdir=3D"${EPREFIX}/usr/share/sip" + $(use debug && echo --debug) + CC=3D"$(tc-getCC)" + CXX=3D"$(tc-getCXX)" + LINK=3D"$(tc-getCXX)" + LINK_SHLIB=3D"$(tc-getCXX)" + CFLAGS=3D"${CFLAGS}" + CXXFLAGS=3D"${CXXFLAGS}" + LFLAGS=3D"${LDFLAGS}" + STRIP=3D":") + echo "${myconf[@]}" + "${myconf[@]}" + } + python_execute_function -s configuration +} + +src_install() { + python_src_install + + dodoc NEWS + + if use doc; then + dohtml -r doc/html/* + fi +} + +pkg_postinst() { + python_mod_optimize sipconfig.py sipdistutils.py + + ewarn "When updating dev-python/sip, you usually need to rebuild packag= es that depend on it," + ewarn "such as PyQt4, qscintilla-python and pykde4. If you have app-por= tage/gentoolkit" + ewarn "installed, you can find these packages with \`equery d dev-pytho= n/sip\`." +} + +pkg_postrm() { + python_mod_cleanup sipconfig.py sipdistutils.py +}