aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-06-14 13:18:20 +0200
committerJustin Lecher <jlec@gentoo.org>2013-06-14 13:18:20 +0200
commit8a2827bf30ba84e51d0d858ca74fe50614a25c05 (patch)
treea249009205e62d1e53b44d9d036f8ea813d3394a /sci-physics/espresso++
parentsci-visualization/gnuplot: Drop KEYWORDS of live ebuilds (diff)
downloadsci-8a2827bf30ba84e51d0d858ca74fe50614a25c05.tar.gz
sci-8a2827bf30ba84e51d0d858ca74fe50614a25c05.tar.bz2
sci-8a2827bf30ba84e51d0d858ca74fe50614a25c05.zip
sci-physics/espresso++: Bump to EAPI=5 and drop KEYWORDS of live ebuilds; bump to new python eclasses
Package-Manager: portage-2.2.0_alpha179
Diffstat (limited to 'sci-physics/espresso++')
-rw-r--r--sci-physics/espresso++/ChangeLog4
-rw-r--r--sci-physics/espresso++/espresso++-9999.ebuild22
-rw-r--r--sci-physics/espresso++/metadata.xml16
3 files changed, 20 insertions, 22 deletions
diff --git a/sci-physics/espresso++/ChangeLog b/sci-physics/espresso++/ChangeLog
index ce08d35a4..2ae6bac41 100644
--- a/sci-physics/espresso++/ChangeLog
+++ b/sci-physics/espresso++/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 14 Jun 2013; Justin Lecher <jlec@gentoo.org> espresso++-9999.ebuild,
+ metadata.xml:
+ Bump to EAPI=5 and drop KEYWORDS of live ebuilds; bump to new python eclasses
+
26 Jan 2013; Christoph Junghans <ottxor@gentoo.org> espresso++-9999.ebuild:
sync with gx86
diff --git a/sci-physics/espresso++/espresso++-9999.ebuild b/sci-physics/espresso++/espresso++-9999.ebuild
index e7ae60783..5ba22a2d5 100644
--- a/sci-physics/espresso++/espresso++-9999.ebuild
+++ b/sci-physics/espresso++/espresso++-9999.ebuild
@@ -4,9 +4,9 @@
EAPI=5
-PYTHON_DEPEND="2:2.6"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit cmake-utils python
+inherit cmake-utils python-single-r1
DESCRIPTION="extensible, flexible, fast and parallel simulation software for soft matter research"
HOMEPAGE="https://www.espresso-pp.de"
@@ -24,25 +24,19 @@ CMAKE_REMOVE_MODULES_LIST="FindBoost"
LICENSE="GPL-3 !system-boost? ( Boost-1.0 )"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
+KEYWORDS=""
IUSE="-system-boost"
-RDEPEND="
- system-boost? ( dev-libs/boost[python,mpi] )
- virtual/mpi
- "
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RDEPEND="${PYTHON_DEPS}
+ virtual/mpi
+ system-boost? ( dev-libs/boost[python,mpi,${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS NEWS README )
-pkg_setup() {
- python_set_active_version 2
-}
-
src_configure() {
- mycmakeargs=(
- $(cmake-utils_use system-boost EXTERNAL_BOOST)
- )
+ mycmakeargs=( $(cmake-utils_use system-boost EXTERNAL_BOOST) )
cmake-utils_src_configure
}
diff --git a/sci-physics/espresso++/metadata.xml b/sci-physics/espresso++/metadata.xml
index 14341e73e..2d6dc5360 100644
--- a/sci-physics/espresso++/metadata.xml
+++ b/sci-physics/espresso++/metadata.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-physics</herd>
- <maintainer>
- <email>ottxor@gentoo.org</email>
- <name>Christoph Junghans</name>
- </maintainer>
- <use>
- <flag name='system-boost'>Use system boost (<pkg>dev-libs/boost</pkg>) instead of bundled one</flag>
- </use>
+ <herd>sci-physics</herd>
+ <maintainer>
+ <email>ottxor@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <use>
+ <flag name="system-boost">Use system boost (<pkg>dev-libs/boost</pkg>) instead of bundled one</flag>
+ </use>
</pkgmetadata>