public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/sip: sip-4.14.6.ebuild ChangeLog
@ 2013-04-23  3:33 Patrick Lauer (patrick)
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Lauer (patrick) @ 2013-04-23  3:33 UTC (permalink / raw
  To: gentoo-commits

patrick     13/04/23 03:33:30

  Modified:             ChangeLog
  Added:                sip-4.14.6.ebuild
  Log:
  Bump
  
  (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.252                dev-python/sip/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.252&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.252&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?r1=1.251&r2=1.252

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -r1.251 -r1.252
--- ChangeLog	7 Apr 2013 10:59:01 -0000	1.251
+++ ChangeLog	23 Apr 2013 03:33:30 -0000	1.252
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/sip
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.251 2013/04/07 10:59:01 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.252 2013/04/23 03:33:30 patrick Exp $
+
+*sip-4.14.6 (23 Apr 2013)
+
+  23 Apr 2013; Patrick Lauer <patrick@gentoo.org> +sip-4.14.6.ebuild:
+  Bump
 
 *sip-4.14.5 (07 Apr 2013)
 



1.1                  dev-python/sip/sip-4.14.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild?rev=1.1&content-type=text/plain

Index: sip-4.14.6.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild,v 1.1 2013/04/23 03:33:30 patrick Exp $

EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )

inherit eutils python-r1 toolchain-funcs

DESCRIPTION="Python extension module generator for C and C++ libraries"
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
LICENSE="|| ( GPL-2 GPL-3 sip )"

if [[ ${PV} == *9999* ]]; then
	# live version from mercurial repo
	EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip"
	inherit mercurial
elif [[ ${PV} == *_pre* ]]; then
	# development snapshot
	HG_REVISION=
	MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION}
	SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
	S=${WORKDIR}/${MY_P}
else
	# official release
	SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
fi

# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
SLOT="0/9"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="debug doc"

DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}"

[[ ${PV} == *9999* ]] && DEPEND+="
	=dev-lang/python-2*
	sys-devel/bison
	sys-devel/flex
	doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )
"

src_prepare() {
	epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch

	if [[ ${PV} == *9999* ]]; then
		python2 build.py prepare || die
		if use doc; then
			python2 build.py doc || die
		fi
	fi

	# Sub-slot sanity check
	local sub_slot=${SLOT#*/}
	local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
	if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
		eerror
		eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
		eerror "Please update SLOT variable as follows:"
		eerror "    SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
		eerror
		die "sub-slot sanity check failed"
	fi

	python_copy_sources
}

src_configure() {
	configuration() {
		local myconf=(
			"${PYTHON}" configure.py
			--bindir="${EPREFIX}/usr/bin"
			--destdir="$(python_get_sitedir)"
			--incdir="$(python_get_includedir)"
			--sipdir="${EPREFIX}/usr/share/sip"
			$(use debug && echo --debug)
			AR="$(tc-getAR) cqs"
			CC="$(tc-getCC)"
			CFLAGS="${CFLAGS}"
			CFLAGS_RELEASE=
			CXX="$(tc-getCXX)"
			CXXFLAGS="${CXXFLAGS}"
			CXXFLAGS_RELEASE=
			LINK="$(tc-getCXX)"
			LINK_SHLIB="$(tc-getCXX)"
			LFLAGS="${LDFLAGS}"
			LFLAGS_RELEASE=
			RANLIB=
			STRIP=
		)
		echo "${myconf[@]}"
		"${myconf[@]}"
	}
	python_foreach_impl run_in_build_dir configuration
}

src_compile() {
	python_foreach_impl run_in_build_dir default
}

src_install() {
	installation() {
		emake DESTDIR="${D}" install
		python_optimize
	}
	python_foreach_impl run_in_build_dir installation

	dodoc NEWS
	use doc && dohtml -r doc/html/*
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/sip: sip-4.14.6.ebuild ChangeLog
@ 2013-06-24  7:49 Davide Pesavento (pesa)
  0 siblings, 0 replies; 2+ messages in thread
From: Davide Pesavento (pesa) @ 2013-06-24  7:49 UTC (permalink / raw
  To: gentoo-commits

pesa        13/06/24 07:49:10

  Modified:             sip-4.14.6.ebuild ChangeLog
  Log:
  Add PYTHON_REQUIRED_USE.
  
  (Portage version: 2.2.0_alpha184/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)

Revision  Changes    Path
1.2                  dev-python/sip/sip-4.14.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild?r1=1.1&r2=1.2

Index: sip-4.14.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sip-4.14.6.ebuild	23 Apr 2013 03:33:30 -0000	1.1
+++ sip-4.14.6.ebuild	24 Jun 2013 07:49:10 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild,v 1.1 2013/04/23 03:33:30 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.6.ebuild,v 1.2 2013/06/24 07:49:10 pesa Exp $
 
 EAPI=5
 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
@@ -41,6 +41,8 @@
 	doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )
 "
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch
 



1.254                dev-python/sip/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.254&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.254&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?r1=1.253&r2=1.254

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -r1.253 -r1.254
--- ChangeLog	4 May 2013 11:09:15 -0000	1.253
+++ ChangeLog	24 Jun 2013 07:49:10 -0000	1.254
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/sip
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.253 2013/05/04 11:09:15 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.254 2013/06/24 07:49:10 pesa Exp $
+
+  24 Jun 2013; Davide Pesavento <pesa@gentoo.org> sip-4.14.6.ebuild:
+  Add PYTHON_REQUIRED_USE.
 
   04 May 2013; Markos Chandras <hwoarang@gentoo.org> -sip-4.13.3.ebuild,
   -sip-4.14.5.ebuild:





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-24  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-23  3:33 [gentoo-commits] gentoo-x86 commit in dev-python/sip: sip-4.14.6.ebuild ChangeLog Patrick Lauer (patrick)
  -- strict thread matches above, loose matches on Subject: below --
2013-06-24  7:49 Davide Pesavento (pesa)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox