Skip to content

Commit

Permalink
dev-python/ufl: Chop DESCRIPTION to 80 chars
Browse files Browse the repository at this point in the history
* Bump EAPI to 6
* Use optfeaure() for optional runtime deps

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
  • Loading branch information
jlec committed Feb 10, 2016
1 parent 51cec73 commit 0b24382
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
3 changes: 0 additions & 3 deletions dev-python/ufl/metadata.xml
Expand Up @@ -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>
Expand Down
19 changes: 10 additions & 9 deletions 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
}

0 comments on commit 0b24382

Please sign in to comment.