From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B00E7138200 for ; Thu, 6 Jun 2013 05:07:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39EB3E093A; Thu, 6 Jun 2013 05:07:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 924C4E0932 for ; Thu, 6 Jun 2013 05:07:47 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D61633E0CB for ; Thu, 6 Jun 2013 05:07:46 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2304) id 156C22171D; Thu, 6 Jun 2013 05:07:45 +0000 (UTC) From: "Mike Gilbert (floppym)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, floppym@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-python/cgkit: cgkit-2.0.0.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: cgkit-2.0.0.ebuild ChangeLog X-VCS-Directories: dev-python/cgkit X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130606050745.156C22171D@flycatcher.gentoo.org> Date: Thu, 6 Jun 2013 05:07:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 915ceecb-78b8-4e70-bd78-ef263c266e7b X-Archives-Hash: ffcb1b6f946fb2b5af6d90c4d1ba08ff floppym 13/06/06 05:07:45 Modified: ChangeLog Added: cgkit-2.0.0.ebuild Log: Version bump. Convert to distutils-r1. Enable python3. (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) Revision Changes Path 1.39 dev-python/cgkit/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cgkit/ChangeLog?rev=1.39&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cgkit/ChangeLog?rev=1.39&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cgkit/ChangeLog?r1=1.38&r2=1.39 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/cgkit/ChangeLog,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- ChangeLog 5 Jun 2013 23:49:38 -0000 1.38 +++ ChangeLog 6 Jun 2013 05:07:44 -0000 1.39 @@ -1,6 +1,12 @@ # ChangeLog for dev-python/cgkit # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cgkit/ChangeLog,v 1.38 2013/06/05 23:49:38 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cgkit/ChangeLog,v 1.39 2013/06/06 05:07:44 floppym Exp $ + +*cgkit-2.0.0 (06 Jun 2013) + + 06 Jun 2013; Mike Gilbert +cgkit-2.0.0.ebuild, + +files/cgkit-py2k-pillow.patch, +files/cgkit-py3k-pillow.patch: + Version bump. Convert to distutils-r1. Enable python3. 05 Jun 2013; Mike Gilbert metadata.xml: Fix encoding. 1.1 dev-python/cgkit/cgkit-2.0.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cgkit/cgkit-2.0.0.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cgkit/cgkit-2.0.0.ebuild?rev=1.1&content-type=text/plain Index: cgkit-2.0.0.ebuild =================================================================== # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/cgkit/cgkit-2.0.0.ebuild,v 1.1 2013/06/06 05:07:44 floppym Exp $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) inherit distutils-r1 eutils scons-utils toolchain-funcs MY_P="${P/_/}" DESCRIPTION="Python library for creating 3D images" HOMEPAGE="http://cgkit.sourceforge.net" SRC_URI="$(python_gen_cond_dep mirror://sourceforge/${PN}/${PN}/${P}/${P}-py2k.tar.gz 'python2*') $(python_gen_cond_dep mirror://sourceforge/${PN}/${PN}/${P}/${P}-py3k.tar.gz 'python3*')" LICENSE="LGPL-2.1 MPL-1.1 GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="3ds" PY2_USEDEP=$(python_gen_usedep 'python2*') RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] $(python_gen_cond_dep dev-python/pyprotocols[${PY2_USEDEP}] 'python2*') dev-python/pyopengl[${PYTHON_USEDEP}] dev-python/pygame[${PYTHON_USEDEP}] virtual/python-imaging[${PYTHON_USEDEP}] 3ds? ( media-libs/lib3ds )" DEPEND="${RDEPEND} dev-util/scons" DISTUTILS_IN_SOURCE_BUILD=1 cgkit_unpack() { local tarball if [[ ${EPYTHON} == python3* ]]; then tarball=${P}-py3k.tar.gz else tarball=${P}-py2k.tar.gz fi mkdir "${BUILD_DIR}" || die tar -C "${BUILD_DIR}" -x --strip-components 1 -f "${DISTDIR}/${tarball}" || die } src_unpack() { python_parallel_foreach_impl cgkit_unpack mkdir "${S}" || die } python_prepare_all() { return 0 } python_prepare() { if [[ ${EPYTHON} == python3* ]]; then epatch "${FILESDIR}/${PN}-py3k-pillow.patch" else epatch "${FILESDIR}/${PN}-py2k-pillow.patch" fi [[ ${PATCHES} ]] && epatch "${PATCHES[@]}" sed -e "s/fPIC/fPIC\",\"${CFLAGS// /\",\"}/" -i supportlib/SConstruct cp config_template.cfg config.cfg echo "BOOST_LIB = 'boost_python-${EPYTHON#python}'" >> config.cfg echo "LIBS += ['GL', 'GLU', 'glut']" >> config.cfg if use 3ds; then echo "LIB3DS_AVAILABLE = True" >> config.cfg fi sed -e "s:INC_DIRS = \[\]:INC_DIRS = \['/usr/include'\]:" -i setup.py # Remove invalid test rm -f unittests/test_pointcloud.py || die } python_compile() { pushd supportlib > /dev/null || die escons popd > /dev/null || die distutils-r1_python_compile } python_test() { pushd unittests > /dev/null || die mkdir tmp || die "${PYTHON}" all.py || die "Testing failed with ${EPYTHON}" popd > /dev/null || die }