commit:     0b24382d47b7a5e24a594896bd37baac6d53b6ff
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 10 18:18:43 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 10 18:19:26 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0b24382d

dev-python/ufl: Chop DESCRIPTION to 80 chars

* Bump EAPI to 6
* Use optfeaure() for optional runtime deps

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/ufl/metadata.xml     |  3 ---
 dev-python/ufl/ufl-1.4.0.ebuild | 19 ++++++++++---------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/dev-python/ufl/metadata.xml b/dev-python/ufl/metadata.xml
index 7505450..af0327c 100644
--- a/dev-python/ufl/metadata.xml
+++ b/dev-python/ufl/metadata.xml
@@ -12,9 +12,6 @@
                spaces and defining expressions for weak forms in a notation 
close to
                mathematical notation.
        </longdescription>
-       <use>
-               <flag name="scipy">Adds support for evaluating Bessel functions 
using <pkg>dev-python/scipy</pkg></flag>
-       </use>
        <upstream>
                <remote-id type="bitbucket">fenics-project/ufl</remote-id>
                <remote-id type="launchpad">ufl</remote-id>

diff --git a/dev-python/ufl/ufl-1.4.0.ebuild b/dev-python/ufl/ufl-1.4.0.ebuild
index b31a526..df8a50c 100644
--- a/dev-python/ufl/ufl-1.4.0.ebuild
+++ b/dev-python/ufl/ufl-1.4.0.ebuild
@@ -1,23 +1,24 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit distutils-r1
+inherit distutils-r1 eutils
 
-DESCRIPTION="Domain specific language for declaration of FE discretizations of 
variational forms"
+DESCRIPTION="Unified Form Language for declaration of for FE discretizations"
 HOMEPAGE="https://bitbucket.org/fenics-project/ufl/";
 SRC_URI="https://bitbucket.org/fenics-project/ufl/downloads/${P}.tar.gz";
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="scipy"
+IUSE=""
 
-RDEPEND="
-       dev-python/numpy[${PYTHON_USEDEP}]
-       scipy? ( sci-libs/scipy[${PYTHON_USEDEP}] )
-       "
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+
+pkg_postinst() {
+       optfeature "Support for evaluating Bessel functions" sci-libs/scipy
+}

Reply via email to