diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-01-06 09:50:11 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-01-06 09:50:11 +0000 |
commit | 4ee19805225dc44fce962e7aac98a43ca47891f8 (patch) | |
tree | 474f765b3fb7f0a98d4947cd6a5b689148298fa1 | |
parent | Stable for ppc, wrt bug #497092 (diff) | |
download | gentoo-2-4ee19805225dc44fce962e7aac98a43ca47891f8.tar.gz gentoo-2-4ee19805225dc44fce962e7aac98a43ca47891f8.tar.bz2 gentoo-2-4ee19805225dc44fce962e7aac98a43ca47891f8.zip |
sci-chemistry/avogadro: Punt base.eclass; bump to python-single-r1.eclass
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
-rw-r--r-- | sci-chemistry/avogadro/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/avogadro/avogadro-1.0.3-r2.ebuild (renamed from sci-chemistry/avogadro/avogadro-1.0.3-r1.ebuild) | 29 | ||||
-rw-r--r-- | sci-chemistry/avogadro/avogadro-1.1.0.ebuild | 41 |
3 files changed, 40 insertions, 40 deletions
diff --git a/sci-chemistry/avogadro/ChangeLog b/sci-chemistry/avogadro/ChangeLog index fe46703c3c2f..1084eb2da0fa 100644 --- a/sci-chemistry/avogadro/ChangeLog +++ b/sci-chemistry/avogadro/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/avogadro -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/ChangeLog,v 1.47 2013/03/02 23:17:15 hwoarang Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/ChangeLog,v 1.48 2014/01/06 09:50:11 jlec Exp $ + +*avogadro-1.0.3-r2 (06 Jan 2014) + + 06 Jan 2014; Justin Lecher <jlec@gentoo.org> -avogadro-1.0.3-r1.ebuild, + +avogadro-1.0.3-r2.ebuild, avogadro-1.1.0.ebuild: + Punt base.eclass; bump to python-single-r1.eclass 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> avogadro-1.0.3-r1.ebuild, avogadro-1.1.0.ebuild: diff --git a/sci-chemistry/avogadro/avogadro-1.0.3-r1.ebuild b/sci-chemistry/avogadro/avogadro-1.0.3-r2.ebuild index e6c166275ffa..e91f073e876f 100644 --- a/sci-chemistry/avogadro/avogadro-1.0.3-r1.ebuild +++ b/sci-chemistry/avogadro/avogadro-1.0.3-r2.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-1.0.3-r1.ebuild,v 1.5 2013/03/02 23:17:15 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-1.0.3-r2.ebuild,v 1.1 2014/01/06 09:50:11 jlec Exp $ -EAPI=3 +EAPI=5 -PYTHON_DEPEND="python? 2:2.5" +PYTHON_COMPAT=( python{2_6,2_7} ) -inherit base cmake-utils eutils python +inherit cmake-utils eutils python-single-r1 DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL" HOMEPAGE="http://avogadro.openmolecules.net/" @@ -24,10 +24,9 @@ RDEPEND=" x11-libs/gl2ps glsl? ( >=media-libs/glew-1.5.0 ) python? ( - >=dev-libs/boost-1.35 - >=dev-libs/boost-1.35.0-r5[python] - dev-python/numpy - dev-python/sip + >=dev-libs/boost-1.35.0-r5[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/sip[${PYTHON_USEDEP}] )" DEPEND="${RDEPEND} dev-cpp/eigen:2" @@ -37,16 +36,16 @@ PATCHES=( ) pkg_setup() { - python_set_active_version 2 + use python && python-single-r1_pkg_setup } src_configure() { local mycmakeargs=( - "-DENABLE_THREADGL=FALSE" - "-DENABLE_RPATH=OFF" - "-DENABLE_UPDATE_CHECKER=OFF" - "-DQT_MKSPECS_DIR=${EPREFIX}/usr/share/qt4/mkspecs" - "-DQT_MKSPECS_RELATIVE=share/qt4/mkspecs" + -DENABLE_THREADGL=OFF + -DENABLE_RPATH=OFF + -DENABLE_UPDATE_CHECKER=OFF + -DQT_MKSPECS_DIR="${EPREFIX}/usr/share/qt4/mkspecs" + -DQT_MKSPECS_RELATIVE=share/qt4/mkspecs $(cmake-utils_use_enable glsl) $(cmake-utils_use_with sse2 SSE2) $(cmake-utils_use_enable python) diff --git a/sci-chemistry/avogadro/avogadro-1.1.0.ebuild b/sci-chemistry/avogadro/avogadro-1.1.0.ebuild index dc6d301de709..9556bc7fdf8f 100644 --- a/sci-chemistry/avogadro/avogadro-1.1.0.ebuild +++ b/sci-chemistry/avogadro/avogadro-1.1.0.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-1.1.0.ebuild,v 1.3 2013/03/02 23:17:15 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-1.1.0.ebuild,v 1.4 2014/01/06 09:50:11 jlec Exp $ EAPI=5 -PYTHON_DEPEND="python? 2:2.5" +PYTHON_COMPAT=( python{2_6,2_7} ) -inherit cmake-utils eutils python +inherit cmake-utils eutils python-single-r1 DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL" HOMEPAGE="http://avogadro.openmolecules.net/" @@ -24,32 +24,31 @@ RDEPEND=" x11-libs/gl2ps glsl? ( >=media-libs/glew-1.5.0 ) python? ( - >=dev-libs/boost-1.35.0-r5[python] - dev-python/numpy - dev-python/sip + >=dev-libs/boost-1.35.0-r5[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/sip[${PYTHON_USEDEP}] )" DEPEND="${RDEPEND} - dev-cpp/eigen:2 - dev-util/cmake" + dev-cpp/eigen:2" # https://sourceforge.net/p/avogadro/bugs/653/ RESTRICT="test" -pkg_setup() { - python_set_active_version 2 -} +PATCHES=( + "${FILESDIR}"/${P}-textrel.patch +) -src_prepare() { - epatch "${FILESDIR}"/${P}-textrel.patch +pkg_setup() { + use python && python-single-r1_pkg_setup } src_configure() { local mycmakeargs=( - "-DENABLE_THREADGL=OFF" - "-DENABLE_RPATH=OFF" - "-DENABLE_UPDATE_CHECKER=OFF" - "-DQT_MKSPECS_DIR=${EPREFIX}/usr/share/qt4/mkspecs" - "-DQT_MKSPECS_RELATIVE=share/qt4/mkspecs" + -DENABLE_THREADGL=OFF + -DENABLE_RPATH=OFF + -DENABLE_UPDATE_CHECKER=OFF + -DQT_MKSPECS_DIR="${EPREFIX}/usr/share/qt4/mkspecs" + -DQT_MKSPECS_RELATIVE=share/qt4/mkspecs $(cmake-utils_use_enable glsl) $(cmake-utils_use_enable test TESTS) $(cmake-utils_use_with sse2 SSE2) @@ -58,7 +57,3 @@ src_configure() { cmake-utils_src_configure } - -src_test() { - cmake-utils_src_test -} |